2017-08-31 23:56:16 +02:00
|
|
|
//=- PassPrinters.h - Utilities to print analysis info for passes -*- C++ -*-=//
|
2014-02-11 00:34:23 +01:00
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-02-11 00:34:23 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
///
|
|
|
|
/// \file
|
2018-05-01 17:54:18 +02:00
|
|
|
/// Utilities to print analysis info for various kinds of passes.
|
2014-02-11 00:34:23 +01:00
|
|
|
///
|
|
|
|
//===----------------------------------------------------------------------===//
|
2017-08-31 23:56:16 +02:00
|
|
|
|
2014-02-11 00:34:23 +01:00
|
|
|
#ifndef LLVM_TOOLS_OPT_PASSPRINTERS_H
|
|
|
|
#define LLVM_TOOLS_OPT_PASSPRINTERS_H
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class CallGraphSCCPass;
|
|
|
|
class FunctionPass;
|
|
|
|
class ModulePass;
|
|
|
|
class LoopPass;
|
|
|
|
class PassInfo;
|
|
|
|
class raw_ostream;
|
2017-08-31 23:56:16 +02:00
|
|
|
class RegionPass;
|
2014-02-11 00:34:23 +01:00
|
|
|
|
2020-07-08 22:20:34 +02:00
|
|
|
FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out);
|
2014-02-11 00:34:23 +01:00
|
|
|
|
|
|
|
CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
|
2020-07-08 22:20:34 +02:00
|
|
|
raw_ostream &out);
|
2014-02-11 00:34:23 +01:00
|
|
|
|
2020-07-08 22:20:34 +02:00
|
|
|
ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out);
|
2014-02-11 00:34:23 +01:00
|
|
|
|
2020-07-08 22:20:34 +02:00
|
|
|
LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out);
|
2014-02-11 00:34:23 +01:00
|
|
|
|
2020-07-08 22:20:34 +02:00
|
|
|
RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out);
|
2014-02-11 00:34:23 +01:00
|
|
|
|
2017-08-31 23:56:16 +02:00
|
|
|
} // end namespace llvm
|
2014-02-11 00:34:23 +01:00
|
|
|
|
|
|
|
#endif // LLVM_TOOLS_OPT_PASSPRINTERS_H
|