| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/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 | 142 bool OptForSize = false; member in __anon69dcfc2d0111::FixupBWInstPass 398 if (!OptForSize) in tryReplaceInstr() 455 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 | 223 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; 1380 TB, XS, Requires<[UseSSE2, OptForSize]>, 2848 Requires<[target, OptForSize]>; 2878 let Predicates = [target, OptForSize] in { 2892 let Predicates = [target, OptForSize] in { 2937 let Predicates = [target, OptForSize] in { 5653 let Predicates = [UseAVX, OptForSize] in { [all …]
|
| H A D | X86InstrCompiler.td | 314 let Predicates = [OptForSize, Not64BitMode], 1628 let AddedComplexity = 1, Predicates=[OptForSize] in {
|
| /freebsd-14.2/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 | 589 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() local 688 } else if (OptForSize && InsInstrs.size() < DelInstrs.size()) { in combineInstructions()
|
| H A D | TargetLoweringBase.cpp | 1697 const bool OptForSize = in isSuitableForJumpTable() local 1700 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable() 1705 return (OptForSize || Range <= MaxJumpTableSize) && in isSuitableForJumpTable() 2053 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity() 2054 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()
|
| H A D | TailDuplicator.cpp | 572 bool OptForSize = MF->getFunction().hasOptSize() || in shouldTailDuplicate() local 578 if (OptForSize) in shouldTailDuplicate()
|
| H A D | MachineBlockPlacement.cpp | 2154 bool OptForSize = F->getFunction().hasOptSize() || in findBestLoopTop() local 2156 if (OptForSize) in findBestLoopTop() 3421 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 3423 if (OptForSize) in runOnMachineFunction()
|
| H A D | BranchFolding.cpp | 643 bool OptForSize = in ProfitableToMerge() local 647 return EffectiveTailLen >= 2 && OptForSize && in ProfitableToMerge()
|
| H A D | CodeGenPrepare.cpp | 5155 bool OptForSize = in FindAllMemoryUses() local 5157 if (!OptForSize) in FindAllMemoryUses()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | ConstantHoisting.h | 156 bool OptForSize; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 221 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || in gatherUnrollingPreferences() local 226 if (OptForSize) { in gatherUnrollingPreferences() 1166 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); in tryToUnrollLoop() local 1177 !OptForSize) in tryToUnrollLoop() 1195 if (OptForSize) in tryToUnrollLoop()
|
| H A D | LoopLoadElimination.cpp | 574 bool OptForSize = F->hasOptSize() || in processLoop() local 577 if (OptForSize) { in processLoop()
|
| H A D | ConstantHoisting.cpp | 579 if (!OptForSize || std::distance(S,E) > 100) { in maximizeConstantsInRange() 948 this->OptForSize = Entry.getParent()->hasOptSize() || in runImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1911 unsigned getMinimumJumpTableDensity(bool OptForSize) const; 2362 bool isBeneficialToExpandPowI(int64_t Exponent, bool OptForSize) const { in isBeneficialToExpandPowI() argument 2366 return !OptForSize || (llvm::popcount(E) + Log2_64(E) < 7); in isBeneficialToExpandPowI() 4271 bool LegalOps, bool OptForSize, 4276 SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, 4281 getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth); 4297 bool LegalOps, bool OptForSize, 4299 return getCheaperOrNeutralNegatedExpression(Op, DAG, LegalOps, OptForSize, 4306 bool OptForSize, unsigned Depth = 0) const { 4308 return getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1399 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeMemChr() local 1413 if (OptForSize || Str.empty() || !isOnlyUsedInZeroEqualityComparison(CI)) in optimizeMemChr() 3111 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeSPrintFString() local 3114 if (OptForSize) in optimizeSPrintFString() 3424 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeFPuts() local 3427 if (OptForSize) in optimizeFPuts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 7139 OptForSize); in getNegatedExpression() 7168 OptForSize); in getNegatedExpression() 7199 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 7207 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 7255 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 7263 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 7300 getNegatedExpression(Z, DAG, LegalOps, OptForSize, CostZ, Depth); in getNegatedExpression() 7311 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression() 7319 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression() 7347 OptForSize, Cost, Depth)) in getNegatedExpression() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 818 bool OptForSize, NegatibleCost &Cost,
|
| H A D | PPCISelLowering.cpp | 17429 bool LegalOps, bool OptForSize, in getNegatedExpression() argument 17452 getNegatedExpression(N2, DAG, LegalOps, OptForSize, N2Cost, Depth + 1); in getNegatedExpression() 17464 SDValue NegN0 = getNegatedExpression(N0, DAG, LegalOps, OptForSize, in getNegatedExpression() 17468 SDValue NegN1 = getNegatedExpression(N1, DAG, LegalOps, OptForSize, in getNegatedExpression() 17489 return TargetLowering::getNegatedExpression(Op, DAG, LegalOps, OptForSize, in getNegatedExpression()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 2670 bool OptForSize = shouldOptForSize(&MF); in select() local 2675 EVT::getFloatingPointVT(DefSize), OptForSize)) in select()
|