Lines Matching refs:TestFunctionAnalysis
22 class TestFunctionAnalysis { class
35 TestFunctionAnalysis(int &Runs) : Runs(Runs) {} in TestFunctionAnalysis() function in __anone814850a0111::TestFunctionAnalysis
55 char TestFunctionAnalysis::PassID;
138 if (TestFunctionAnalysis::Result *AR = in run()
139 AM->getCachedResult<TestFunctionAnalysis>(F)) in run()
143 TestFunctionAnalysis::Result &AR = AM->getResult<TestFunctionAnalysis>(F); in run()
201 EXPECT_FALSE(PA1.preserved<TestFunctionAnalysis>()); in TEST_F()
204 EXPECT_FALSE(PA2.preserved<TestFunctionAnalysis>()); in TEST_F()
207 EXPECT_TRUE(PA3.preserved<TestFunctionAnalysis>()); in TEST_F()
210 EXPECT_FALSE(PA4.preserved<TestFunctionAnalysis>()); in TEST_F()
213 EXPECT_TRUE(PA4.preserved<TestFunctionAnalysis>()); in TEST_F()
216 EXPECT_FALSE(PA4.preserved<TestFunctionAnalysis>()); in TEST_F()
218 PA4.preserve<TestFunctionAnalysis>(); in TEST_F()
219 EXPECT_TRUE(PA4.preserved<TestFunctionAnalysis>()); in TEST_F()
222 EXPECT_FALSE(PA1.preserved<TestFunctionAnalysis>()); in TEST_F()
224 PA1.preserve<TestFunctionAnalysis>(); in TEST_F()
225 EXPECT_TRUE(PA1.preserved<TestFunctionAnalysis>()); in TEST_F()
228 EXPECT_TRUE(PA1.preserved<TestFunctionAnalysis>()); in TEST_F()
235 FAM.registerPass(TestFunctionAnalysis(FunctionAnalysisRuns)); in TEST_F()