Home
last modified time | relevance | path

Searched refs:optForSize (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp101 if (MF.getFunction().optForSize()) in runOnMachineFunction()
H A DX86FixupBWInsts.cpp154 OptForSize = MF.getFunction().optForSize(); in runOnMachineFunction()
H A DX86OptimizeLEAs.cpp704 if (MF.getFunction().optForSize()) in runOnMachineFunction()
H A DX86InstrInfo.cpp1525 if (MI.getParent()->getParent()->getFunction().optForSize()) { in commuteInstructionImpl()
4803 if (MF.getFunction().optForSize() || !hasUndefRegUpdate(MI.getOpcode()) || in shouldPreventUndefRegUpdateMemFold()
4838 if (!MF.getFunction().optForSize() && in foldMemoryOperandImpl()
5006 if (!MF.getFunction().optForSize() && in foldMemoryOperandImpl()
5206 if (!MF.getFunction().optForSize() && in foldMemoryOperandImpl()
H A DX86InstrInfo.td931 def OptForSize : Predicate<"MF->getFunction().optForSize()">;
933 def OptForSpeed : Predicate<"!MF->getFunction().optForSize()">;
935 "MF->getFunction().optForSize()">;
936 def NoSSE41_Or_OptForSize : Predicate<"MF->getFunction().optForSize() || "
H A DX86ISelDAGToDAG.cpp724 OptForSize = MF->getFunction().optForSize(); in PreprocessISelDAG()
2650 CurDAG->getMachineFunction().getFunction().optForSize()) { in foldLoadStoreIntoMemOperand()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DFunction.h598 bool optForSize() const { in optForSize() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp532 if (L->getHeader()->getParent()->optForSize()) { in processLoop()
H A DConstantHoisting.cpp551 if(!Entry->getParent()->optForSize() || std::distance(S,E) > 100) { in maximizeConstantsInRange()
H A DLoopUnrollPass.cpp202 if (L->getHeader()->getParent()->optForSize()) { in gatherUnrollingPreferences()
H A DLoopIdiomRecognize.cpp288 L->getHeader()->getParent()->optForSize() && UseLIRCodeSizeHeurs; in runOnLoop()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineCombiner.cpp644 OptSize = MF.getFunction().optForSize(); in runOnMachineFunction()
H A DMachineBlockPlacement.cpp1780 if (F->getFunction().optForSize()) in findBestLoopTop()
2501 (F->getFunction().optForSize() && !TLI->alignLoopsWithOptSize())) in alignBlocks()
2776 if (MF.getFunction().optForSize()) in runOnMachineFunction()
H A DBranchFolding.cpp725 return EffectiveTailLen >= 2 && MF->getFunction().optForSize() && in ProfitableToMerge()
1601 MF.getFunction().optForSize()) { in OptimizeBlock()
H A DExpandMemCmp.cpp746 TLI->getMaxExpandSizeMemcmp(CI->getFunction()->optForSize()); in expandMemCmp()
H A DTailDuplicator.cpp561 MF->getFunction().optForSize()) in shouldTailDuplicate()
H A DCodeGenPrepare.cpp416 OptSize = F.optForSize(); in runOnFunction()
4271 const bool OptSize = I->getFunction()->optForSize(); in FindAllMemoryUses()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp909 } else if (Caller->optForSize()) in updateThreshold()
927 if (!Caller->optForSize() && HotCallSiteThreshold) { in updateThreshold()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp602 if (L->getHeader()->getParent()->optForSize()) in getUnrollingPreferences()
H A DThumb2SizeReduction.cpp1131 OptimizeSize = MF.getFunction().optForSize(); in runOnMachineFunction()
H A DARMAsmPrinter.cpp129 else if (F.optForSize()) in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLowering.h941 const bool OptForSize = SI->getParent()->getParent()->optForSize(); in isSuitableForJumpTable()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp384 return F.optForSize() && !F.optForMinSize(); in isOptSize()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2861 !MF->getFunction().optForSize() && in setupCodePaddingContext()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2310 if (CI->getFunction()->optForSize()) in optimizeFPuts()

12