LLVM  11.0.0git
Classes | Namespaces | Functions | Variables
CallPrinter.cpp File Reference
#include "llvm/Analysis/CallPrinter.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/BranchProbabilityInfo.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/DOTGraphTraitsPass.h"
#include "llvm/Analysis/HeatUtils.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/InitializePasses.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallSet.h"
Include dependency graph for CallPrinter.cpp:

Go to the source code of this file.

Classes

class  llvm::CallGraphDOTInfo
 
struct  llvm::GraphTraits< CallGraphDOTInfo * >
 
struct  llvm::DOTGraphTraits< CallGraphDOTInfo * >
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

INITIALIZE_PASS(CallGraphViewer, "view-callgraph", "View call graph", false, false) char CallGraphDOTPrinter INITIALIZE_PASS (CallGraphDOTPrinter, "dot-callgraph", "Print call graph to 'dot' file", false, false) ModulePass *llvm
 

Variables

static cl::opt< boolShowHeatColors ("callgraph-heat-colors", cl::init(false), cl::Hidden, cl::desc("Show heat colors in call-graph"))
 
static cl::opt< boolShowEdgeWeight ("callgraph-show-weights", cl::init(false), cl::Hidden, cl::desc("Show edges labeled with weights"))
 
static cl::opt< boolCallMultiGraph ("callgraph-multigraph", cl::init(false), cl::Hidden, cl::desc("Show call-multigraph (do not remove parallel edges)"))
 
static cl::opt< std::string > CallGraphDotFilenamePrefix ("callgraph-dot-filename-prefix", cl::Hidden, cl::desc("The prefix used for the CallGraph dot file names."))
 

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS (CallGraphViewer, "view-callgraph", "View call graph", false, false) char CallGraphDOTPrinter INITIALIZE_PASS ( CallGraphDOTPrinter  ,
"dot-callgraph ,
"Print call graph to 'dot' file ,
false  ,
false   
)

Definition at line 297 of file CallPrinter.cpp.

Variable Documentation

◆ CallGraphDotFilenamePrefix

cl::opt<std::string> CallGraphDotFilenamePrefix("callgraph-dot-filename-prefix", cl::Hidden, cl::desc("The prefix used for the CallGraph dot file names."))
static

◆ CallMultiGraph

cl::opt<bool> CallMultiGraph("callgraph-multigraph", cl::init(false), cl::Hidden, cl::desc("Show call-multigraph (do not remove parallel edges)"))
static

◆ ShowEdgeWeight

cl::opt<bool> ShowEdgeWeight("callgraph-show-weights", cl::init(false), cl::Hidden, cl::desc("Show edges labeled with weights"))
static

◆ ShowHeatColors

cl::opt<bool> ShowHeatColors("callgraph-heat-colors", cl::init(false), cl::Hidden, cl::desc("Show heat colors in call-graph"))
static