1 //===-- CallPrinter.h - Call graph printer external interface ----*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 // 10 // This file defines external functions that can be called to explicitly 11 // instantiate the call graph printer. 12 // 13 //===----------------------------------------------------------------------===// 14 15 #ifndef LLVM_ANALYSIS_CALLPRINTER_H 16 #define LLVM_ANALYSIS_CALLPRINTER_H 17 18 namespace llvm { 19 20 class ModulePass; 21 22 ModulePass *createCallGraphViewerPass(); 23 ModulePass *createCallGraphPrinterPass(); 24 25 } // end namespace llvm 26 27 #endif 28