• Home
  • Raw
  • Download

Lines Matching refs:MPM

118   void CreatePasses(legacy::PassManager &MPM, legacy::FunctionPassManager &FPM);
398 legacy::PassManager *MPM) { in addSymbolRewriterPass() argument
405 MPM->add(createRewriteSymbolsPass(DL)); in addSymbolRewriterPass()
617 void EmitAssemblyHelper::CreatePasses(legacy::PassManager &MPM, in CreatePasses() argument
638 MPM.add(createLowerTypeTestsPass(/*ExportSummary=*/nullptr, in CreatePasses()
678 MPM.add(new TargetLibraryInfoWrapperPass(*TLII)); in CreatePasses()
787 addSymbolRewriterPass(CodeGenOpts, &MPM); in CreatePasses()
792 MPM.add(createUniqueInternalLinkageNamesPass()); in CreatePasses()
796 MPM.add(createGCOVProfilerPass(*Options)); in CreatePasses()
798 MPM.add(createStripSymbolsPass(true)); in CreatePasses()
803 MPM.add(createInstrProfilingLegacyPass(*Options, false)); in CreatePasses()
835 PMBuilder.populateModulePassManager(MPM); in CreatePasses()
1188 ModulePassManager MPM(CodeGenOpts.DebugPassManager); in EmitAssemblyWithNewPassManager() local
1205 [](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in EmitAssemblyWithNewPassManager() argument
1206 MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr, in EmitAssemblyWithNewPassManager()
1213 [](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in EmitAssemblyWithNewPassManager() argument
1214 MPM.addPass(createModuleToFunctionPassAdaptor( in EmitAssemblyWithNewPassManager()
1231 [this](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in EmitAssemblyWithNewPassManager() argument
1233 MPM.addPass(ModuleSanitizerCoveragePass( in EmitAssemblyWithNewPassManager()
1243 [TrackOrigins, Recover](ModulePassManager &MPM, in EmitAssemblyWithNewPassManager()
1245 MPM.addPass(MemorySanitizerPass({TrackOrigins, Recover, false})); in EmitAssemblyWithNewPassManager()
1246 MPM.addPass(createModuleToFunctionPassAdaptor( in EmitAssemblyWithNewPassManager()
1252 [](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in EmitAssemblyWithNewPassManager() argument
1253 MPM.addPass(ThreadSanitizerPass()); in EmitAssemblyWithNewPassManager()
1254 MPM.addPass( in EmitAssemblyWithNewPassManager()
1267 UseOdrIndicator](ModulePassManager &MPM, in EmitAssemblyWithNewPassManager()
1269 MPM.addPass( in EmitAssemblyWithNewPassManager()
1271 MPM.addPass(ModuleAddressSanitizerPass(CompileKernel, Recover, in EmitAssemblyWithNewPassManager()
1274 MPM.addPass(createModuleToFunctionPassAdaptor( in EmitAssemblyWithNewPassManager()
1286 [CompileKernel, Recover](ModulePassManager &MPM, in EmitAssemblyWithNewPassManager() argument
1288 MPM.addPass(HWAddressSanitizerPass(CompileKernel, Recover)); in EmitAssemblyWithNewPassManager()
1297 [this](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in EmitAssemblyWithNewPassManager() argument
1298 MPM.addPass( in EmitAssemblyWithNewPassManager()
1305 [Options](ModulePassManager &MPM, in EmitAssemblyWithNewPassManager()
1307 MPM.addPass(GCOVProfilerPass(*Options)); in EmitAssemblyWithNewPassManager()
1312 [Options](ModulePassManager &MPM, in EmitAssemblyWithNewPassManager() argument
1314 MPM.addPass(InstrProfiling(*Options, false)); in EmitAssemblyWithNewPassManager()
1318 MPM = PB.buildO0DefaultPipeline(Level, IsLTO || IsThinLTO); in EmitAssemblyWithNewPassManager()
1320 MPM = PB.buildThinLTOPreLinkDefaultPipeline(Level); in EmitAssemblyWithNewPassManager()
1322 MPM = PB.buildLTOPreLinkDefaultPipeline(Level); in EmitAssemblyWithNewPassManager()
1324 MPM = PB.buildPerModuleDefaultPipeline(Level); in EmitAssemblyWithNewPassManager()
1330 MPM.addPass(UniqueInternalLinkageNamesPass()); in EmitAssemblyWithNewPassManager()
1333 MPM.addPass(createModuleToFunctionPassAdaptor(MemProfilerPass())); in EmitAssemblyWithNewPassManager()
1334 MPM.addPass(ModuleMemProfilerPass()); in EmitAssemblyWithNewPassManager()
1358 MPM.addPass(ThinLTOBitcodeWriterPass(*OS, ThinLinkOS ? &ThinLinkOS->os() in EmitAssemblyWithNewPassManager()
1374 MPM.addPass( in EmitAssemblyWithNewPassManager()
1380 MPM.addPass(PrintModulePass(*OS, "", CodeGenOpts.EmitLLVMUseLists)); in EmitAssemblyWithNewPassManager()
1407 MPM.run(*TheModule, MAM); in EmitAssemblyWithNewPassManager()