Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/CodeGen/
DSchedulerRegistry.h69 CodeGenOpt::Level OptLevel);
74 CodeGenOpt::Level OptLevel);
93 CodeGenOpt::Level OptLevel);
99 CodeGenOpt::Level OptLevel);
103 CodeGenOpt::Level OptLevel);
108 CodeGenOpt::Level OptLevel);
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp89 OptLevel = 2; in PassManagerBuilder()
156 if (OptLevel == 0) return; in populateFunctionPassManager()
173 if (OptLevel == 0) { in populateModulePassManager()
221 if (OptLevel > 2) in populateModulePassManager()
244 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
256 if (OptLevel > 1) { in populateModulePassManager()
290 if (OptLevel > 1 && UseGVNAfterVectorization) in populateModulePassManager()
329 if (OptLevel > 1 && ExtraVectorizerPasses) { in populateModulePassManager()
340 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
348 if (OptLevel > 1 && ExtraVectorizerPasses) { 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/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.cpp155 if (Builder.OptLevel > 0) in addObjCARCAPElimPass()
160 if (Builder.OptLevel > 0) in addObjCARCExpandPass()
165 if (Builder.OptLevel > 0) in addObjCARCOptPass()
211 if (Builder.OptLevel > 0) { in addMemorySanitizerPass()
262 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses() local
268 OptLevel = 0; in CreatePasses()
273 PMBuilder.OptLevel = OptLevel; in CreatePasses()
352 createFunctionInliningPass(OptLevel, CodeGenOpts.OptimizeSize); in CreatePasses()
357 if (OptLevel == 0) in CreatePasses()
464 CodeGenOpt::Level OptLevel = CodeGenOpt::Default; in CreateTargetMachine() local
[all …]
/external/llvm/tools/opt/
Dopt.cpp208 unsigned OptLevel, unsigned SizeLevel) { in AddOptimizationPasses() argument
212 Builder.OptLevel = OptLevel; in AddOptimizationPasses()
217 } else if (OptLevel > 1) { in AddOptimizationPasses()
218 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel); in AddOptimizationPasses()
224 DisableLoopUnrolling : OptLevel == 0; in AddOptimizationPasses()
231 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
235 DisableSLPVectorization ? false : OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
245 Builder.OptLevel = 0; in AddStandardLinkPasses()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp94 OptLevel == CodeGenOpt::None) { in selectTarget()
95 OptLevel = CodeGenOpt::Less; in selectTarget()
103 OptLevel); in selectTarget()
DExecutionEngineBindings.cpp133 unsigned OptLevel, in LLVMCreateJITCompilerForModule() argument
139 .setOptLevel((CodeGenOpt::Level)OptLevel); in LLVMCreateJITCompilerForModule()
187 .setOptLevel((CodeGenOpt::Level)options.OptLevel) in LLVMCreateMCJITCompilerForModule()
221 unsigned OptLevel, in LLVMCreateJITCompiler() argument
226 OptLevel, OutError); in LLVMCreateJITCompiler()
/external/llvm/include/llvm-c/
DExecutionEngine.h45 unsigned OptLevel; member
85 unsigned OptLevel,
126 unsigned OptLevel,
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp30 OptLevel("O", variable
153 if (OptLevel < '0' || OptLevel > '3') { in main()
243 CodeGen.setOptLevel(OptLevel - '0'); in main()
/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/llvm/tools/lto/
Dlto.cpp27 OptLevel("O", variable
93 if (OptLevel < '0' || OptLevel > '3') in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
95 CG->setOptLevel(OptLevel - '0'); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/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/include/llvm/LTO/
DLTOCodeGenerator.h80 void setOptLevel(unsigned optLevel) { OptLevel = optLevel; } in setOptLevel()
173 unsigned OptLevel; member
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp261 SavedOptLevel = IS.OptLevel; in OptLevelChanger()
264 IS.OptLevel = NewOptLevel; in OptLevelChanger()
276 if (IS.OptLevel == SavedOptLevel) in ~OptLevelChanger()
280 DEBUG(dbgs() << "\tBefore: -O" << IS.OptLevel in ~OptLevelChanger()
282 IS.OptLevel = SavedOptLevel; in ~OptLevelChanger()
292 CodeGenOpt::Level OptLevel) { in createDefaultScheduler() argument
296 if (OptLevel == CodeGenOpt::None || in createDefaultScheduler()
299 return createSourceListDAGScheduler(IS, OptLevel); in createDefaultScheduler()
301 return createBURRListDAGScheduler(IS, OptLevel); in createDefaultScheduler()
303 return createHybridListDAGScheduler(IS, OptLevel); in createDefaultScheduler()
[all …]
/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()
355 IsLegalToFold(N1, Op, Op, OptLevel)) { in SelectIndexedBinOp()
DMSP430.h41 CodeGenOpt::Level 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/lib/MC/
DMCCodeGenInfo.cpp22 OptLevel = OL; in InitMCCodeGenInfo()
/external/llvm/lib/Target/
DTargetSubtargetInfo.cpp39 CodeGenOpt::Level OptLevel) const { in enableRALocalReassignment()
/external/llvm/lib/Target/X86/
DX86.h30 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