blob: a4e1921399fc6c4326620c80f0babb6dcca0504b [file] [log] [blame]
//=- PassPrinters.h - Utilities to print analysis info for passes -*- C++ -*-=//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
/// \file
/// Utilities to print analysis info for various kinds of passes.
namespace llvm {
class CallGraphSCCPass;
class FunctionPass;
class ModulePass;
class LoopPass;
class PassInfo;
class raw_ostream;
class RegionPass;
FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out);
CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
raw_ostream &out);
ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out);
LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out);
RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out);
} // end namespace llvm