/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PadShortFunction.cpp | 138 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); local 139 if (OptForSize)
|
H A D | X86FixupBWInsts.cpp | 140 /// Local member for function's OptForSize attribute. 141 bool OptForSize = false; member in class:__anon4428::FixupBWInstPass 383 if (ML->begin() == ML->end() && !OptForSize) 440 OptForSize = MF.getFunction().hasOptSize() ||
|
H A D | X86OptimizeLEAs.cpp | 716 bool OptForSize = MF.getFunction().hasOptSize() || local 718 if (OptForSize)
|
H A D | X86ISelLowering.cpp | 8804 bool OptForSize = DAG.shouldOptForSize(); 8812 if (ConstSplatVal && (Subtarget.hasAVX2() || OptForSize)) { 8821 (OptForSize && (ScalarSize == 64 || Subtarget.hasAVX2()))) { 11803 bool OptForSize = DAG.shouldOptForSize(); 11804 if (!OptForSize) { 19130 bool OptForSize = DAG.shouldOptForSize(); 19131 bool ExpandFunnel = !OptForSize && Subtarget.isSHLDSlow(); 21988 bool OptForSize = DAG.shouldOptForSize(); 21989 if ((!isUInt<32>(AndRHSVal) || (OptForSize && !isUInt<8>(AndRHSVal))) && [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineCombiner.cpp | 91 bool doSubstitute(unsigned NewSize, unsigned OldSize, bool OptForSize); 424 bool OptForSize) { 425 if (OptForSize && (NewSize < OldSize)) 523 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); 602 doSubstitute(NewInstCount, OldInstCount, OptForSize)) {
|
H A D | ExpandMemCmp.cpp | 731 bool OptForSize = CI->getFunction()->hasOptSize() || local 733 auto Options = TTI->enableMemCmpExpansion(OptForSize, 740 if (OptForSize && 744 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences())
|
H A D | BranchFolding.cpp | 649 bool OptForSize = local 653 return EffectiveTailLen >= 2 && OptForSize && 1511 bool OptForSize = local 1514 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) {
|
H A D | TailDuplicator.cpp | 567 bool OptForSize = MF->getFunction().hasOptSize() || local 573 if (OptForSize)
|
H A D | TargetLoweringBase.cpp | 1501 const bool OptForSize = local 1504 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); 1509 return (OptForSize || Range <= MaxJumpTableSize) && 1865 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { 1866 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity;
|
H A D | MachineBlockPlacement.cpp | 2098 bool OptForSize = F->getFunction().hasOptSize() || local 2100 if (OptForSize) 3308 bool OptForSize = MF.getFunction().hasOptSize() || local 3310 if (OptForSize)
|
H A D | CodeGenPrepare.cpp | 4698 bool OptForSize = OptSize || local 4700 if (!OptForSize)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCopyToCombine.cpp | 98 bool OptForSize); 474 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); local 481 if (!OptForSize && ST->isTinyCore()) 513 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); 516 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); 579 bool DoInsertAtI1, bool OptForSize) { 616 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && 577 combine(MachineInstr &I1, MachineInstr &I2, MachineBasicBlock::iterator &MI, bool DoInsertAtI1, bool OptForSize) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 226 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || local 229 if (OptForSize) { 1081 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); 1092 // Exit early if unrolling is disabled. For OptForSize, we pick the loop size 1095 !OptForSize) 1113 if (OptForSize)
|
H A D | LoopLoadElimination.cpp | 551 bool OptForSize = F->hasOptSize() || 554 if (OptForSize) {
|
H A D | ConstantHoisting.cpp | 563 bool OptForSize = Entry->getParent()->hasOptSize() || local 566 if (!OptForSize || std::distance(S,E) > 100) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1658 unsigned getMinimumJumpTableDensity(bool OptForSize) const; 3596 bool LegalOps, bool OptForSize, 3603 bool LegalOps, bool OptForSize, 3607 getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth); 3619 bool OptForSize, unsigned Depth = 0) const { 3621 return getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth); 3602 getCheaperNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, unsigned Depth = 0) const argument 3618 getNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, unsigned Depth = 0) const argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 5701 bool LegalOps, bool OptForSize, 5743 OptForSize); 5772 OptForSize); 5803 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); 5807 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); 5852 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); 5856 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); 5890 getNegatedExpression(Z, DAG, LegalOps, OptForSize, CostZ, Depth); 5898 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); 5902 getNegatedExpression(Y, DAG, LegalOps, OptForSize, Cost 5700 getNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, NegatibleCost &Cost, unsigned Depth) const argument [all...] |
H A D | SelectionDAGBuilder.cpp | 5240 bool OptForSize = DAG.shouldOptForSize(); 5241 if (!OptForSize ||
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 702 bool OptForSize, NegatibleCost &Cost,
|
H A D | PPCISelLowering.cpp | 16498 bool LegalOps, bool OptForSize, 16522 getNegatedExpression(N2, DAG, LegalOps, OptForSize, N2Cost, Depth + 1); 16534 SDValue NegN0 = getNegatedExpression(N0, DAG, LegalOps, OptForSize, 16538 SDValue NegN1 = getNegatedExpression(N1, DAG, LegalOps, OptForSize, 16559 return TargetLowering::getNegatedExpression(Op, DAG, LegalOps, OptForSize, 16497 getNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, NegatibleCost &Cost, unsigned Depth) const argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2745 bool OptForSize = CI->getFunction()->hasOptSize() || 2748 if (OptForSize)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 6429 bool OptForSize) const { 6456 unsigned Limit = (OptForSize ? 1 : (Subtarget->hasFuseLiterals() ? 5 : 2));
|