Home
last modified time | relevance | path

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

1234567891011

/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-7.0/llvm/include/llvm/Transforms/Scalar/
DLoopUnrollPass.h24 const int OptLevel; variable
27 explicit LoopFullUnrollPass(int OptLevel = 2) : OptLevel(OptLevel) {} in OptLevel() function
37 const int OptLevel; variable
42 explicit LoopUnrollPass(int OptLevel = 2) : OptLevel(OptLevel) {} in OptLevel() argument
DLoopUnrollAndJamPass.h25 const int OptLevel; variable
28 explicit LoopUnrollAndJamPass(int OptLevel = 2) : OptLevel(OptLevel) {} in OptLevel() function
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp156 OptLevel = 2; in PassManagerBuilder()
243 bool ExpensiveCombines = OptLevel > 2; in addInstructionCombiningPass()
256 if (OptLevel == 0) return; in populateFunctionPassManager()
272 if (OptLevel > 0 && SizeLevel == 0 && !DisablePreInliner && in addPGOInstrPasses()
306 if (OptLevel > 0) in addPGOInstrPasses()
329 if (OptLevel > 2) in addFunctionSimplificationPasses()
358 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3, DivergentTarget)); in addFunctionSimplificationPasses()
376 MPM.add(createSimpleLoopUnrollPass(OptLevel)); // Unroll small loops in addFunctionSimplificationPasses()
380 if (OptLevel > 1) { in addFunctionSimplificationPasses()
428 if (OptLevel == 0) { in populateModulePassManager()
[all …]
/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-7.0/llvm/include/llvm/CodeGen/
DSchedulerRegistry.h62 CodeGenOpt::Level OptLevel);
67 CodeGenOpt::Level OptLevel);
86 CodeGenOpt::Level OptLevel);
92 CodeGenOpt::Level OptLevel);
96 CodeGenOpt::Level OptLevel);
101 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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp257 OptimizationRemarkEmitter &ORE, int OptLevel) { in tryToUnrollAndJamLoop() argument
274 L, SE, TTI, OptLevel, None, None, None, None, None, None); in tryToUnrollAndJamLoop()
364 unsigned OptLevel; member in __anon841220ce0111::LoopUnrollAndJam
366 LoopUnrollAndJam(int OptLevel = 2) : LoopPass(ID), OptLevel(OptLevel) { in LoopUnrollAndJam() argument
389 tryToUnrollAndJamLoop(L, DT, LI, SE, TTI, AC, DI, ORE, OptLevel); in runOnLoop()
420 Pass *llvm::createLoopUnrollAndJamPass(int OptLevel) { in INITIALIZE_PASS_DEPENDENCY()
421 return new LoopUnrollAndJam(OptLevel); in INITIALIZE_PASS_DEPENDENCY()
441 &L, AR.DT, &AR.LI, AR.SE, AR.TTI, AR.AC, DI, *ORE, OptLevel); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp42 CodeGenOpt::Level OptLevel) in WebAssemblyDAGToDAGISel() argument
43 : SelectionDAGISel(tm, OptLevel), Subtarget(nullptr), ForCodeSize(false) { in WebAssemblyDAGToDAGISel()
110 CodeGenOpt::Level OptLevel) { in createWebAssemblyISelDag() argument
111 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/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/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/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/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()

1234567891011