summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/CallPrinter.h
blob: 5f5d160c3ca0887dc498a78379f92b0257cbc74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//===-- CallPrinter.h - Call graph printer external interface ----*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines external functions that can be called to explicitly
// instantiate the call graph printer.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_ANALYSIS_CALLPRINTER_H
#define LLVM_ANALYSIS_CALLPRINTER_H

namespace llvm {

  class ModulePass;

  ModulePass *createCallGraphViewerPass();
  ModulePass *createCallGraphPrinterPass();

} // end namespace llvm

#endif