]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/include/llvm/Analysis/CallPrinter.h
Move all sources from the llvm project into contrib/llvm-project.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / include / llvm / Analysis / CallPrinter.h
1 //===-- CallPrinter.h - Call graph printer external interface ----*- C++ -*-===//
2 //
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
6 //
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
17 namespace llvm {
18
19 class ModulePass;
20
21 ModulePass *createCallGraphViewerPass();
22 ModulePass *createCallGraphDOTPrinterPass();
23
24 } // end namespace llvm
25
26 #endif