Home
last modified time | relevance | path

Searched refs:MPM (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp230 void PassManagerBuilder::addPGOInstrPasses(legacy::PassManagerBase &MPM) { in addPGOInstrPasses() argument
232 MPM.add(createPGOInstrumentationGenLegacyPass()); in addPGOInstrPasses()
236 MPM.add(createInstrProfilingLegacyPass(Options)); in addPGOInstrPasses()
239 MPM.add(createPGOInstrumentationUseLegacyPass(PGOInstrUse)); in addPGOInstrPasses()
242 legacy::PassManagerBase &MPM) { in addFunctionSimplificationPasses() argument
245 MPM.add(createSROAPass()); in addFunctionSimplificationPasses()
246 MPM.add(createEarlyCSEPass()); // Catch trivial redundancies in addFunctionSimplificationPasses()
248 MPM.add(createSpeculativeExecutionIfHasBranchDivergencePass()); in addFunctionSimplificationPasses()
249 MPM.add(createJumpThreadingPass()); // Thread jumps. in addFunctionSimplificationPasses()
250 MPM.add(createCorrelatedValuePropagationPass()); // Propagate conditionals in addFunctionSimplificationPasses()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPassManagerBuilder.cpp97 void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { in populateModulePassManager() argument
101 MPM.add(Inliner); in populateModulePassManager()
108 if (LibraryInfo) MPM.add(new TargetLibraryInfo(*LibraryInfo)); in populateModulePassManager()
110 addInitialAliasAnalysisPasses(MPM); in populateModulePassManager()
113 MPM.add(createGlobalOptimizerPass()); // Optimize out global vars in populateModulePassManager()
115 MPM.add(createIPSCCPPass()); // IP SCCP in populateModulePassManager()
116 MPM.add(createDeadArgEliminationPass()); // Dead argument elimination in populateModulePassManager()
118 MPM.add(createInstructionCombiningPass());// Clean up after IPCP & DAE in populateModulePassManager()
119 MPM.add(createCFGSimplificationPass()); // Clean up after IPCP & DAE in populateModulePassManager()
124 MPM.add(createPruneEHPass()); // Remove dead EH info in populateModulePassManager()
[all …]
/external/llvm/lib/Passes/
DPassBuilder.cpp234 void PassBuilder::addPerModuleDefaultPipeline(ModulePassManager &MPM, in addPerModuleDefaultPipeline() argument
244 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(EarlyFPM))); in addPerModuleDefaultPipeline()
247 void PassBuilder::addLTOPreLinkDefaultPipeline(ModulePassManager &MPM, in addLTOPreLinkDefaultPipeline() argument
251 addPerModuleDefaultPipeline(MPM, Level, DebugLogging); in addLTOPreLinkDefaultPipeline()
254 void PassBuilder::addLTODefaultPipeline(ModulePassManager &MPM, in addLTODefaultPipeline() argument
262 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(LateFPM))); in addLTODefaultPipeline()
319 bool PassBuilder::parseModulePassName(ModulePassManager &MPM, StringRef Name, in parseModulePassName() argument
337 addPerModuleDefaultPipeline(MPM, L, DebugLogging); in parseModulePassName()
339 addLTOPreLinkDefaultPipeline(MPM, L, DebugLogging); in parseModulePassName()
342 addLTODefaultPipeline(MPM, L, DebugLogging); in parseModulePassName()
[all …]
/external/llvm/tools/opt/
DNewPMDriver.cpp81 ModulePassManager MPM(DebugPM); in runPassPipeline() local
83 MPM.addPass(VerifierPass()); in runPassPipeline()
85 if (!PB.parsePassPipeline(MPM, PassPipeline, VK == VK_VerifyEachPass, in runPassPipeline()
92 MPM.addPass(VerifierPass()); in runPassPipeline()
99 MPM.addPass( in runPassPipeline()
103 MPM.addPass( in runPassPipeline()
112 MPM.run(M, MAM); in runPassPipeline()
Dopt.cpp231 static void AddOptimizationPasses(legacy::PassManagerBase &MPM, in AddOptimizationPasses() argument
273 Builder.populateModulePassManager(MPM); in AddOptimizationPasses()
/external/llvm/include/llvm/Passes/
DPassBuilder.h172 void addPerModuleDefaultPipeline(ModulePassManager &MPM,
183 void addLTOPreLinkDefaultPipeline(ModulePassManager &MPM,
193 void addLTODefaultPipeline(ModulePassManager &MPM, OptimizationLevel Level,
224 bool parsePassPipeline(ModulePassManager &MPM, StringRef PipelineText,
245 bool parseModulePassName(ModulePassManager &MPM, StringRef Name,
258 bool parseModulePassPipeline(ModulePassManager &MPM, StringRef &PipelineText,
/external/llvm/unittests/IR/
DPassManagerTest.cpp228 ModulePassManager MPM; in TEST_F() local
246 MPM = std::move(NestedMPM); in TEST_F()
251 MPM.addPass(TestModulePass(ModulePassRunCount)); in TEST_F()
261 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
266 MPM.addPass(TestPreservingModulePass()); in TEST_F()
275 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
279 MPM.addPass(TestMinPreservingModulePass()); in TEST_F()
287 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
300 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
303 MPM.run(*M, MAM); in TEST_F()
DVerifierTest.cpp193 ModulePassManager MPM(true); in TEST() local
194 MPM.addPass(VerifierPass(false)); in TEST()
197 MPM.run(M, MAM); in TEST()
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h165 void addPGOInstrPasses(legacy::PassManagerBase &MPM);
166 void addFunctionSimplificationPasses(legacy::PassManagerBase &MPM);
167 void addInstructionCombiningPass(legacy::PassManagerBase &MPM) const;
176 void populateModulePassManager(legacy::PassManagerBase &MPM);
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp277 ModulePassManager MPM(/*DebugLogging*/ true); in TEST() local
279 MPM.addPass(TestModulePass(ModulePassRunCount1)); in TEST()
294 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM1))); in TEST()
296 MPM.run(*M, MAM); in TEST()
DLoopPassManagerTest.cpp162 ModulePassManager MPM(true); in TEST_F() local
187 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
188 MPM.run(*M, MAM); in TEST_F()
/external/clang/lib/CodeGen/
DBackendUtil.cpp304 legacy::PassManager *MPM) { in addSymbolRewriterPass() argument
311 MPM->add(createRewriteSymbolsPass(DL)); in addSymbolRewriterPass()
365 legacy::PassManager *MPM = getPerModulePasses(); in CreatePasses() local
371 PMBuilder.populateThinLTOPassManager(*MPM); in CreatePasses()
461 addSymbolRewriterPass(CodeGenOpts, MPM); in CreatePasses()
476 MPM->add(createGCOVProfilerPass(Options)); in CreatePasses()
478 MPM->add(createStripSymbolsPass(true)); in CreatePasses()
485 MPM->add(createInstrProfilingLegacyPass(Options)); in CreatePasses()
497 MPM->add(createPruneEHPass()); in CreatePasses()
498 MPM->add(createSampleProfileLoaderPass(CodeGenOpts.SampleProfileFile)); in CreatePasses()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
DPassManagerBuilder.h118 void populateModulePassManager(PassManagerBase &MPM);
/external/swiftshader/third_party/LLVM/tools/opt/
Dopt.cpp408 static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, in AddOptimizationPasses() argument
428 Builder.populateModulePassManager(MPM); in AddOptimizationPasses()
/external/autotest/apache/conf/
Ddjango-directives12 # Django, when running under mod_python, requires the prefork MPM, so just
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt21582 "MPM",
21850 "MPM",
/external/lisa/ipynb/sched_dvfs/
Dsmoke_test.ipynb953 …IDPvKzRHSZKKWdD0BCRJGgG3t92+DXhylzFPAjZ29G3oMq7lrvoxOy0zPxkR7wL+\nFnhKRHwY+MPM/G6X4QcA+0bE5rodVD+M…