Searched refs:TestModuleAnalysis (Results 1 – 4 of 4) sorted by relevance
51 class TestModuleAnalysis : public AnalysisInfoMixin<TestModuleAnalysis> { class58 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anonb36b4f6b0111::TestModuleAnalysis69 friend AnalysisInfoMixin<TestModuleAnalysis>;75 AnalysisKey TestModuleAnalysis::Key;107 if (TestModuleAnalysis::Result *TMA = in run()108 MAM.getCachedResult<TestModuleAnalysis>(*F.getParent())) in run()179 auto PAC = PA1.getChecker<TestModuleAnalysis>(); in TEST()226 EXPECT_FALSE(PA.getChecker<TestModuleAnalysis>().preserved()); in TEST()227 PA.preserve<TestModuleAnalysis>(); in TEST()229 EXPECT_TRUE(PA.getChecker<TestModuleAnalysis>().preserved()); in TEST()[all …]
51 class TestModuleAnalysis : public AnalysisInfoMixin<TestModuleAnalysis> { class58 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anon5a000c130111::TestModuleAnalysis69 friend AnalysisInfoMixin<TestModuleAnalysis>;75 char TestModuleAnalysis::PassID;100 (void)AM.getResult<TestModuleAnalysis>(M); in run()120 if (TestModuleAnalysis::Result *TMA = in run()121 MAM.getCachedResult<TestModuleAnalysis>(*F.getParent())) in run()187 EXPECT_FALSE(PA1.preserved<TestModuleAnalysis>()); in TEST_F()190 EXPECT_FALSE(PA2.preserved<TestModuleAnalysis>()); in TEST_F()193 EXPECT_TRUE(PA3.preserved<TestModuleAnalysis>()); in TEST_F()[all …]
26 class TestModuleAnalysis : public AnalysisInfoMixin<TestModuleAnalysis> { class33 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anon8c1dc3970111::TestModuleAnalysis41 friend AnalysisInfoMixin<TestModuleAnalysis>;47 AnalysisKey TestModuleAnalysis::Key;254 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F()257 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()281 if (TestModuleAnalysis::Result *TMA = in TEST_F()282 MAM.getCachedResult<TestModuleAnalysis>( in TEST_F()339 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F()342 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()[all …]
25 class TestModuleAnalysis { class35 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anon467a473f0111::TestModuleAnalysis48 char TestModuleAnalysis::PassID;134 (void)AM.getResult<TestModuleAnalysis>(M); in run()159 if (TestModuleAnalysis::Result *TMA = in run()160 MAM.getCachedResult<TestModuleAnalysis>( in run()268 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST()