LLVM
8.0.1
|
A pass which prints the call graph to a raw_ostream
.
More...
#include "llvm/Analysis/LazyCallGraph.h"
Public Member Functions | |
LazyCallGraphPrinterPass (raw_ostream &OS) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LazyCallGraphPrinterPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
A pass which prints the call graph to a raw_ostream
.
This is primarily useful for testing the analysis.
Definition at line 1263 of file LazyCallGraph.h.
|
explicit |
Definition at line 1730 of file LazyCallGraph.cpp.
PreservedAnalyses LazyCallGraphPrinterPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 1759 of file LazyCallGraph.cpp.
References llvm::PreservedAnalyses::all(), llvm::LazyCallGraph::buildRefSCCs(), C, llvm::LazyCallGraph::get(), llvm::Module::getModuleIdentifier(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::LazyCallGraph::postorder_ref_sccs(), printNode(), and printRefSCC().