Home
last modified time | relevance | path

Searched refs:TestFunctionAnalysis (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp22 class TestFunctionAnalysis : public AnalysisInfoMixin<TestFunctionAnalysis> { class
29 TestFunctionAnalysis(int &Runs) : Runs(Runs) {} in TestFunctionAnalysis() function in __anonb36b4f6b0111::TestFunctionAnalysis
43 friend AnalysisInfoMixin<TestFunctionAnalysis>;
49 AnalysisKey TestFunctionAnalysis::Key;
113 if (TestFunctionAnalysis::Result *AR = in run()
114 AM.getCachedResult<TestFunctionAnalysis>(F)) in run()
118 TestFunctionAnalysis::Result &AR = AM.getResult<TestFunctionAnalysis>(F); in run()
174 auto PAC = PA1.getChecker<TestFunctionAnalysis>(); in TEST()
185 auto PAC = PA2.getChecker<TestFunctionAnalysis>(); in TEST()
191 auto PAC = PA3.getChecker<TestFunctionAnalysis>(); in TEST()
[all …]
/external/llvm/unittests/IR/
DPassManagerTest.cpp22 class TestFunctionAnalysis : public AnalysisInfoMixin<TestFunctionAnalysis> { class
29 TestFunctionAnalysis(int &Runs) : Runs(Runs) {} in TestFunctionAnalysis() function in __anon5a000c130111::TestFunctionAnalysis
43 friend AnalysisInfoMixin<TestFunctionAnalysis>;
49 char TestFunctionAnalysis::PassID;
126 if (TestFunctionAnalysis::Result *AR = in run()
127 AM.getCachedResult<TestFunctionAnalysis>(F)) in run()
131 TestFunctionAnalysis::Result &AR = AM.getResult<TestFunctionAnalysis>(F); in run()
186 EXPECT_FALSE(PA1.preserved<TestFunctionAnalysis>()); in TEST_F()
189 EXPECT_FALSE(PA2.preserved<TestFunctionAnalysis>()); in TEST_F()
192 EXPECT_TRUE(PA3.preserved<TestFunctionAnalysis>()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp72 class TestFunctionAnalysis : public AnalysisInfoMixin<TestFunctionAnalysis> { class
79 TestFunctionAnalysis(int &Runs) : Runs(Runs) {} in TestFunctionAnalysis() function in __anon8c1dc3970111::TestFunctionAnalysis
92 friend AnalysisInfoMixin<TestFunctionAnalysis>;
98 AnalysisKey TestFunctionAnalysis::Key;
244 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST_F()
289 TestFunctionAnalysis::Result &FAR = in TEST_F()
290 FAM.getResult<TestFunctionAnalysis>(N.getFunction()); in TEST_F()
613 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST_F()
630 FPM1.addPass(RequireAnalysisPass<TestFunctionAnalysis, Function>()); in TEST_F()
645 FPM2.addPass(RequireAnalysisPass<TestFunctionAnalysis, Function>()); in TEST_F()
[all …]
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp75 class TestFunctionAnalysis { class
85 TestFunctionAnalysis(int &Runs) : Runs(Runs) {} in TestFunctionAnalysis() function in __anon467a473f0111::TestFunctionAnalysis
103 char TestFunctionAnalysis::PassID;
169 if (TestFunctionAnalysis::Result *FAR = in run()
170 FAM.getCachedResult<TestFunctionAnalysis>(N.getFunction())) in run()
177 TestFunctionAnalysis::Result &FAR = in run()
178 FAM.getResult<TestFunctionAnalysis>(N.getFunction()); in run()
255 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST()