Lines Matching defs:MPM
646 [&](ModulePassManager &MPM, OptimizationLevel Level) {
649 MPM.addPass(createModuleToFunctionPassAdaptor(KCFIPass()));
665 auto SanitizersCallback = [&](ModulePassManager &MPM,
669 MPM.addPass(SanitizerCoveragePass(
675 MPM.addPass(SanitizerBinaryMetadataPass(
687 MPM.addPass(MemorySanitizerPass(options));
693 MPM.addPass(RequireAnalysisPass<GlobalsAA, llvm::Module>());
700 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
708 MPM.addPass(ModuleThreadSanitizerPass());
709 MPM.addPass(createModuleToFunctionPassAdaptor(ThreadSanitizerPass()));
713 MPM.addPass(NumericalStabilitySanitizerPass());
726 MPM.addPass(AddressSanitizerPass(Opts, UseGlobalGC, UseOdrIndicator,
736 MPM.addPass(HWAddressSanitizerPass(
745 MPM.addPass(DataFlowSanitizerPass(LangOpts.NoSanitizeFiles));
750 [SanitizersCallback](ModulePassManager &MPM, OptimizationLevel Level) {
756 MPM.addPass(std::move(NewMPM));
882 [&](ModulePassManager &MPM, OptimizationLevel Level) {
883 MPM.addPass(AssignmentTrackingPass());
892 [&](ModulePassManager &MPM, OptimizationLevel Level) {
895 MPM.addPass(AssignmentTrackingPass());
944 ModulePassManager MPM;
947 MPM.addPass(VerifierPass());
959 [](ModulePassManager &MPM, OptimizationLevel Level) {
961 MPM.addPass(
965 [](ModulePassManager &MPM, OptimizationLevel Level) {
967 MPM.addPass(ObjCARCAPElimPass());
984 [](ModulePassManager &MPM, OptimizationLevel Level) {
985 MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
1008 [Options](ModulePassManager &MPM, OptimizationLevel Level) {
1009 MPM.addPass(GCOVProfilerPass(*Options));
1014 [Options](ModulePassManager &MPM, OptimizationLevel Level) {
1015 MPM.addPass(InstrProfilingLoweringPass(*Options, false));
1022 [](ModulePassManager &MPM, OptimizationLevel Level) {
1023 MPM.addPass(createModuleToFunctionPassAdaptor(MemProfilerPass()));
1024 MPM.addPass(ModuleMemProfilerPass());
1029 MPM.addPass(PB.buildFatLTODefaultPipeline(
1033 MPM.addPass(PB.buildThinLTOPreLinkDefaultPipeline(Level));
1035 MPM.addPass(PB.buildLTOPreLinkDefaultPipeline(Level));
1037 MPM.addPass(PB.buildPerModuleDefaultPipeline(Level));
1043 MPM.addPass(LinkInModulesPass(BC));
1051 MPM.addPass(VerifierPass());
1065 MPM.addPass(ThinLTOBitcodeWriterPass(
1068 MPM.addPass(PrintModulePass(*OS, "", CodeGenOpts.EmitLLVMUseLists,
1083 MPM.addPass(BitcodeWriterPass(*OS, CodeGenOpts.EmitLLVMUseLists,
1086 MPM.addPass(PrintModulePass(*OS, "", CodeGenOpts.EmitLLVMUseLists,
1098 MPM.printPipeline(outs(), [&PIC](StringRef ClassName) {
1108 MPM.addPass(HipStdParAllocationInterpositionPass());
1114 MPM.run(*TheModule, MAM);