Home
last modified time | relevance | path

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

1234567

/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXTargetMachine.cpp114 CodeGenOpt::Level OptLevel) { in addInstSelector() argument
115 PM.add(createPTXISelDag(*this, OptLevel)); in addInstSelector()
120 CodeGenOpt::Level OptLevel) { in addPostRegAlloc() argument
129 CodeGenOpt::Level OptLevel, in addPassesToEmitFile() argument
135 if (addCommonCodeGenPasses(PM, OptLevel, DisableVerify, Context)) in addPassesToEmitFile()
194 CodeGenOpt::Level OptLevel, in addCommonCodeGenPasses() argument
216 if (OptLevel != CodeGenOpt::None) { in addCommonCodeGenPasses()
230 if (OptLevel != CodeGenOpt::None) in addCommonCodeGenPasses()
235 addPreISel(PM, OptLevel); in addCommonCodeGenPasses()
257 PM.add(new MachineFunctionAnalysis(*this, OptLevel)); in addCommonCodeGenPasses()
[all …]
DPTX.h29 CodeGenOpt::Level OptLevel);
32 CodeGenOpt::Level OptLevel);
35 CodeGenOpt::Level OptLevel);
DPTXMFInfoExtract.cpp36 PTXMFInfoExtract(PTXTargetMachine &TM, CodeGenOpt::Level OptLevel) in PTXMFInfoExtract() argument
66 CodeGenOpt::Level OptLevel) { in createPTXMFInfoExtract() argument
67 return new PTXMFInfoExtract(TM, OptLevel); in createPTXMFInfoExtract()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLLVMTargetMachine.cpp129 CodeGenOpt::Level OptLevel, in addPassesToEmitFile() argument
133 if (addCommonCodeGenPasses(PM, OptLevel, DisableVerify, Context)) in addPassesToEmitFile()
217 CodeGenOpt::Level OptLevel, in addPassesToEmitMachineCode() argument
221 if (addCommonCodeGenPasses(PM, OptLevel, DisableVerify, Ctx)) in addPassesToEmitMachineCode()
224 addCodeEmitter(PM, OptLevel, JCE); in addPassesToEmitMachineCode()
238 CodeGenOpt::Level OptLevel, in addPassesToEmitMC() argument
241 if (addCommonCodeGenPasses(PM, OptLevel, DisableVerify, Ctx)) in addPassesToEmitMC()
293 CodeGenOpt::Level OptLevel, in addCommonCodeGenPasses() argument
311 if (OptLevel != CodeGenOpt::None && !DisableLSR) { in addCommonCodeGenPasses()
347 if (OptLevel != CodeGenOpt::None && !DisableCGP) in addCommonCodeGenPasses()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMTargetMachine.cpp98 CodeGenOpt::Level OptLevel) { in addPreISel() argument
99 if (OptLevel != CodeGenOpt::None && EnableGlobalMerge) in addPreISel()
106 CodeGenOpt::Level OptLevel) { in addInstSelector() argument
107 PM.add(createARMISelDag(*this, OptLevel)); in addInstSelector()
112 CodeGenOpt::Level OptLevel) { in addPreRegAlloc() argument
114 if (OptLevel != CodeGenOpt::None && !Subtarget.isThumb1Only()) in addPreRegAlloc()
116 if (OptLevel != CodeGenOpt::None && Subtarget.isCortexA9()) in addPreRegAlloc()
122 CodeGenOpt::Level OptLevel) { in addPreSched2() argument
124 if (OptLevel != CodeGenOpt::None) { in addPreSched2()
135 if (OptLevel != CodeGenOpt::None) { in addPreSched2()
[all …]
DARMTargetMachine.h53 virtual bool addPreISel(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
54 virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
55 virtual bool addPreRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
56 virtual bool addPreSched2(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
57 virtual bool addPreEmitPass(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
58 virtual bool addCodeEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel,
/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/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSchedulerRegistry.h69 CodeGenOpt::Level OptLevel);
74 CodeGenOpt::Level OptLevel);
79 CodeGenOpt::Level OptLevel);
97 CodeGenOpt::Level OptLevel);
102 CodeGenOpt::Level OptLevel);
107 CodeGenOpt::Level OptLevel);
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPassManagerBuilder.cpp34 OptLevel = 2; in PassManagerBuilder()
87 if (OptLevel == 0) return; in populateFunctionPassManager()
99 if (OptLevel == 0) { in populateModulePassManager()
131 if (OptLevel > 2) in populateModulePassManager()
150 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
159 if (OptLevel > 1) in populateModulePassManager()
183 if (OptLevel > 2) in populateModulePassManager()
186 if (OptLevel > 1) in populateModulePassManager()
279 unsigned OptLevel) { in LLVMPassManagerBuilderSetOptLevel() argument
281 Builder->OptLevel = OptLevel; in LLVMPassManagerBuilderSetOptLevel()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86TargetMachine.cpp112 CodeGenOpt::Level OptLevel) { in addInstSelector() argument
114 PM.add(createX86ISelDag(*this, OptLevel)); in addInstSelector()
124 CodeGenOpt::Level OptLevel) { in addPreRegAlloc() argument
130 CodeGenOpt::Level OptLevel) { in addPostRegAlloc() argument
136 CodeGenOpt::Level OptLevel) { in addPreEmitPass() argument
138 if (OptLevel != CodeGenOpt::None && in addPreEmitPass()
153 CodeGenOpt::Level OptLevel, in addCodeEmitter() argument
DX86TargetMachine.h69 virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
70 virtual bool addPreRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
71 virtual bool addPostRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
72 virtual bool addPreEmitPass(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
73 virtual bool addCodeEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel,
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp129 OptLevel = 2; in PassManagerBuilder()
207 bool ExpensiveCombines = OptLevel > 2; in addInstructionCombiningPass()
219 if (OptLevel == 0) return; in populateFunctionPassManager()
262 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in addFunctionSimplificationPasses()
276 if (OptLevel > 1) { in addFunctionSimplificationPasses()
310 if (OptLevel > 1 && UseGVNAfterVectorization) in addFunctionSimplificationPasses()
338 if (OptLevel == 0) { in populateModulePassManager()
406 if (OptLevel > 2) in populateModulePassManager()
416 if (!DisableUnitAtATime && OptLevel > 1 && !PrepareForLTO && in populateModulePassManager()
505 if (OptLevel > 1 && ExtraVectorizerPasses) { in populateModulePassManager()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp41 CodeGenOpt::Level OptLevel) in WebAssemblyDAGToDAGISel() argument
42 : SelectionDAGISel(tm, OptLevel), Subtarget(nullptr), ForCodeSize(false) { in WebAssemblyDAGToDAGISel()
116 CodeGenOpt::Level OptLevel) { in createWebAssemblyISelDag() argument
117 return new WebAssemblyDAGToDAGISel(TM, OptLevel); in createWebAssemblyISelDag()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsTargetMachine.cpp81 addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel) in addInstSelector() argument
91 addPreEmitPass(PassManagerBase &PM, CodeGenOpt::Level OptLevel) in addPreEmitPass() argument
98 addPreRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel) { in addPreRegAlloc() argument
107 addPostRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel) { in addPostRegAlloc() argument
113 CodeGenOpt::Level OptLevel, in addCodeEmitter() argument
DMipsTargetMachine.h71 CodeGenOpt::Level OptLevel);
73 CodeGenOpt::Level OptLevel);
75 CodeGenOpt::Level OptLevel);
78 CodeGenOpt::Level OptLevel,
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430TargetMachine.cpp41 CodeGenOpt::Level OptLevel) { in addInstSelector() argument
43 PM.add(createMSP430ISelDag(*this, OptLevel)); in addInstSelector()
48 CodeGenOpt::Level OptLevel) { in addPreEmitPass() argument
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DExecutionEngine.h135 CodeGenOpt::Level OptLevel,
142 CodeGenOpt::Level OptLevel,
186 CodeGenOpt::Level OptLevel =
199 CodeGenOpt::Level OptLevel =
462 CodeGenOpt::Level OptLevel; variable
476 OptLevel = CodeGenOpt::Default; in InitEngine()
517 OptLevel = l; in setOptLevel()
/external/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp61 CodeGenOpt::Level OptLevel) in LanaiTargetMachine() argument
64 CodeModel, OptLevel), in LanaiTargetMachine()
65 Subtarget(TT, Cpu, FeatureString, *this, Options, CodeModel, OptLevel), in LanaiTargetMachine()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.h81 JITMemoryManager *JMM, CodeGenOpt::Level OptLevel,
100 CodeGenOpt::Level OptLevel =
105 return ExecutionEngine::createJIT(M, Err, JMM, OptLevel, GVsWithCode,
188 CodeGenOpt::Level OptLevel,
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp91 OptLevel == CodeGenOpt::None) { in selectTarget()
92 OptLevel = CodeGenOpt::Less; in selectTarget()
100 OptLevel); in selectTarget()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCTargetMachine.cpp64 CodeGenOpt::Level OptLevel) { in addInstSelector() argument
71 CodeGenOpt::Level OptLevel) { in addPreEmitPass() argument
78 CodeGenOpt::Level OptLevel, in addCodeEmitter() argument
DPPCTargetMachine.h69 virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
70 virtual bool addPreEmitPass(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
71 virtual bool addCodeEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel,
/external/llvm/tools/opt/
Dopt.cpp233 TargetMachine *TM, unsigned OptLevel, in AddOptimizationPasses() argument
239 Builder.OptLevel = OptLevel; in AddOptimizationPasses()
244 } else if (OptLevel > 1) { in AddOptimizationPasses()
245 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel); in AddOptimizationPasses()
251 DisableLoopUnrolling : OptLevel == 0; in AddOptimizationPasses()
258 Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
262 DisableSLPVectorization ? false : OptLevel > 1 && SizeLevel < 2; in AddOptimizationPasses()
280 Builder.OptLevel = 0; in AddStandardLinkPasses()
/external/clang/lib/CodeGen/
DBackendUtil.cpp162 if (Builder.OptLevel > 0) in addObjCARCAPElimPass()
167 if (Builder.OptLevel > 0) in addObjCARCExpandPass()
172 if (Builder.OptLevel > 0) in addObjCARCOptPass()
244 if (Builder.OptLevel > 0) { in addMemorySanitizerPass()
318 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses() local
324 OptLevel = 0; in CreatePasses()
340 createFunctionInliningPass(OptLevel, CodeGenOpts.OptimizeSize); in CreatePasses()
345 if (OptLevel == 0) in CreatePasses()
353 PMBuilder.OptLevel = OptLevel; in CreatePasses()
562 CodeGenOpt::Level OptLevel = CodeGenOpt::Default; in CreateTargetMachine() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelDAGToDAG.cpp40 BlackfinDAGToDAGISel(BlackfinTargetMachine &TM, CodeGenOpt::Level OptLevel) in BlackfinDAGToDAGISel() argument
41 : SelectionDAGISel(TM, OptLevel) {} in BlackfinDAGToDAGISel()
69 CodeGenOpt::Level OptLevel) { in createBlackfinISelDag() argument
70 return new BlackfinDAGToDAGISel(TM, OptLevel); in createBlackfinISelDag()

1234567