/external/llvm-project/llvm/include/llvm/Passes/ |
D | PassBuilder.h | 173 unsigned SizeLevel = 0; variable 174 OptimizationLevel(unsigned SpeedLevel, unsigned SizeLevel) in OptimizationLevel() argument 175 : SpeedLevel(SpeedLevel), SizeLevel(SizeLevel) { in OptimizationLevel() 179 assert(SizeLevel <= 2 && in OptimizationLevel() 181 assert((SizeLevel == 0 || SpeedLevel == 2) && in OptimizationLevel() 260 return SizeLevel == 0 && SpeedLevel > 0; in isOptimizingForSpeed() 263 bool isOptimizingForSize() const { return SizeLevel > 0; } in isOptimizingForSize() 266 return SizeLevel == Other.SizeLevel && SpeedLevel == Other.SpeedLevel; 269 return SizeLevel != Other.SizeLevel || SpeedLevel != Other.SpeedLevel; 274 unsigned getSizeLevel() const { return SizeLevel; } in getSizeLevel()
|
/external/llvm-project/llvm/tools/bugpoint/ |
D | bugpoint.cpp | 124 unsigned SizeLevel) { in AddOptimizationPasses() argument 127 Builder.SizeLevel = SizeLevel; in AddOptimizationPasses() 130 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel, false); in AddOptimizationPasses()
|
/external/llvm-project/clang/tools/clang-fuzzer/handle-llvm/ |
D | handle_llvm.cpp | 85 unsigned SizeLevel) { in AddOptimizationPasses() argument 89 Builder.SizeLevel = SizeLevel; in AddOptimizationPasses() 90 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel, false); in AddOptimizationPasses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | PassManagerBuilder.cpp | 157 SizeLevel = 0; in PassManagerBuilder() 309 if (OptLevel > 0 && SizeLevel == 0 && !DisablePreInliner && in addPGOInstrPasses() 377 if (SizeLevel == 0 && !DisableLibCallsShrinkWrap) in addFunctionSimplificationPasses() 382 if (SizeLevel == 0) in addFunctionSimplificationPasses() 400 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in addFunctionSimplificationPasses() 406 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in addFunctionSimplificationPasses() 714 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in populateModulePassManager() 745 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in populateModulePassManager() 1127 unsigned SizeLevel) { in LLVMPassManagerBuilderSetSizeLevel() argument 1129 Builder->SizeLevel = SizeLevel; in LLVMPassManagerBuilderSetSizeLevel()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | PassManagerBuilder.cpp | 181 SizeLevel = 0; in PassManagerBuilder() 335 if (OptLevel > 0 && SizeLevel == 0 && !DisablePreInliner && in addPGOInstrPasses() 408 if (SizeLevel == 0 && !DisableLibCallsShrinkWrap) in addFunctionSimplificationPasses() 413 if (SizeLevel == 0) in addFunctionSimplificationPasses() 431 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in addFunctionSimplificationPasses() 437 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in addFunctionSimplificationPasses() 773 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in populateModulePassManager() 804 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in populateModulePassManager() 1217 unsigned SizeLevel) { in LLVMPassManagerBuilderSetSizeLevel() argument 1219 Builder->SizeLevel = SizeLevel; in LLVMPassManagerBuilderSetSizeLevel()
|
/external/llvm/lib/Transforms/IPO/ |
D | PassManagerBuilder.cpp | 130 SizeLevel = 0; in PassManagerBuilder() 260 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in addFunctionSimplificationPasses() 262 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in addFunctionSimplificationPasses() 484 MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1)); in populateModulePassManager() 516 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager() 814 unsigned SizeLevel) { in LLVMPassManagerBuilderSetSizeLevel() argument 816 Builder->SizeLevel = SizeLevel; in LLVMPassManagerBuilderSetSizeLevel()
|
/external/llvm/bindings/ocaml/transforms/passmgr_builder/ |
D | passmgr_builder_ocaml.c | 58 CAMLprim value llvm_pmbuilder_set_size_level(value SizeLevel, value PMB) { in llvm_pmbuilder_set_size_level() argument 59 LLVMPassManagerBuilderSetSizeLevel(PMBuilder_val(PMB), Int_val(SizeLevel)); in llvm_pmbuilder_set_size_level()
|
D | llvm_passmgr_builder.mli | 25 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *)
|
/external/llvm-project/llvm/bindings/ocaml/transforms/passmgr_builder/ |
D | passmgr_builder_ocaml.c | 58 CAMLprim value llvm_pmbuilder_set_size_level(value SizeLevel, value PMB) { in llvm_pmbuilder_set_size_level() argument 59 LLVMPassManagerBuilderSetSizeLevel(PMBuilder_val(PMB), Int_val(SizeLevel)); in llvm_pmbuilder_set_size_level()
|
D | llvm_passmgr_builder.mli | 24 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *)
|
/external/llvm/tools/opt/ |
D | opt.cpp | 234 unsigned SizeLevel) { in AddOptimizationPasses() argument 240 Builder.SizeLevel = SizeLevel; in AddOptimizationPasses() 245 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel); in AddOptimizationPasses() 258 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses() 262 DisableSLPVectorization ? false : OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
|
/external/llvm-project/llvm/tools/opt/ |
D | opt.cpp | 335 unsigned SizeLevel) { in AddOptimizationPasses() argument 341 Builder.SizeLevel = SizeLevel; in AddOptimizationPasses() 346 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel, false); in AddOptimizationPasses() 353 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses() 355 Builder.SLPVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
|
/external/llvm-project/llvm/include/llvm-c/Transforms/ |
D | PassManagerBuilder.h | 43 unsigned SizeLevel);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/Transforms/ |
D | PassManagerBuilder.h | 43 unsigned SizeLevel);
|
/external/llvm/include/llvm-c/Transforms/ |
D | PassManagerBuilder.h | 44 unsigned SizeLevel);
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | PassManagerBuilder.h | 111 unsigned SizeLevel; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | PassManagerBuilder.h | 135 unsigned SizeLevel; variable
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | PassManagerBuilder.h | 136 unsigned SizeLevel; variable
|
/external/llvm-project/mlir/lib/ExecutionEngine/ |
D | OptUtils.cpp | 71 builder.SizeLevel = sizeLevel; in populatePassManagers()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | compiler_functor.cc | 223 builder.SizeLevel = size_level; in AddOptimizationPasses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/ |
D | PassBuilder.cpp | 668 unsigned SizeLevel = Level > O3 ? Level - O3 : 0; in getInlineParamsFromOptLevel() local 669 return getInlineParams(OptLevel, SizeLevel); in getInlineParamsFromOptLevel()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
D | gpu_backend_lib.cc | 195 builder.SizeLevel = size_level; in AddOptimizationPasses()
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 354 PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; in CreatePasses()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 662 PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; in CreatePasses()
|
/external/llvm-project/polly/lib/CodeGen/ |
D | PPCGCodeGeneration.cpp | 2467 PassBuilder.SizeLevel = 0; in finalizeKernelFunction()
|