mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
There is another pass by the generic name 'CallGraphPrinter' which is actually just a call graph printer tucked away inside the opt tool. I'd like to bring it out and make it follow the same patterns as the rest of the CallGraph code, but doing so would end up conflicting with the name of the DOT printing pass. So this makes the DOT printing pass name be more precise. No functionality changed here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263100 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
771 B
C++
28 lines
771 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 *createCallGraphDOTPrinterPass();
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif
|