1 //===- PassPrinters.h - Utilities to print analysis info for passes -------===//
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 /// \brief Utilities to print analysis info for various kinds of passes.
13 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H
15 #define LLVM_TOOLS_OPT_PASSPRINTERS_H
20 class CallGraphSCCPass;
28 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
31 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
32 raw_ostream &out, bool Quiet);
34 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
37 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
40 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
43 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
44 raw_ostream &out, bool Quiet);
47 #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H