Lines Matching refs:TestModuleAnalysis
57 class TestModuleAnalysis { class
68 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anone814850a0111::TestModuleAnalysis
84 char TestModuleAnalysis::PassID;
110 (void)AM->getResult<TestModuleAnalysis>(M); in run()
132 if (TestModuleAnalysis::Result *TMA = in run()
133 MAM.getCachedResult<TestModuleAnalysis>(*F.getParent())) in run()
202 EXPECT_FALSE(PA1.preserved<TestModuleAnalysis>()); in TEST_F()
205 EXPECT_FALSE(PA2.preserved<TestModuleAnalysis>()); in TEST_F()
208 EXPECT_TRUE(PA3.preserved<TestModuleAnalysis>()); in TEST_F()
211 EXPECT_FALSE(PA4.preserved<TestModuleAnalysis>()); in TEST_F()
214 EXPECT_TRUE(PA4.preserved<TestModuleAnalysis>()); in TEST_F()
217 EXPECT_FALSE(PA4.preserved<TestModuleAnalysis>()); in TEST_F()
220 EXPECT_FALSE(PA4.preserved<TestModuleAnalysis>()); in TEST_F()
221 PA1.preserve<TestModuleAnalysis>(); in TEST_F()
223 EXPECT_TRUE(PA1.preserved<TestModuleAnalysis>()); in TEST_F()
226 EXPECT_TRUE(PA1.preserved<TestModuleAnalysis>()); in TEST_F()
229 EXPECT_FALSE(PA1.preserved<TestModuleAnalysis>()); in TEST_F()
239 MAM.registerPass(TestModuleAnalysis(ModuleAnalysisRuns)); in TEST_F()