Lines Matching refs:MAM
114 int &AnalyzedFunctionCount, ModuleAnalysisManager &MAM, in TestFunctionPass()
117 AnalyzedFunctionCount(AnalyzedFunctionCount), MAM(MAM), in TestFunctionPass()
128 MAM.getCachedResult<TestModuleAnalysis>(*F.getParent())) { in run()
149 ModuleAnalysisManager &MAM; member
425 ModuleAnalysisManager MAM(/*DebugLogging*/ true); in TEST_F() local
427 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F()
428 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F()
429 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F()
431 MAM.registerPass([&] { return PassInstrumentationAnalysis(); }); in TEST_F()
449 AnalyzedFunctionCount1, MAM)); in TEST_F()
467 AnalyzedFunctionCount2, MAM)); in TEST_F()
480 AnalyzedFunctionCount3, MAM)); in TEST_F()
494 AnalyzedFunctionCount4, MAM)); in TEST_F()
507 AnalyzedFunctionCount5, MAM, in TEST_F()
512 MPM.run(*M, MAM); in TEST_F()
624 TestIndirectFunctionAnalysis(int &Runs, ModuleAnalysisManager &MAM) in TestIndirectFunctionAnalysis()
625 : Runs(Runs), MAM(MAM) {} in TestIndirectFunctionAnalysis()
635 auto &MDep = *MAM.getCachedResult<TestModuleAnalysis>(*F.getParent()); in run()
648 ModuleAnalysisManager &MAM; member
707 ModuleAnalysisManager MAM(/*DebugLogging*/ true); in TEST_F() local
712 [&] { return TestIndirectFunctionAnalysis(IndirectAnalysisRuns, MAM); }); in TEST_F()
717 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F()
718 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F()
719 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F()
722 MAM.registerPass([&] { return PassInstrumentationAnalysis(&PIC); }); in TEST_F()
788 MPM.run(*M, MAM); in TEST_F()