|
LLVM
4.0.0
|
A pass which prints the call graph as a DOT file to a raw_ostream.
More...
#include <LazyCallGraph.h>
Public Member Functions | |
| LazyCallGraphDOTPrinterPass (raw_ostream &OS) | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LazyCallGraphDOTPrinterPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
A pass which prints the call graph as a DOT file to a raw_ostream.
This is primarily useful for visualization purposes.
Definition at line 1209 of file LazyCallGraph.h.
|
explicit |
Definition at line 1938 of file LazyCallGraph.cpp.
| PreservedAnalyses LazyCallGraphDOTPrinterPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM | ||
| ) |
Definition at line 1955 of file LazyCallGraph.cpp.
References llvm::PreservedAnalyses::all(), llvm::DOT::EscapeString(), llvm::LazyCallGraph::get(), llvm::Module::getModuleIdentifier(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and printNodeDOT().
1.8.6