Lines Matching refs:MPM
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()
371 bool PassBuilder::parsePassPipeline(ModulePassManager &MPM, in parsePassPipeline() argument
377 if (parseModulePassPipeline(MPM, PipelineText, VerifyEachPass, DebugLogging)) in parsePassPipeline()
395 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM))); in parsePassPipeline()
407 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in parsePassPipeline()