Home
last modified time | relevance | path

Searched defs:TestModulePass (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/unittests/Passes/
DTestPlugin.cpp16 struct TestModulePass : public PassInfoMixin<TestModulePass> { struct
27 PM.addPass(TestModulePass()); in registerCallbacks() argument
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp129 struct TestModulePass { struct
130 TestModulePass(int &RunCount) : RunCount(RunCount) {} in TestModulePass() argument
132 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM) { in run()
138 static StringRef name() { return "TestModulePass"; } in name()
140 int &RunCount;
/external/llvm/unittests/IR/
DPassManagerTest.cpp77 struct TestModulePass : PassInfoMixin<TestModulePass> { struct
78 TestModulePass(int &RunCount) : RunCount(RunCount) {} in TestModulePass() argument
80 PreservedAnalyses run(Module &M, ModuleAnalysisManager &) { in run()
85 int &RunCount;
/external/llvm-project/mlir/test/lib/Pass/
DTestPassManager.cpp16 struct TestModulePass struct
18 void runOnOperation() final {} in runOnOperation()
/external/llvm-project/llvm/unittests/IR/
DPassManagerTest.cpp95 struct TestModulePass : PassInfoMixin<TestModulePass> { struct
96 TestModulePass(int &RunCount) : RunCount(RunCount) {} in TestModulePass() argument
98 PreservedAnalyses run(Module &M, ModuleAnalysisManager &) { in run()
103 int &RunCount;