1 //=- PassPrinters.h - Utilities to print analysis info for passes -*- C++ -*-=//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// Utilities to print analysis info for various kinds of passes.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H
15 #define LLVM_TOOLS_OPT_PASSPRINTERS_H
17 #include "llvm/IR/PassManager.h"
21 class CallGraphSCCPass;
30 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
33 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
34 raw_ostream &out, bool Quiet);
36 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
39 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
42 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
45 } // end namespace llvm
47 #endif // LLVM_TOOLS_OPT_PASSPRINTERS_H