diff options
Diffstat (limited to 'llvm/tools/opt/PassPrinters.h')
| -rw-r--r-- | llvm/tools/opt/PassPrinters.h | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/llvm/tools/opt/PassPrinters.h b/llvm/tools/opt/PassPrinters.h index 14b6e43d18e..6eba94795eb 100644 --- a/llvm/tools/opt/PassPrinters.h +++ b/llvm/tools/opt/PassPrinters.h @@ -15,6 +15,8 @@  #ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H  #define LLVM_TOOLS_OPT_PASSPRINTERS_H +#include "llvm/IR/PassManager.h" +  namespace llvm {  class BasicBlockPass; @@ -25,6 +27,7 @@ class LoopPass;  class PassInfo;  class raw_ostream;  class RegionPass; +class Module;  FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,                                          bool Quiet); @@ -46,4 +49,17 @@ BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,  } // end namespace llvm +llvm::ModulePass *createDebugifyPass(); + +struct NewPMDebugifyPass : public llvm::PassInfoMixin<NewPMDebugifyPass> { +  llvm::PreservedAnalyses run(llvm::Module &M, llvm::ModuleAnalysisManager &AM); +}; + +llvm::ModulePass *createCheckDebugifyPass(); + +struct NewPMCheckDebugifyPass +    : public llvm::PassInfoMixin<NewPMCheckDebugifyPass> { +  llvm::PreservedAnalyses run(llvm::Module &M, llvm::ModuleAnalysisManager &AM); +}; +  #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H | 

