Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Passes/
DTestPlugin.cpp17 struct TestModulePass : public PassInfoMixin<TestModulePass> { struct
28 PM.addPass(TestModulePass()); in registerCallbacks() argument
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp129 struct TestModulePass { struct
130 TestModulePass(int &RunCount) : RunCount(RunCount) {} in TestModulePass() function
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() function
80 PreservedAnalyses run(Module &M, ModuleAnalysisManager &) { in run()
85 int &RunCount;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp77 struct TestModulePass : PassInfoMixin<TestModulePass> { struct
78 TestModulePass(int &RunCount) : RunCount(RunCount) {} in TestModulePass() function
80 PreservedAnalyses run(Module &M, ModuleAnalysisManager &) { in run()
85 int &RunCount;