Home
last modified time | relevance | path

Searched defs:ModulePassPrinter (Results 1 – 3 of 3) sorted by relevance

/external/llvm/tools/opt/
DPassPrinters.cpp96 struct ModulePassPrinter : public ModulePass { struct
97 static char ID;
98 const PassInfo *PassToPrint;
99 raw_ostream &Out;
100 std::string PassName;
101 bool QuietPass;
103 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in ModulePassPrinter() argument
109 bool runOnModule(Module &M) override { in runOnModule()
118 const char *getPassName() const override { return PassName.c_str(); } in getPassName()
120 void getAnalysisUsage(AnalysisUsage &AU) const override { in getAnalysisUsage()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DPassPrinters.cpp102 struct ModulePassPrinter : public ModulePass { struct
103 static char ID;
104 const PassInfo *PassToPrint;
105 raw_ostream &Out;
106 std::string PassName;
107 bool QuietPass;
109 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in ModulePassPrinter() argument
115 bool runOnModule(Module &M) override { in runOnModule()
124 StringRef getPassName() const override { return PassName; } in getPassName()
126 void getAnalysisUsage(AnalysisUsage &AU) const override { in getAnalysisUsage()
/external/swiftshader/third_party/LLVM/tools/opt/
Dopt.cpp183 struct ModulePassPrinter : public ModulePass { struct
184 static char ID;
185 const PassInfo *PassToPrint;
186 raw_ostream &Out;
187 std::string PassName;
189 ModulePassPrinter(const PassInfo *PI, raw_ostream &out) in ModulePassPrinter() argument
195 virtual bool runOnModule(Module &M) { in runOnModule()
204 virtual const char *getPassName() const { return PassName.c_str(); } in getPassName()
206 virtual void getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()