blob: 8d4159f3ddc02c28bd3ded281b96e024cb09f6f7 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===-- CallPrinter.h - Call graph printer external interface ----*- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// 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
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8//
9// This file defines external functions that can be called to explicitly
10// instantiate the call graph printer.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_ANALYSIS_CALLPRINTER_H
15#define LLVM_ANALYSIS_CALLPRINTER_H
16
17namespace llvm {
18
19class ModulePass;
20
21ModulePass *createCallGraphViewerPass();
22ModulePass *createCallGraphDOTPrinterPass();
23
24} // end namespace llvm
25
26#endif