Home
last modified time | relevance | path

Searched refs:MyAnalysis (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/unittests/Pass/
DAnalysisManagerTest.cpp21 struct MyAnalysis { struct
22 MyAnalysis(Operation *) {} in MyAnalysis() function
40 am.getAnalysis<MyAnalysis>(); in TEST()
44 pa.preserve<MyAnalysis>(); in TEST()
48 EXPECT_TRUE(am.getCachedAnalysis<MyAnalysis>().hasValue()); in TEST()
70 fam.getAnalysis<MyAnalysis>(); in TEST()
74 pa.preserve<MyAnalysis>(); in TEST()
78 EXPECT_TRUE(fam.getCachedAnalysis<MyAnalysis>().hasValue()); in TEST()
100 EXPECT_FALSE(am.getCachedChildAnalysis<MyAnalysis>(func1).hasValue()); in TEST()
103 am.getChildAnalysis<MyAnalysis>(func1); in TEST()
[all …]
/external/llvm-project/mlir/docs/
DPassManagement.md206 markAnalysesPreserved<MyAnalysis, MyAnalyses...>();