Home
last modified time | relevance | path

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

/external/llvm-project/mlir/unittests/Pass/
DAnalysisManagerTest.cpp27 struct OpSpecificAnalysis { struct
28 OpSpecificAnalysis(ModuleOp) {} in OpSpecificAnalysis() function
149 TEST(AnalysisManagerTest, OpSpecificAnalysis) { in TEST() argument
158 am.getAnalysis<OpSpecificAnalysis, ModuleOp>(); in TEST()
159 EXPECT_TRUE(am.getCachedAnalysis<OpSpecificAnalysis>().hasValue()); in TEST()
DPassManagerTest.cpp26 struct OpSpecificAnalysis { struct
27 OpSpecificAnalysis(FuncOp op) : isSecret(op.getName() == "secret") {} in OpSpecificAnalysis() argument
40 auto &sa = getAnalysis<OpSpecificAnalysis>(); in runOnOperation()
47 TEST(PassManagerTest, OpSpecificAnalysis) { in TEST() argument