Home
last modified time | relevance | path

Searched refs:PassBuilder (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp196 static bool isOptimizingForSize(PassBuilder::OptimizationLevel Level) { in isOptimizingForSize()
198 case PassBuilder::O0: in isOptimizingForSize()
199 case PassBuilder::O1: in isOptimizingForSize()
200 case PassBuilder::O2: in isOptimizingForSize()
201 case PassBuilder::O3: in isOptimizingForSize()
204 case PassBuilder::Os: in isOptimizingForSize()
205 case PassBuilder::Oz: in isOptimizingForSize()
302 void PassBuilder::invokePeepholeEPCallbacks( in invokePeepholeEPCallbacks()
303 FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { in invokePeepholeEPCallbacks()
308 void PassBuilder::registerModuleAnalyses(ModuleAnalysisManager &MAM) { in registerModuleAnalyses()
[all …]
DCMakeLists.txt2 PassBuilder.cpp
/external/llvm/lib/Passes/
DPassBuilder.cpp210 void PassBuilder::registerModuleAnalyses(ModuleAnalysisManager &MAM) { in registerModuleAnalyses()
216 void PassBuilder::registerCGSCCAnalyses(CGSCCAnalysisManager &CGAM) { in registerCGSCCAnalyses()
222 void PassBuilder::registerFunctionAnalyses(FunctionAnalysisManager &FAM) { in registerFunctionAnalyses()
228 void PassBuilder::registerLoopAnalyses(LoopAnalysisManager &LAM) { in registerLoopAnalyses()
234 void PassBuilder::addPerModuleDefaultPipeline(ModulePassManager &MPM, in addPerModuleDefaultPipeline()
247 void PassBuilder::addLTOPreLinkDefaultPipeline(ModulePassManager &MPM, in addLTOPreLinkDefaultPipeline()
254 void PassBuilder::addLTODefaultPipeline(ModulePassManager &MPM, in addLTODefaultPipeline()
319 bool PassBuilder::parseModulePassName(ModulePassManager &MPM, StringRef Name, in parseModulePassName()
368 bool PassBuilder::parseCGSCCPassName(CGSCCPassManager &CGPM, StringRef Name) { in parseCGSCCPassName()
390 bool PassBuilder::parseFunctionPassName(FunctionPassManager &FPM, in parseFunctionPassName()
[all …]
DCMakeLists.txt2 PassBuilder.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DNewPMDriver.cpp116 bool tryParsePipelineText(PassBuilder &PB, StringRef PipelineText) { in tryParsePipelineText()
132 static void registerEPCallbacks(PassBuilder &PB, bool VerifyEachPass, in registerEPCallbacks()
136 FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
144 LoopPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
150 LoopPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
158 FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
164 CGSCCPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
170 FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
184 void RegisterPollyPasses(PassBuilder &);
216 PassBuilder PB(TM, P); in runPassPipeline()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassPlugin.h25 class PassBuilder; variable
53 void (*RegisterPassBuilderCallbacks)(PassBuilder &);
83 void registerPassBuilderCallbacks(PassBuilder &PB) const { in registerPassBuilderCallbacks()
DPassBuilder.h58 class PassBuilder {
174 explicit PassBuilder(TargetMachine *TM = nullptr,
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Passes/
DTestPlugin.cpp23 void registerCallbacks(PassBuilder &PB) { in registerCallbacks()
26 ArrayRef<PassBuilder::PipelineElement> InnerPipeline) { in registerCallbacks()
DPluginsTest.cpp55 PassBuilder PB; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp154 PassBuilder PB(TM, PGOOpt); in runNewPMPasses()
179 PassBuilder::OptimizationLevel OL; in runNewPMPasses()
185 OL = PassBuilder::O0; in runNewPMPasses()
188 OL = PassBuilder::O1; in runNewPMPasses()
191 OL = PassBuilder::O2; in runNewPMPasses()
194 OL = PassBuilder::O3; in runNewPMPasses()
212 PassBuilder PB(TM); in runNewPMCustomPasses()
/external/llvm/include/llvm/Passes/
DPassBuilder.h34 class PassBuilder {
124 explicit PassBuilder(TargetMachine *TM = nullptr) : TM(TM) {} in TM()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp132 PassBuilder PB(TM.get()); in LLVMFuzzerTestOneInput()
236 PassBuilder PB(TM.get()); in LLVMFuzzerInitialize()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp283 PassBuilder PB;
335 ArrayRef<PassBuilder::PipelineElement> InnerPipeline) { in PassBuilderCallbacksTest()
485 ModulePassManager &MPM, ArrayRef<PassBuilder::PipelineElement> Pipeline, in TEST_F()
/external/llvm/tools/opt/
DNewPMDriver.cpp56 PassBuilder PB(TM); in runPassPipeline()
/external/llvm/include/llvm/IR/
DPassManager.h404 template <typename PassBuilderT> bool registerPass(PassBuilderT PassBuilder) { in registerPass() argument
405 typedef decltype(PassBuilder()) PassT; in registerPass()
414 PassPtr.reset(new PassModelT(PassBuilder())); in registerPass()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPassManager.h739 bool registerPass(PassBuilderT &&PassBuilder) { in registerPass() argument
740 using PassT = decltype(PassBuilder()); in registerPass()
751 PassPtr.reset(new PassModelT(PassBuilder())); in registerPass()