Searched defs:OptLevel (Results 1 - 25 of 39) sorted by relevance

12

/external/llvm/include/llvm/MC/
H A DMCCodeGenInfo.h31 /// OptLevel - Optimization level.
33 CodeGenOpt::Level OptLevel; member in class:llvm::MCCodeGenInfo
44 CodeGenOpt::Level getOptLevel() const { return OptLevel; }
46 // Allow overriding OptLevel on a per-function basis.
47 void setOptLevel(CodeGenOpt::Level Level) { OptLevel = Level; }
/external/llvm/include/llvm-c/
H A DExecutionEngine.h46 unsigned OptLevel; member in struct:LLVMMCJITCompilerOptions
86 unsigned OptLevel,
127 unsigned OptLevel,
/external/llvm/lib/Target/
H A DTargetSubtargetInfo.cpp51 CodeGenOpt::Level OptLevel) const {
60 CodeGenOpt::Level OptLevel,
59 enablePostRAScheduler( CodeGenOpt::Level OptLevel, AntiDepBreakMode& Mode, RegClassVector& CriticalPathRCs) const argument
/external/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp60 static int computeThresholdFromOptLevels(unsigned OptLevel, argument
62 if (OptLevel > 2)
87 Pass *llvm::createFunctionInliningPass(unsigned OptLevel, argument
90 computeThresholdFromOptLevels(OptLevel, SizeOptLevel));
H A DPassManagerBuilder.cpp61 OptLevel = 2;
119 if (OptLevel == 0) return;
134 if (OptLevel == 0) {
178 if (OptLevel > 2)
200 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3));
210 if (OptLevel > 1)
234 if (OptLevel > 1 && UseGVNAfterVectorization)
275 if (OptLevel > 1) {
399 unsigned OptLevel) {
401 Builder->OptLevel
398 LLVMPassManagerBuilderSetOptLevel(LLVMPassManagerBuilderRef PMB, unsigned OptLevel) argument
[all...]
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
H A Dpassmgr_builder_ocaml.c54 CAMLprim value llvm_pmbuilder_set_opt_level(value OptLevel, value PMB) { argument
55 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(OptLevel));
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_misc.cpp247 unsigned OptLevel,
256 .setOptLevel((CodeGenOpt::Level)OptLevel);
245 lp_build_create_mcjit_compiler_for_module(LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, unsigned OptLevel, char **OutError) argument
/external/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h37 /// Builder.OptLevel = 2;
98 unsigned OptLevel; member in class:llvm::PassManagerBuilder
/external/llvm/lib/Target/Mips/
H A DMipsSubtarget.cpp180 MipsSubtarget::enablePostRAScheduler(CodeGenOpt::Level OptLevel, argument
187 return OptLevel >= CodeGenOpt::Aggressive;
/external/llvm/lib/Target/PowerPC/
H A DPPCSubtarget.cpp79 bool is64Bit, CodeGenOpt::Level OptLevel)
81 OptLevel(OptLevel),
174 if (OptLevel >= CodeGenOpt::Default) {
226 CodeGenOpt::Level OptLevel,
238 return OptLevel >= CodeGenOpt::Default;
77 PPCSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, PPCTargetMachine &TM, bool is64Bit, CodeGenOpt::Level OptLevel) argument
225 enablePostRAScheduler( CodeGenOpt::Level OptLevel, TargetSubtargetInfo::AntiDepBreakMode& Mode, RegClassVector& CriticalPathRCs) const argument
H A DPPCSubtarget.h109 /// OptLevel - What default optimization level we're emitting code for.
110 CodeGenOpt::Level OptLevel; member in class:llvm::PPCSubtarget
125 CodeGenOpt::Level OptLevel);
229 bool enablePostRAScheduler(CodeGenOpt::Level OptLevel,
/external/llvm/lib/Target/X86/
H A DX86Subtarget.cpp363 X86Subtarget::enablePostRAScheduler(CodeGenOpt::Level OptLevel, argument
368 return PostRAScheduler && OptLevel >= CodeGenOpt::Default;
/external/llvm/tools/opt/
H A Dopt.cpp202 /// based on selected optimization level, OptLevel. This routine
205 /// OptLevel - Optimization Level
207 unsigned OptLevel, unsigned SizeLevel) {
212 Builder.OptLevel = OptLevel;
217 } else if (OptLevel > 1) {
218 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel);
224 DisableLoopUnrolling : OptLevel == 0;
231 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2;
235 DisableSLPVectorization ? false : OptLevel >
206 AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, unsigned OptLevel, unsigned SizeLevel) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_misc.cpp247 unsigned OptLevel,
256 .setOptLevel((CodeGenOpt::Level)OptLevel);
245 lp_build_create_mcjit_compiler_for_module(LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, unsigned OptLevel, char **OutError) argument
/external/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp438 CodeGenOpt::Level OptLevel,
442 return PostRAScheduler && OptLevel >= CodeGenOpt::Default;
437 enablePostRAScheduler( CodeGenOpt::Level OptLevel, TargetSubtargetInfo::AntiDepBreakMode& Mode, RegClassVector& CriticalPathRCs) const argument
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp99 MSP430DAGToDAGISel(MSP430TargetMachine &TM, CodeGenOpt::Level OptLevel) argument
100 : SelectionDAGISel(TM, OptLevel),
132 CodeGenOpt::Level OptLevel) {
133 return new MSP430DAGToDAGISel(TM, OptLevel);
360 IsLegalToFold(N1, Op, Op, OptLevel)) {
131 createMSP430ISelDag(MSP430TargetMachine &TM, CodeGenOpt::Level OptLevel) argument
/external/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp43 XCoreDAGToDAGISel(XCoreTargetMachine &TM, CodeGenOpt::Level OptLevel) argument
44 : SelectionDAGISel(TM, OptLevel),
86 CodeGenOpt::Level OptLevel) {
87 return new XCoreDAGToDAGISel(TM, OptLevel);
85 createXCoreISelDag(XCoreTargetMachine &TM, CodeGenOpt::Level OptLevel) argument
/external/clang/lib/CodeGen/
H A DBackendUtil.cpp149 if (Builder.OptLevel > 0)
154 if (Builder.OptLevel > 0)
159 if (Builder.OptLevel > 0)
197 if (Builder.OptLevel > 0) {
221 unsigned OptLevel = CodeGenOpts.OptimizationLevel; local
227 OptLevel = 0;
232 PMBuilder.OptLevel = OptLevel;
305 createFunctionInliningPass(OptLevel, CodeGenOpts.OptimizeSize);
310 if (OptLevel
412 CodeGenOpt::Level OptLevel = CodeGenOpt::Default; local
[all...]
/external/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c195 llvm_ee_create_jit(LLVMModuleRef M, value OptLevel) { argument
198 if (LLVMCreateJITCompilerForModule(&JIT, M, Int_val(OptLevel), &Error))
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestBase.h279 , OptLevel(CodeGenOpt::None)
335 CodeGenOpt::Level OptLevel; member in class:llvm::MCJITTestBase
/external/llvm/bindings/ocaml/target/
H A Dtarget_ocaml.c283 value Features, value OptLevel, value RelocMode,
295 if(OptLevel != Val_int(0))
296 OptLevelEnum = Int_val(Field(OptLevel, 0));
282 llvm_create_targetmachine_native(value Triple, value CPU, value Features, value OptLevel, value RelocMode, value CodeModel, LLVMTargetRef Target) argument
/external/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h188 CodeGenOpt::Level OptLevel =
201 CodeGenOpt::Level OptLevel =
575 CodeGenOpt::Level OptLevel; member in class:llvm::EngineBuilder
641 OptLevel = l;
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp141 unsigned OptLevel,
147 .setOptLevel((CodeGenOpt::Level)OptLevel);
196 .setOptLevel((CodeGenOpt::Level)options.OptLevel)
229 unsigned OptLevel,
234 OptLevel, OutError);
139 LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, unsigned OptLevel, char **OutError) argument
227 LLVMCreateJITCompiler(LLVMExecutionEngineRef *OutJIT, LLVMModuleProviderRef MP, unsigned OptLevel, char **OutError) argument
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h173 CodeGenOpt::Level OptLevel; member in class:llvm::SelectionDAG
349 CodeGenOpt::Level OptLevel);
H A DSelectionDAGISel.h52 CodeGenOpt::Level OptLevel; member in class:llvm::SelectionDAGISel
100 CodeGenOpt::Level OptLevel,

Completed in 395 milliseconds

12