Home
last modified time | relevance | path

Searched refs:optForMinSize (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp311 return isTargetWatchABI() || (isSwift() && !MF.getFunction()->optForMinSize()); in useStride4VFPs()
319 (isTargetWindows() || !MF.getFunction()->optForMinSize()); in useMovt()
DARMSelectionDAGInfo.cpp174 if (NumMEMCPYs > 1 && DAG.getMachineFunction().getFunction()->optForMinSize()) { in EmitTargetCodeForMemcpy()
DThumb2SizeReduction.cpp430 if (!MBB.getParent()->getFunction()->optForMinSize()) in ReduceLoadStore()
1082 MinimizeSize = MF.getFunction()->optForMinSize(); in runOnMachineFunction()
DARMAsmPrinter.cpp116 else if (F->optForMinSize()) in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMSubtarget.cpp373 return isTargetWatchABI() || (isSwift() && !MF.getFunction().optForMinSize()); in useStride4VFPs()
381 (isTargetWindows() || !MF.getFunction().optForMinSize() || genExecuteOnly()); in useMovt()
DARMSelectionDAGInfo.cpp174 if (NumMEMCPYs > 1 && DAG.getMachineFunction().getFunction().optForMinSize()) { in EmitTargetCodeForMemcpy()
DThumb2SizeReduction.cpp456 if (!MBB.getParent()->getFunction().optForMinSize()) in ReduceLoadStore()
1106 MinimizeSize = MF.getFunction().optForMinSize(); in runOnMachineFunction()
DARMAsmPrinter.cpp126 else if (F.optForMinSize()) in runOnMachineFunction()
/external/llvm/include/llvm/IR/
DFunction.h434 bool optForMinSize() const { return hasFnAttribute(Attribute::MinSize); };
438 return hasFnAttribute(Attribute::OptimizeForSize) || optForMinSize();
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h457 bool optForMinSize() const { return hasFnAttribute(Attribute::MinSize); } in optForMinSize() function
461 return hasFnAttribute(Attribute::OptimizeForSize) || optForMinSize(); in optForSize()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DFunction.h581 bool optForMinSize() const { return hasFnAttribute(Attribute::MinSize); } in optForMinSize() function
585 return hasFnAttribute(Attribute::OptimizeForSize) || optForMinSize(); in optForSize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp251 DAG.getMachineFunction().getFunction().optForMinSize()) { in EmitTargetCodeForMemcpy()
DX86FixupLEAs.cpp200 OptIncDec = !ST.slowIncDec() || Func.getFunction().optForMinSize(); in runOnMachineFunction()
/external/llvm/lib/Target/X86/
DX86FixupLEAs.cpp170 OptIncDec = !ST.slowIncDec() || Func.getFunction()->optForMinSize(); in runOnMachineFunction()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp316 if (OnlyOptimizeForSize && !ParentFn->optForMinSize()) in doMerge()
DAtomicExpandPass.cpp981 !F->optForMinSize(); in expandAtomicCmpXchg()
985 bool UseUnconditionalReleaseBarrier = F->optForMinSize() && !CI->isWeak(); in expandAtomicCmpXchg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DGlobalMerge.cpp334 if (OnlyOptimizeForSize && !ParentFn->optForMinSize()) in doMerge()
DExpandMemCmp.cpp683 if (CI->getFunction()->optForMinSize()) in expandMemCmp()
DAtomicExpandPass.cpp989 !F->optForMinSize(); in expandAtomicCmpXchg()
993 bool UseUnconditionalReleaseBarrier = F->optForMinSize() && !CI->isWeak(); in expandAtomicCmpXchg()
/external/llvm/lib/Analysis/
DInlineCost.cpp630 if (Caller->optForMinSize() && OptMinSizeThreshold < Threshold) in updateThreshold()
648 if (InlineHint && HintThreshold > Threshold && !Caller->optForMinSize()) in updateThreshold()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp900 MinSize = MF.getFunction()->optForMinSize(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp944 MinSize = MF.getFunction().optForMinSize(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp898 if (Caller->optForMinSize()) { in updateThreshold()
911 if (!Caller->optForMinSize()) { in updateThreshold()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp322 return F.optForSize() && !F.optForMinSize(); in isOptSize()
326 return MF.getFunction()->optForMinSize(); in isMinSize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp384 return F.optForSize() && !F.optForMinSize(); in isOptSize()
388 return MF.getFunction().optForMinSize(); in isMinSize()

123