mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
6c45ac6ed1
-dot-callgraph similarly follows a standard module pass pattern. Patch by Speziale Ettore! llvm-svn: 172220
28 lines
774 B
C++
28 lines
774 B
C++
//===-- 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
|