/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonCopyToCombine.cpp | 96 bool OptForSize); 466 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); in runOnMachineFunction() local 473 if (!OptForSize && ST->isTinyCore()) in runOnMachineFunction() 504 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction() 507 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction() 570 bool DoInsertAtI1, bool OptForSize) { in combine() argument 607 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && in combine()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86PadShortFunction.cpp | 136 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in runOnMachineFunction() local 137 if (OptForSize) in runOnMachineFunction()
|
H A D | X86FixupBWInsts.cpp | 143 bool OptForSize = false; member in __anonb64d73440111::FixupBWInstPass 400 if (!OptForSize) in tryReplaceInstr() 457 OptForSize = MF.getFunction().hasOptSize() || in processBasicBlock()
|
H A D | X86OptimizeLEAs.cpp | 745 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 747 if (OptForSize) in runOnMachineFunction()
|
H A D | X86InstrSSE.td | 215 let Predicates = [UseAVX, OptForSize] in 298 let Predicates = [UseAVX, OptForSize] in { 1320 XD, Requires<[UseSSE2, OptForSize]>, 1370 Requires<[UseAVX, OptForSize]>, SIMD_EXC; 1386 XS, Requires<[UseSSE2, OptForSize]>, 2854 Requires<[target, OptForSize]>; 2884 let Predicates = [target, OptForSize] in { 2898 let Predicates = [target, OptForSize] in { 2943 let Predicates = [target, OptForSize] in { 5660 let Predicates = [UseAVX, OptForSize] in { [all …]
|
H A D | X86InstrCompiler.td | 333 let Predicates = [OptForSize, Not64BitMode], 1719 let AddedComplexity = 1, Predicates=[OptForSize] in {
|
H A D | X86InstrAVX512.td | 4144 let Predicates = !if (!eq (prd, HasFP16), [HasFP16], [prd, OptForSize]) in 4644 let Predicates = [HasAVX512, OptForSize] in { 7993 Requires<[HasAVX512, OptForSize]>; 8004 Requires<[HasFP16, OptForSize]>; 8011 Requires<[HasFP16, OptForSize]>; 9743 let Predicates = [prd, OptForSize] in { 9811 let Predicates = [HasAVX512, OptForSize] in {
|
H A D | X86ISelLowering.cpp | 9817 bool OptForSize = DAG.shouldOptForSize(); in lowerBuildVectorAsBroadcast() local 9825 if (ConstSplatVal && (Subtarget.hasAVX2() || OptForSize)) { in lowerBuildVectorAsBroadcast() 9836 (OptForSize && (ScalarSize == 64 || Subtarget.hasAVX2()))) { in lowerBuildVectorAsBroadcast() 13141 bool OptForSize = DAG.shouldOptForSize(); in lowerShuffleAsBlend() local 13142 if (!OptForSize) { in lowerShuffleAsBlend() 24494 bool OptForSize = DAG.shouldOptForSize(); in LowerAndToBT() local 24495 if ((!isUInt<32>(AndRHSVal) || (OptForSize && !isUInt<8>(AndRHSVal))) && in LowerAndToBT() 31113 bool OptForSize = DAG.shouldOptForSize(); in LowerFunnelShift() local 31114 bool ExpandFunnel = !OptForSize && Subtarget.isSHLDSlow(); in LowerFunnelShift() 38979 bool OptForSize = DAG.shouldOptForSize(); in combineX86ShuffleChain() local [all …]
|
H A D | X86InstrInfo.td | 1042 def OptForSize : Predicate<"shouldOptForSize(MF)">;
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 766 bool OptForSize = CI->getFunction()->hasOptSize() || in expandMemCmp() local 768 auto Options = TTI->enableMemCmpExpansion(OptForSize, in expandMemCmp() 775 if (OptForSize && in expandMemCmp() 779 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences()) in expandMemCmp()
|
H A D | MachineCombiner.cpp | 583 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() local 682 } else if (OptForSize && InsInstrs.size() < DelInstrs.size()) { in combineInstructions()
|
H A D | BranchFolding.cpp | 649 bool OptForSize = in ProfitableToMerge() local 653 return EffectiveTailLen >= 2 && OptForSize && in ProfitableToMerge() 1510 bool OptForSize = in OptimizeBlock() local 1513 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) { in OptimizeBlock()
|
H A D | TargetLoweringBase.cpp | 1652 const bool OptForSize = in isSuitableForJumpTable() local 1655 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable() 1660 return (OptForSize || Range <= MaxJumpTableSize) && in isSuitableForJumpTable() 2006 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity() 2007 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()
|
H A D | TailDuplicator.cpp | 569 bool OptForSize = MF->getFunction().hasOptSize() || in shouldTailDuplicate() local 575 if (OptForSize) in shouldTailDuplicate()
|
H A D | MachineBlockPlacement.cpp | 2153 bool OptForSize = F->getFunction().hasOptSize() || in findBestLoopTop() local 2155 if (OptForSize) in findBestLoopTop() 3398 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 3400 if (OptForSize) in runOnMachineFunction()
|
H A D | CodeGenPrepare.cpp | 5024 bool OptForSize = in FindAllMemoryUses() local 5026 if (!OptForSize) in FindAllMemoryUses()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 220 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || in gatherUnrollingPreferences() local 225 if (OptForSize) { in gatherUnrollingPreferences() 1178 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); in tryToUnrollLoop() local 1192 !OptForSize) in tryToUnrollLoop() 1218 if (OptForSize) in tryToUnrollLoop()
|
H A D | LoopLoadElimination.cpp | 567 bool OptForSize = F->hasOptSize() || in processLoop() local 570 if (OptForSize) { in processLoop()
|
H A D | ConstantHoisting.cpp | 578 bool OptForSize = Entry->getParent()->hasOptSize() || in maximizeConstantsInRange() local 581 if (!OptForSize || std::distance(S,E) > 100) { in maximizeConstantsInRange()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1814 unsigned getMinimumJumpTableDensity(bool OptForSize) const; 2273 bool isBeneficialToExpandPowI(int Exponent, bool OptForSize) const { in isBeneficialToExpandPowI() argument 2276 return !OptForSize || in isBeneficialToExpandPowI() 4076 bool LegalOps, bool OptForSize, 4081 SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, 4086 getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth); 4102 bool LegalOps, bool OptForSize, 4104 return getCheaperOrNeutralNegatedExpression(Op, DAG, LegalOps, OptForSize, 4111 bool OptForSize, unsigned Depth = 0) const { 4113 return getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 454 bool OptForSize = F->hasOptSize() || in isConsecutivePtr() local 457 bool CanAddPredicate = !OptForSize; in isConsecutivePtr()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 6812 OptForSize); in getNegatedExpression() 6841 OptForSize); in getNegatedExpression() 6872 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 6880 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 6928 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 6936 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 6973 getNegatedExpression(Z, DAG, LegalOps, OptForSize, CostZ, Depth); in getNegatedExpression() 6984 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 6992 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 7020 OptForSize, Cost, Depth)) in getNegatedExpression() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2991 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeSPrintFString() local 2994 if (OptForSize) in optimizeSPrintFString() 3305 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeFPuts() local 3308 if (OptForSize) in optimizeFPuts()
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 827 bool OptForSize, NegatibleCost &Cost,
|
H A D | PPCISelLowering.cpp | 17080 bool LegalOps, bool OptForSize, in getNegatedExpression() argument 17103 getNegatedExpression(N2, DAG, LegalOps, OptForSize, N2Cost, Depth + 1); in getNegatedExpression() 17115 SDValue NegN0 = getNegatedExpression(N0, DAG, LegalOps, OptForSize, in getNegatedExpression() 17119 SDValue NegN1 = getNegatedExpression(N1, DAG, LegalOps, OptForSize, in getNegatedExpression() 17140 return TargetLowering::getNegatedExpression(Op, DAG, LegalOps, OptForSize, in getNegatedExpression()
|