Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/CodeGen/
DSchedulerRegistry.h63 CodeGenOpt::Level OptLevel);
68 CodeGenOpt::Level OptLevel);
87 CodeGenOpt::Level OptLevel);
93 CodeGenOpt::Level OptLevel);
97 CodeGenOpt::Level OptLevel);
102 CodeGenOpt::Level OptLevel);
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp108 OptLevel = 2; in PassManagerBuilder()
175 if (OptLevel == 0) return; in populateFunctionPassManager()
192 if (OptLevel == 0) { in populateModulePassManager()
248 if (OptLevel > 2) in populateModulePassManager()
270 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
284 if (OptLevel > 1) { in populateModulePassManager()
318 if (OptLevel > 1 && UseGVNAfterVectorization) in populateModulePassManager()
342 if (!DisableUnitAtATime && OptLevel > 1 && !PrepareForLTO) { in populateModulePassManager()
401 if (OptLevel > 1 && ExtraVectorizerPasses) { in populateModulePassManager()
412 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
[all …]
DInlineSimple.cpp62 static int computeThresholdFromOptLevels(unsigned OptLevel, in computeThresholdFromOptLevels() argument
64 if (OptLevel > 2) in computeThresholdFromOptLevels()
91 Pass *llvm::createFunctionInliningPass(unsigned OptLevel, in createFunctionInliningPass() argument
94 computeThresholdFromOptLevels(OptLevel, SizeOptLevel)); in createFunctionInliningPass()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp41 CodeGenOpt::Level OptLevel) in WebAssemblyDAGToDAGISel() argument
42 : SelectionDAGISel(tm, OptLevel), Subtarget(nullptr), ForCodeSize(false) { in WebAssemblyDAGToDAGISel()
126 CodeGenOpt::Level OptLevel) { in createWebAssemblyISelDag() argument
127 return new WebAssemblyDAGToDAGISel(TM, OptLevel); in createWebAssemblyISelDag()
DWebAssembly.h29 CodeGenOpt::Level OptLevel);
/external/llvm/include/llvm/MC/
DMCCodeGenInfo.h33 CodeGenOpt::Level OptLevel; variable
44 CodeGenOpt::Level getOptLevel() const { return OptLevel; } in getOptLevel()
47 void setOptLevel(CodeGenOpt::Level Level) { OptLevel = Level; } in setOptLevel()
/external/clang/lib/CodeGen/
DBackendUtil.cpp157 if (Builder.OptLevel > 0) in addObjCARCAPElimPass()
162 if (Builder.OptLevel > 0) in addObjCARCExpandPass()
167 if (Builder.OptLevel > 0) in addObjCARCOptPass()
224 if (Builder.OptLevel > 0) { in addMemorySanitizerPass()
278 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses() local
284 OptLevel = 0; in CreatePasses()
299 createFunctionInliningPass(OptLevel, CodeGenOpts.OptimizeSize); in CreatePasses()
304 if (OptLevel == 0) in CreatePasses()
312 PMBuilder.OptLevel = OptLevel; in CreatePasses()
493 CodeGenOpt::Level OptLevel = CodeGenOpt::Default; in CreateTargetMachine() local
[all …]
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp92 OptLevel == CodeGenOpt::None) { in selectTarget()
93 OptLevel = CodeGenOpt::Less; in selectTarget()
101 OptLevel); in selectTarget()
/external/llvm/tools/opt/
Dopt.cpp214 unsigned OptLevel, unsigned SizeLevel) { in AddOptimizationPasses() argument
218 Builder.OptLevel = OptLevel; in AddOptimizationPasses()
223 } else if (OptLevel > 1) { in AddOptimizationPasses()
224 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel); in AddOptimizationPasses()
230 DisableLoopUnrolling : OptLevel == 0; in AddOptimizationPasses()
237 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
241 DisableSLPVectorization ? false : OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
251 Builder.OptLevel = 0; in AddStandardLinkPasses()
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
Dpassmgr_builder_ocaml.c52 CAMLprim value llvm_pmbuilder_set_opt_level(value OptLevel, value PMB) { in llvm_pmbuilder_set_opt_level() argument
53 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(OptLevel)); in llvm_pmbuilder_set_opt_level()
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp42 XCoreDAGToDAGISel(XCoreTargetMachine &TM, CodeGenOpt::Level OptLevel) in XCoreDAGToDAGISel() argument
43 : SelectionDAGISel(TM, OptLevel) {} in XCoreDAGToDAGISel()
84 CodeGenOpt::Level OptLevel) { in createXCoreISelDag() argument
85 return new XCoreDAGToDAGISel(TM, OptLevel); in createXCoreISelDag()
DXCore.h32 CodeGenOpt::Level OptLevel);
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUTargetMachine.cpp45 CodeGenOpt::Level OptLevel in AMDGPUTargetMachine() argument
48 LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OptLevel), in AMDGPUTargetMachine()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp262 SavedOptLevel = IS.OptLevel; in OptLevelChanger()
265 IS.OptLevel = NewOptLevel; in OptLevelChanger()
281 if (IS.OptLevel == SavedOptLevel) in ~OptLevelChanger()
285 DEBUG(dbgs() << "\tBefore: -O" << IS.OptLevel in ~OptLevelChanger()
287 IS.OptLevel = SavedOptLevel; in ~OptLevelChanger()
297 CodeGenOpt::Level OptLevel) { in createDefaultScheduler() argument
302 if (auto *SchedulerCtor = ST.getDAGScheduler(OptLevel)) { in createDefaultScheduler()
303 return SchedulerCtor(IS, OptLevel); in createDefaultScheduler()
306 if (OptLevel == CodeGenOpt::None || in createDefaultScheduler()
309 return createSourceListDAGScheduler(IS, OptLevel); in createDefaultScheduler()
[all …]
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp36 OptLevel("O", variable
245 if (OptLevel < '0' || OptLevel > '3') in main()
329 CodeGen.setOptLevel(OptLevel - '0'); in main()
/external/llvm/include/llvm/LTO/
DLTOCodeGenerator.h84 void setOptLevel(unsigned OptLevel);
188 unsigned OptLevel = 2; member
/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp96 MSP430DAGToDAGISel(MSP430TargetMachine &TM, CodeGenOpt::Level OptLevel) in MSP430DAGToDAGISel() argument
97 : SelectionDAGISel(TM, OptLevel) {} in MSP430DAGToDAGISel()
127 CodeGenOpt::Level OptLevel) { in createMSP430ISelDag() argument
128 return new MSP430DAGToDAGISel(TM, OptLevel); in createMSP430ISelDag()
356 IsLegalToFold(N1, Op, Op, OptLevel)) { in SelectIndexedBinOp()
DMSP430.h41 CodeGenOpt::Level OptLevel);
/external/llvm/include/llvm-c/
DExecutionEngine.h45 unsigned OptLevel; member
85 unsigned OptLevel,
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp247 unsigned OptLevel, in lp_build_create_mcjit_compiler_for_module() argument
256 .setOptLevel((CodeGenOpt::Level)OptLevel); in lp_build_create_mcjit_compiler_for_module()
Dlp_bld_misc.h61 unsigned OptLevel,
/external/llvm/tools/lto/
Dlto.cpp29 OptLevel("O", variable
154 if (OptLevel < '0' || OptLevel > '3') in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
156 CG->setOptLevel(OptLevel - '0'); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/external/llvm/lib/MC/
DMCCodeGenInfo.cpp22 OptLevel = OL; in initMCCodeGenInfo()
/external/llvm/lib/Target/X86/
DX86.h29 CodeGenOpt::Level OptLevel);
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c252 value Features, value OptLevel, value RelocMode, in llvm_create_targetmachine_native() argument
264 if(OptLevel != Val_int(0)) in llvm_create_targetmachine_native()
265 OptLevelEnum = Int_val(Field(OptLevel, 0)); in llvm_create_targetmachine_native()

123