/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCopyToCombine.cpp | 96 bool OptForSize); 467 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); in runOnMachineFunction() local 474 if (!OptForSize && ST->isTinyCore()) in runOnMachineFunction() 505 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction() 508 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction() 571 bool DoInsertAtI1, bool OptForSize) { in combine() argument 608 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && in combine()
|
/freebsd/contrib/llvm-project/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 | 139 bool OptForSize = false; member in __anon46e815f70111::FixupBWInstPass 389 if (!OptForSize) in tryReplaceInstr() 446 OptForSize = MF.getFunction().hasOptSize() || in processBasicBlock()
|
H A D | X86OptimizeLEAs.cpp | 744 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 746 if (OptForSize) in runOnMachineFunction()
|
H A D | X86InstrPredicates.td | 219 def OptForSize : Predicate<"shouldOptForSize(MF)">;
|
H A D | X86InstrSSE.td | 215 let Predicates = [UseAVX, OptForSize] in 297 let Predicates = [UseAVX, OptForSize] in { 1314 TB, XD, Requires<[UseSSE2, OptForSize]>, 1364 Requires<[UseAVX, OptForSize]>, SIMD_EXC; 1370 (VCVTSS2SDrm (f64 (IMPLICIT_DEF)), addr:$src)>, Requires<[UseAVX, OptForSize]>; 1380 TB, XS, Requires<[UseSSE2, OptForSize]>, 2861 Requires<[target, OptForSize]>; 2891 let Predicates = [target, OptForSize] in { 2905 let Predicates = [target, OptForSize] in { 2950 let Predicates = [target, OptForSize] in { [all …]
|
H A D | X86InstrCompiler.td | 315 let Predicates = [OptForSize, Not64BitMode], 1676 let AddedComplexity = 1, Predicates=[OptForSize] in {
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 855 bool OptForSize = CI->getFunction()->hasOptSize() || in expandMemCmp() local 857 auto Options = TTI->enableMemCmpExpansion(OptForSize, in expandMemCmp() 864 if (OptForSize && in expandMemCmp() 868 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences()) in expandMemCmp()
|
H A D | MachineCombiner.cpp | 574 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() local 673 } else if (OptForSize && InsInstrs.size() < DelInstrs.size()) { in combineInstructions()
|
H A D | TargetLoweringBase.cpp | 1617 const bool OptForSize = in isSuitableForJumpTable() local 1620 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable() 1625 return (OptForSize || Range <= MaxJumpTableSize) && in isSuitableForJumpTable() 1979 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity() 1980 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()
|
H A D | TailDuplicator.cpp | 589 bool OptForSize = MF->getFunction().hasOptSize() || in shouldTailDuplicate() local 595 if (OptForSize) in shouldTailDuplicate()
|
H A D | MachineBlockPlacement.cpp | 2190 bool OptForSize = F->getFunction().hasOptSize() || in findBestLoopTop() local 2192 if (OptForSize) in findBestLoopTop() 3475 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 3477 if (OptForSize) in runOnMachineFunction()
|
H A D | BranchFolding.cpp | 649 bool OptForSize = in ProfitableToMerge() local 653 return EffectiveTailLen >= 2 && OptForSize && in ProfitableToMerge()
|
H A D | CodeGenPrepare.cpp | 5259 bool OptForSize = in FindAllMemoryUses() local 5261 if (!OptForSize) in FindAllMemoryUses()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 227 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || in gatherUnrollingPreferences() local 232 if (OptForSize) { in gatherUnrollingPreferences() 1213 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); in tryToUnrollLoop() local 1224 !OptForSize) in tryToUnrollLoop() 1241 if (OptForSize) in tryToUnrollLoop()
|
H A D | LoopLoadElimination.cpp | 590 bool OptForSize = F->hasOptSize() || in processLoop() local 593 if (OptForSize) { in processLoop()
|
H A D | ConstantHoisting.cpp | 584 if (!OptForSize || std::distance(S,E) > 100) { in maximizeConstantsInRange() 956 this->OptForSize = Entry.getParent()->hasOptSize() || in runImpl()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | ConstantHoisting.h | 158 bool OptForSize; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1988 unsigned getMinimumJumpTableDensity(bool OptForSize) const; 2439 bool isBeneficialToExpandPowI(int64_t Exponent, bool OptForSize) const { in isBeneficialToExpandPowI() argument 2443 return !OptForSize || (llvm::popcount(E) + Log2_64(E) < 7); in isBeneficialToExpandPowI() 4405 bool LegalOps, bool OptForSize, 4410 SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, 4415 getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth); 4431 bool LegalOps, bool OptForSize, 4433 return getCheaperOrNeutralNegatedExpression(Op, DAG, LegalOps, OptForSize, 4440 bool OptForSize, unsigned Depth = 0) const { 4442 return getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 463 bool OptForSize = F->hasOptSize() || in isConsecutivePtr() local 466 bool CanAddPredicate = !OptForSize; in isConsecutivePtr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1408 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeMemChr() local 1422 if (OptForSize || Str.empty() || !isOnlyUsedInZeroEqualityComparison(CI)) in optimizeMemChr() 3345 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeSPrintFString() local 3348 if (OptForSize) in optimizeSPrintFString() 3658 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeFPuts() local 3661 if (OptForSize) in optimizeFPuts()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 7235 bool LegalOps, bool OptForSize, in getNegatedExpression() argument 7282 OptForSize); in getNegatedExpression() 7311 OptForSize); in getNegatedExpression() 7342 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 7350 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 7398 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 7406 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 7443 getNegatedExpression(Z, DAG, LegalOps, OptForSize, CostZ, Depth); in getNegatedExpression() 7454 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 7462 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 829 bool OptForSize, NegatibleCost &Cost,
|
H A D | PPCISelLowering.cpp | 17641 bool LegalOps, bool OptForSize, in getNegatedExpression() argument 17664 getNegatedExpression(N2, DAG, LegalOps, OptForSize, N2Cost, Depth + 1); in getNegatedExpression() 17676 SDValue NegN0 = getNegatedExpression(N0, DAG, LegalOps, OptForSize, in getNegatedExpression() 17680 SDValue NegN1 = getNegatedExpression(N1, DAG, LegalOps, OptForSize, in getNegatedExpression() 17701 return TargetLowering::getNegatedExpression(Op, DAG, LegalOps, OptForSize, in getNegatedExpression()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 7414 bool OptForSize = MI.getMF()->getFunction().hasOptSize(); in matchFPowIExpansion() local 7415 return getTargetLowering().isBeneficialToExpandPowI(Exponent, OptForSize); in matchFPowIExpansion()
|