Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Passes/
DPassBuilder.h173 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/
Dbugpoint.cpp124 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/
Dhandle_llvm.cpp85 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/
DPassManagerBuilder.cpp157 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/
DPassManagerBuilder.cpp181 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/
DPassManagerBuilder.cpp130 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/
Dpassmgr_builder_ocaml.c58 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()
Dllvm_passmgr_builder.mli25 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *)
/external/llvm-project/llvm/bindings/ocaml/transforms/passmgr_builder/
Dpassmgr_builder_ocaml.c58 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()
Dllvm_passmgr_builder.mli24 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *)
/external/llvm/tools/opt/
Dopt.cpp234 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/
Dopt.cpp335 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/
DPassManagerBuilder.h43 unsigned SizeLevel);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h43 unsigned SizeLevel);
/external/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h44 unsigned SizeLevel);
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h111 unsigned SizeLevel; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h135 unsigned SizeLevel; variable
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h136 unsigned SizeLevel; variable
/external/llvm-project/mlir/lib/ExecutionEngine/
DOptUtils.cpp71 builder.SizeLevel = sizeLevel; in populatePassManagers()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc223 builder.SizeLevel = size_level; in AddOptimizationPasses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassBuilder.cpp668 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/
Dgpu_backend_lib.cc195 builder.SizeLevel = size_level; in AddOptimizationPasses()
/external/clang/lib/CodeGen/
DBackendUtil.cpp354 PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; in CreatePasses()
/external/llvm-project/clang/lib/CodeGen/
DBackendUtil.cpp662 PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; in CreatePasses()
/external/llvm-project/polly/lib/CodeGen/
DPPCGCodeGeneration.cpp2467 PassBuilder.SizeLevel = 0; in finalizeKernelFunction()