/external/llvm/lib/Target/X86/ |
D | X86FixupBWInsts.cpp | 138 bool OptForSize; member in __anon034626400111::FixupBWInstPass 159 OptForSize = MF.getFunction()->optForSize(); in runOnMachineFunction() 290 if (ML->begin() == ML->end() && !OptForSize) { in tryReplaceInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineCombiner.cpp | 91 bool doSubstitute(unsigned NewSize, unsigned OldSize, bool OptForSize); 420 bool OptForSize) { in doSubstitute() argument 421 if (OptForSize && (NewSize < OldSize)) in doSubstitute() 519 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() local 598 doSubstitute(NewInstCount, OldInstCount, OptForSize)) { in combineInstructions()
|
D | ExpandMemCmp.cpp | 749 bool OptForSize = CI->getFunction()->hasOptSize() || in expandMemCmp() local 751 auto Options = TTI->enableMemCmpExpansion(OptForSize, in expandMemCmp() 758 if (OptForSize && in expandMemCmp() 762 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences()) in expandMemCmp()
|
D | TargetLoweringBase.cpp | 1450 const bool OptForSize = in isSuitableForJumpTable() local 1453 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable() 1458 return (OptForSize || Range <= MaxJumpTableSize) && in isSuitableForJumpTable() 1809 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity() 1810 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()
|
D | BranchFolding.cpp | 692 bool OptForSize = in ProfitableToMerge() local 696 return EffectiveTailLen >= 2 && OptForSize && in ProfitableToMerge() 1548 bool OptForSize = in OptimizeBlock() local 1551 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) { in OptimizeBlock()
|
D | TailDuplicator.cpp | 565 bool OptForSize = MF->getFunction().hasOptSize() || in shouldTailDuplicate() local 571 if (OptForSize) in shouldTailDuplicate()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineCombiner.cpp | 91 bool doSubstitute(unsigned NewSize, unsigned OldSize, bool OptForSize); 424 bool OptForSize) { in doSubstitute() argument 425 if (OptForSize && (NewSize < OldSize)) in doSubstitute() 523 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() local 602 doSubstitute(NewInstCount, OldInstCount, OptForSize)) { in combineInstructions()
|
D | ExpandMemCmp.cpp | 731 bool OptForSize = CI->getFunction()->hasOptSize() || in expandMemCmp() local 733 auto Options = TTI->enableMemCmpExpansion(OptForSize, in expandMemCmp() 740 if (OptForSize && in expandMemCmp() 744 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences()) in expandMemCmp()
|
D | BranchFolding.cpp | 645 bool OptForSize = in ProfitableToMerge() local 649 return EffectiveTailLen >= 2 && OptForSize && in ProfitableToMerge() 1507 bool OptForSize = in OptimizeBlock() local 1510 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) { in OptimizeBlock()
|
D | TargetLoweringBase.cpp | 1634 const bool OptForSize = in isSuitableForJumpTable() local 1637 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable() 1642 return (OptForSize || Range <= MaxJumpTableSize) && in isSuitableForJumpTable() 2002 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity() 2003 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 137 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in runOnMachineFunction() local 138 if (OptForSize) in runOnMachineFunction()
|
D | X86FixupBWInsts.cpp | 141 bool OptForSize = false; member in __anonbac087a20111::FixupBWInstPass 383 if (ML->begin() == ML->end() && !OptForSize) in tryReplaceInstr() 440 OptForSize = MF.getFunction().hasOptSize() || in processBasicBlock()
|
D | X86OptimizeLEAs.cpp | 716 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 718 if (OptForSize) in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 138 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in runOnMachineFunction() local 139 if (OptForSize) in runOnMachineFunction()
|
D | X86FixupBWInsts.cpp | 141 bool OptForSize = false; member in __anone45a0b2e0111::FixupBWInstPass 382 if (ML->begin() == ML->end() && !OptForSize) in tryReplaceInstr() 439 OptForSize = MF.getFunction().hasOptSize() || in processBasicBlock()
|
D | X86OptimizeLEAs.cpp | 716 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local 718 if (OptForSize) in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonCopyToCombine.cpp | 100 bool OptForSize); 476 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); in runOnMachineFunction() local 483 if (!OptForSize && ST->isTinyCore()) in runOnMachineFunction() 515 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction() 518 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction() 581 bool DoInsertAtI1, bool OptForSize) { in combine() argument 618 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && in combine()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCopyToCombine.cpp | 102 bool OptForSize); 453 bool OptForSize = F->hasFnAttribute(Attribute::OptimizeForSize); in runOnMachineFunction() local 488 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction() 491 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction() 556 bool DoInsertAtI1, bool OptForSize) { in combine() argument 584 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && in combine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonCopyToCombine.cpp | 98 bool OptForSize); 474 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); in runOnMachineFunction() local 509 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction() 512 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction() 575 bool DoInsertAtI1, bool OptForSize) { in combine() argument 612 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && in combine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 215 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || in gatherUnrollingPreferences() local 218 if (OptForSize) { in gatherUnrollingPreferences() 1041 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); in tryToUnrollLoop() local 1054 !OptForSize) in tryToUnrollLoop() 1072 if (OptForSize) in tryToUnrollLoop()
|
D | LoopLoadElimination.cpp | 547 bool OptForSize = F->hasOptSize() || in processLoop() local 550 if (OptForSize) { in processLoop()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 220 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || in gatherUnrollingPreferences() local 223 if (OptForSize) { in gatherUnrollingPreferences() 1049 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); in tryToUnrollLoop() local 1063 !OptForSize) in tryToUnrollLoop() 1081 if (OptForSize) in tryToUnrollLoop()
|
D | LoopLoadElimination.cpp | 554 bool OptForSize = F->hasOptSize() || in processLoop() local 557 if (OptForSize) { in processLoop()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1620 VectorizationFactor selectVectorizationFactor(bool OptForSize); 1631 unsigned selectInterleaveCount(bool OptForSize, unsigned VF, 1638 unsigned computeInterleaveCount(bool OptForSize, unsigned VF, 5163 LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize) { in selectVectorizationFactor() argument 5166 if (OptForSize && Legal->getRuntimePointerChecking()->Need) { in selectVectorizationFactor() 5223 if (MaximizeBandwidth && !OptForSize) { in selectVectorizationFactor() 5245 if (OptForSize) { in selectVectorizationFactor() 5374 unsigned LoopVectorizationCostModel::selectInterleaveCount(bool OptForSize, in selectInterleaveCount() argument 5393 if (OptForSize) in selectInterleaveCount() 6441 bool OptForSize = in processLoop() local [all …]
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 423 bool OptForSize = F->hasOptSize() || in isConsecutivePtr() local 426 bool CanAddPredicate = !OptForSize; in isConsecutivePtr()
|