Searched refs:MPM (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
D | PassManagerBuilder.cpp | 170 legacy::PassManagerBase &MPM) { in populateModulePassManager() argument 175 MPM.add(Inliner); in populateModulePassManager() 185 MPM.add(createMergeFunctionsPass()); in populateModulePassManager() 187 MPM.add(createBarrierNoopPass()); in populateModulePassManager() 189 addExtensionsToPM(EP_EnabledOnOptLevel0, MPM); in populateModulePassManager() 195 MPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateModulePassManager() 197 addInitialAliasAnalysisPasses(MPM); in populateModulePassManager() 200 addExtensionsToPM(EP_ModuleOptimizerEarly, MPM); in populateModulePassManager() 202 MPM.add(createIPSCCPPass()); // IP SCCP in populateModulePassManager() 203 MPM.add(createGlobalOptimizerPass()); // Optimize out global vars in populateModulePassManager() [all …]
|
/external/llvm/tools/opt/ |
D | NewPMDriver.cpp | 64 ModulePassManager MPM(DebugPM); in runPassPipeline() local 66 MPM.addPass(VerifierPass()); in runPassPipeline() 68 if (!PB.parsePassPipeline(MPM, PassPipeline, VK == VK_VerifyEachPass, in runPassPipeline() 75 MPM.addPass(VerifierPass()); in runPassPipeline() 82 MPM.addPass( in runPassPipeline() 86 MPM.addPass( in runPassPipeline() 95 MPM.run(M, &MAM); in runPassPipeline()
|
D | opt.cpp | 206 static void AddOptimizationPasses(legacy::PassManagerBase &MPM, in AddOptimizationPasses() argument 238 Builder.populateModulePassManager(MPM); in AddOptimizationPasses()
|
/external/llvm/lib/Passes/ |
D | PassBuilder.cpp | 148 bool PassBuilder::parseModulePassName(ModulePassManager &MPM, StringRef Name) { in parseModulePassName() argument 151 MPM.addPass(CREATE_PASS); \ in parseModulePassName() 156 MPM.addPass(RequireAnalysisPass<decltype(CREATE_PASS)>()); \ in parseModulePassName() 160 MPM.addPass(InvalidateAnalysisPass<decltype(CREATE_PASS)>()); \ in parseModulePassName() 300 bool PassBuilder::parseModulePassPipeline(ModulePassManager &MPM, in parseModulePassPipeline() argument 319 MPM.addPass(std::move(NestedMPM)); in parseModulePassPipeline() 333 MPM.addPass( in parseModulePassPipeline() 348 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(NestedFPM))); in parseModulePassPipeline() 352 if (!parseModulePassName(MPM, PipelineText.substr(0, End))) in parseModulePassPipeline() 355 MPM.addPass(VerifierPass()); in parseModulePassPipeline() [all …]
|
/external/llvm/unittests/IR/ |
D | PassManagerTest.cpp | 243 ModulePassManager MPM; in TEST_F() local 261 MPM = std::move(NestedMPM); in TEST_F() 266 MPM.addPass(TestModulePass(ModulePassRunCount)); in TEST_F() 276 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 281 MPM.addPass(TestPreservingModulePass()); in TEST_F() 290 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 294 MPM.addPass(TestMinPreservingModulePass()); in TEST_F() 302 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 315 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 318 MPM.run(*M, &MAM); in TEST_F()
|
/external/llvm/utils/Misc/ |
D | mergefunctions.clang.svn.patch | 6 MPM->add(createStripSymbolsPass(true)); 10 + MPM->add(createMergeFunctionsPass()); 12 PMBuilder.populateModulePassManager(*MPM);
|
/external/llvm/include/llvm/Passes/ |
D | PassBuilder.h | 87 bool parsePassPipeline(ModulePassManager &MPM, StringRef PipelineText, 91 bool parseModulePassName(ModulePassManager &MPM, StringRef Name); 99 bool parseModulePassPipeline(ModulePassManager &MPM, StringRef &PipelineText,
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 251 legacy::PassManager *MPM) { in addSymbolRewriterPass() argument 258 MPM->add(createRewriteSymbolsPass(DL)); in addSymbolRewriterPass() 372 legacy::PassManager *MPM = getPerModulePasses(); in CreatePasses() local 374 addSymbolRewriterPass(CodeGenOpts, MPM); in CreatePasses() 389 MPM->add(createGCOVProfilerPass(Options)); in CreatePasses() 391 MPM->add(createStripSymbolsPass(true)); in CreatePasses() 397 MPM->add(createInstrProfilingPass(Options)); in CreatePasses() 400 PMBuilder.populateModulePassManager(*MPM); in CreatePasses()
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | PassManagerBuilder.h | 152 void populateModulePassManager(legacy::PassManagerBase &MPM);
|