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 /// \brief 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
21 class CallGraphSCCPass
;
29 FunctionPass
*createFunctionPassPrinter(const PassInfo
*PI
, raw_ostream
&out
,
32 CallGraphSCCPass
*createCallGraphPassPrinter(const PassInfo
*PI
,
33 raw_ostream
&out
, bool Quiet
);
35 ModulePass
*createModulePassPrinter(const PassInfo
*PI
, raw_ostream
&out
,
38 LoopPass
*createLoopPassPrinter(const PassInfo
*PI
, raw_ostream
&out
,
41 RegionPass
*createRegionPassPrinter(const PassInfo
*PI
, raw_ostream
&out
,
44 BasicBlockPass
*createBasicBlockPassPrinter(const PassInfo
*PI
,
45 raw_ostream
&out
, bool Quiet
);
47 } // end namespace llvm
49 #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H