1 //=- PassPrinters.h - Utilities to print analysis info for passes -*- C++ -*-=//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// Utilities to print analysis info for various kinds of passes.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H
16 #define LLVM_TOOLS_OPT_PASSPRINTERS_H
18 #include "llvm/IR/PassManager.h"
23 class CallGraphSCCPass;
32 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
35 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
36 raw_ostream &out, bool Quiet);
38 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
41 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
44 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
47 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
48 raw_ostream &out, bool Quiet);
50 } // end namespace llvm
52 #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H