Home
last modified time | relevance | path

Searched refs:SizeLevel (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h159 unsigned SizeLevel = 0; variable
160 OptimizationLevel(unsigned SpeedLevel, unsigned SizeLevel) in OptimizationLevel() argument
161 : SpeedLevel(SpeedLevel), SizeLevel(SizeLevel) { in OptimizationLevel()
165 assert(SizeLevel <= 2 && in OptimizationLevel()
167 assert((SizeLevel == 0 || SpeedLevel == 2) && in OptimizationLevel()
246 return SizeLevel == 0 && SpeedLevel > 0; in isOptimizingForSpeed()
249 bool isOptimizingForSize() const { return SizeLevel > 0; } in isOptimizingForSize()
252 return SizeLevel == Other.SizeLevel && SpeedLevel == Other.SpeedLevel;
255 return SizeLevel != Other.SizeLevel || SpeedLevel != Other.SpeedLevel;
260 unsigned getSizeLevel() const { return SizeLevel; } in getSizeLevel()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A Dbugpoint.cpp124 unsigned SizeLevel) { in AddOptimizationPasses() argument
127 Builder.SizeLevel = SizeLevel; in AddOptimizationPasses()
130 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel, false); in AddOptimizationPasses()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp196 SizeLevel = 0; in PassManagerBuilder()
363 IP.HintThreshold = SizeLevel > 0 ? PreInlineThreshold : 325; in addPGOInstrPasses()
426 if (SizeLevel == 0 && !DisableLibCallsShrinkWrap) in addFunctionSimplificationPasses()
431 if (SizeLevel == 0) in addFunctionSimplificationPasses()
453 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1, PrepareForLTO)); in addFunctionSimplificationPasses()
459 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in addFunctionSimplificationPasses()
507 if (EnableDFAJumpThreading && SizeLevel == 0) in addFunctionSimplificationPasses()
579 PM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in addVectorPasses()
920 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1, PrepareForLTO)); in populateModulePassManager()
1266 unsigned SizeLevel) { in LLVMPassManagerBuilderSetSizeLevel() argument
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/Transforms/
H A DPassManagerBuilder.h43 unsigned SizeLevel);
/freebsd-13.1/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp363 unsigned SizeLevel) { in AddOptimizationPasses() argument
369 Builder.SizeLevel = SizeLevel; in AddOptimizationPasses()
374 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel, false); in AddOptimizationPasses()
381 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
383 Builder.SLPVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h136 unsigned SizeLevel; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp685 PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; in CreatePasses()