Home
last modified time | relevance | path

Searched refs:OptForSize (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp100 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineCombiner.cpp93 bool doSubstitute(unsigned NewSize, unsigned OldSize, bool OptForSize);
446 bool OptForSize) { in doSubstitute() argument
447 if (OptForSize && (NewSize < OldSize)) in doSubstitute()
558 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() local
661 doSubstitute(NewInstCount, OldInstCount, OptForSize)) { in combineInstructions()
H A DExpandMemCmp.cpp762 bool OptForSize = CI->getFunction()->hasOptSize() || in expandMemCmp() local
764 auto Options = TTI->enableMemCmpExpansion(OptForSize, in expandMemCmp()
771 if (OptForSize && in expandMemCmp()
775 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences()) in expandMemCmp()
H A DBranchFolding.cpp645 bool OptForSize = in ProfitableToMerge() local
649 return EffectiveTailLen >= 2 && OptForSize && in ProfitableToMerge()
1517 bool OptForSize = in OptimizeBlock() local
1520 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) { in OptimizeBlock()
H A DTargetLoweringBase.cpp1605 const bool OptForSize = in isSuitableForJumpTable() local
1608 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable()
1613 return (OptForSize || Range <= MaxJumpTableSize) && in isSuitableForJumpTable()
1976 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity()
1977 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()
H A DTailDuplicator.cpp567 bool OptForSize = MF->getFunction().hasOptSize() || in shouldTailDuplicate() local
573 if (OptForSize) in shouldTailDuplicate()
H A DMachineBlockPlacement.cpp2119 bool OptForSize = F->getFunction().hasOptSize() || in findBestLoopTop() local
2121 if (OptForSize) in findBestLoopTop()
3351 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local
3353 if (OptForSize) in runOnMachineFunction()
H A DCodeGenPrepare.cpp4913 bool OptForSize = OptSize || in FindAllMemoryUses() local
4915 if (!OptForSize) in FindAllMemoryUses()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86FixupBWInsts.cpp141 bool OptForSize = false; member in __anon39aa68020111::FixupBWInstPass
382 if (ML->begin() == ML->end() && !OptForSize) in tryReplaceInstr()
439 OptForSize = MF.getFunction().hasOptSize() || in processBasicBlock()
H A DX86PadShortFunction.cpp138 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in runOnMachineFunction() local
139 if (OptForSize) in runOnMachineFunction()
H A DX86OptimizeLEAs.cpp745 bool OptForSize = MF.getFunction().hasOptSize() || in runOnMachineFunction() local
747 if (OptForSize) in runOnMachineFunction()
H A DX86InstrSSE.td212 let Predicates = [UseAVX, OptForSize] in
295 let Predicates = [UseAVX, OptForSize] in {
1272 XD, Requires<[UseSSE2, OptForSize]>,
1322 Requires<[UseAVX, OptForSize]>, SIMD_EXC;
1328 (VCVTSS2SDrm (f64 (IMPLICIT_DEF)), addr:$src)>, Requires<[UseAVX, OptForSize]>;
1338 XS, Requires<[UseSSE2, OptForSize]>,
2806 Requires<[target, OptForSize]>;
2837 let Predicates = [target, OptForSize] in {
2851 let Predicates = [target, OptForSize] in {
2896 let Predicates = [target, OptForSize] in {
[all …]
H A DX86InstrCompiler.td298 let Predicates = [OptForSize, Not64BitMode],
1609 let AddedComplexity = 1, Predicates=[OptForSize] in {
H A DX86InstrAVX512.td3913 let Predicates = [HasAVX512, OptForSize] in
4335 let Predicates = [HasAVX512, OptForSize] in {
7533 Requires<[HasAVX512, OptForSize]>;
8988 let Predicates = [HasAVX512, OptForSize] in {
9054 let Predicates = [HasAVX512, OptForSize] in {
H A DX86ISelLowering.cpp8974 bool OptForSize = DAG.shouldOptForSize(); in lowerBuildVectorAsBroadcast() local
8982 if (ConstSplatVal && (Subtarget.hasAVX2() || OptForSize)) { in lowerBuildVectorAsBroadcast()
8991 (OptForSize && (ScalarSize == 64 || Subtarget.hasAVX2()))) { in lowerBuildVectorAsBroadcast()
12185 bool OptForSize = DAG.shouldOptForSize(); in lowerShuffleAsBlend() local
12186 if (!OptForSize) { in lowerShuffleAsBlend()
19674 bool OptForSize = DAG.shouldOptForSize(); in LowerFunnelShift() local
19675 bool ExpandFunnel = !OptForSize && Subtarget.isSHLDSlow(); in LowerFunnelShift()
22652 bool OptForSize = DAG.shouldOptForSize(); in LowerAndToBT() local
22653 if ((!isUInt<32>(AndRHSVal) || (OptForSize && !isUInt<8>(AndRHSVal))) && in LowerAndToBT()
35595 bool OptForSize = DAG.shouldOptForSize(); in combineX86ShuffleChain() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp220 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || in gatherUnrollingPreferences() local
225 if (OptForSize) { in gatherUnrollingPreferences()
1069 bool OptForSize = L->getHeader()->getParent()->hasOptSize(); in tryToUnrollLoop() local
1083 !OptForSize) in tryToUnrollLoop()
1101 if (OptForSize) in tryToUnrollLoop()
H A DLoopLoadElimination.cpp553 bool OptForSize = F->hasOptSize() || in processLoop() local
556 if (OptForSize) { in processLoop()
H A DConstantHoisting.cpp571 bool OptForSize = Entry->getParent()->hasOptSize() || in maximizeConstantsInRange() local
574 if (!OptForSize || std::distance(S,E) > 100) { in maximizeConstantsInRange()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1704 unsigned getMinimumJumpTableDensity(bool OptForSize) const;
3635 bool LegalOps, bool OptForSize,
3642 bool LegalOps, bool OptForSize,
3646 getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
3658 bool OptForSize, unsigned Depth = 0) const {
3660 return getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp411 bool OptForSize = F->hasOptSize() || in isConsecutivePtr() local
414 bool CanAddPredicate = !OptForSize; in isConsecutivePtr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2526 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeSPrintFString() local
2529 if (OptForSize) in optimizeSPrintFString()
2787 bool OptForSize = CI->getFunction()->hasOptSize() || in optimizeFPuts() local
2790 if (OptForSize) in optimizeFPuts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5981 bool LegalOps, bool OptForSize, in getNegatedExpression() argument
6028 OptForSize); in getNegatedExpression()
6057 OptForSize); in getNegatedExpression()
6088 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression()
6096 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression()
6144 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression()
6152 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression()
6189 getNegatedExpression(Z, DAG, LegalOps, OptForSize, CostZ, Depth); in getNegatedExpression()
6200 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth); in getNegatedExpression()
6208 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth); in getNegatedExpression()
[all …]
H A DSelectionDAGBuilder.cpp5361 bool OptForSize = DAG.shouldOptForSize(); in ExpandPowI() local
5362 if (!OptForSize || in ExpandPowI()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h786 bool OptForSize, NegatibleCost &Cost,
H A DPPCISelLowering.cpp16338 bool LegalOps, bool OptForSize, in getNegatedExpression() argument
16361 getNegatedExpression(N2, DAG, LegalOps, OptForSize, N2Cost, Depth + 1); in getNegatedExpression()
16373 SDValue NegN0 = getNegatedExpression(N0, DAG, LegalOps, OptForSize, in getNegatedExpression()
16377 SDValue NegN1 = getNegatedExpression(N1, DAG, LegalOps, OptForSize, in getNegatedExpression()
16398 return TargetLowering::getNegatedExpression(Op, DAG, LegalOps, OptForSize, in getNegatedExpression()

12