Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp51 class TestModuleAnalysis : public AnalysisInfoMixin<TestModuleAnalysis> { class
58 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anonb36b4f6b0111::TestModuleAnalysis
69 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 …]
/external/llvm/unittests/IR/
DPassManagerTest.cpp51 class TestModuleAnalysis : public AnalysisInfoMixin<TestModuleAnalysis> { class
58 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anon5a000c130111::TestModuleAnalysis
69 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp26 class TestModuleAnalysis : public AnalysisInfoMixin<TestModuleAnalysis> { class
33 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anon8c1dc3970111::TestModuleAnalysis
41 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 …]
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp25 class TestModuleAnalysis { class
35 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() function in __anon467a473f0111::TestModuleAnalysis
48 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()