Remove the default clause from a fully-covering switch
[llvm-core.git] / tools / opt / PassPrinters.h
blob14b6e43d18e0b2018755dde6db69fa10c5a600da
1 //=- PassPrinters.h - Utilities to print analysis info for passes -*- C++ -*-=//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief Utilities to print analysis info for various kinds of passes.
12 ///
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H
16 #define LLVM_TOOLS_OPT_PASSPRINTERS_H
18 namespace llvm {
20 class BasicBlockPass;
21 class CallGraphSCCPass;
22 class FunctionPass;
23 class ModulePass;
24 class LoopPass;
25 class PassInfo;
26 class raw_ostream;
27 class RegionPass;
29 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
30 bool Quiet);
32 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
33 raw_ostream &out, bool Quiet);
35 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
36 bool Quiet);
38 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
39 bool Quiet);
41 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
42 bool Quiet);
44 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
45 raw_ostream &out, bool Quiet);
47 } // end namespace llvm
49 #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H