LLVM API Documentation
A pass which prints the call graph to a raw_ostream
.
More...
#include <LazyCallGraph.h>
Public Member Functions | |
LazyCallGraphPrinterPass (raw_ostream &OS) | |
PreservedAnalyses | run (Module *M, ModuleAnalysisManager *AM) |
Static Public Member Functions | |
static StringRef | name () |
A pass which prints the call graph to a raw_ostream
.
This is primarily useful for testing the analysis.
Definition at line 553 of file LazyCallGraph.h.
LazyCallGraphPrinterPass::LazyCallGraphPrinterPass | ( | raw_ostream & | OS | ) | [explicit] |
Definition at line 685 of file LazyCallGraph.cpp.
static StringRef llvm::LazyCallGraphPrinterPass::name | ( | ) | [inline, static] |
Definition at line 561 of file LazyCallGraph.h.
Definition at line 711 of file LazyCallGraph.cpp.
References llvm::PreservedAnalyses::all(), llvm::Module::getModuleIdentifier(), llvm::detail::AnalysisManagerBase< DerivedT, IRUnitT >::getResult(), llvm::SmallPtrSetImpl< PtrType >::insert(), printNodes(), and printSCC().