LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::DOTGraphTraits< const DSGraph * > Struct Template Reference

Inheritance diagram for llvm::DOTGraphTraits< const DSGraph * >:

Inheritance graph
[legend]
Collaboration diagram for llvm::DOTGraphTraits< const DSGraph * >:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static std::string getGraphName (const DSGraph *G)
static std::string getNodeLabel (const DSNode *Node, const DSGraph *Graph)
static std::string getNodeAttributes (const DSNode *N)
static bool edgeTargetsEdgeSource (const void *Node, DSNode::const_iterator I)
static DSNode::const_iterator getEdgeTarget (const DSNode *Node, DSNode::const_iterator I)
static void addCustomGraphFeatures (const DSGraph *G, GraphWriter< const DSGraph * > &GW)

Detailed Description

template<>
struct llvm::DOTGraphTraits< const DSGraph * >

Definition at line 87 of file Printer.cpp.


Member Function Documentation

static void llvm::DOTGraphTraits< const DSGraph * >::addCustomGraphFeatures const DSGraph G,
GraphWriter< const DSGraph * > &  GW
[inline, static]
 

addCustomGraphFeatures - Use this graph writing hook to emit call nodes and the return node.

Definition at line 125 of file Printer.cpp.

References llvm::DSScalarMap::begin(), llvm::Call, E, llvm::GraphWriter< GraphType >::emitEdge(), llvm::GraphWriter< GraphType >::emitSimpleNode(), llvm::DSScalarMap::end(), llvm::DSGraph::getAuxFunctionCalls(), llvm::DSCallSite::getCalleeFunc(), llvm::DSCallSite::getCalleeNode(), llvm::DSGraph::getFunctionCalls(), llvm::Value::getName(), llvm::DSNodeHandle::getNode(), llvm::DSCallSite::getNumPtrArgs(), llvm::DSNodeHandle::getOffset(), llvm::DSCallSite::getPtrArg(), llvm::DSGraph::getReturnNodes(), llvm::DSCallSite::getRetVal(), llvm::DSGraph::getScalarMap(), llvm::DSScalarMap::global_begin(), llvm::DSScalarMap::global_end(), I, llvm::DSCallSite::isDirectCall(), llvm::DSCallSite::isIndirectCall(), llvm::DS::PointerShift, llvm::DSGraph::shouldPrintAuxCalls(), and llvm::WriteAsOperand().

static bool llvm::DOTGraphTraits< const DSGraph * >::edgeTargetsEdgeSource const void *  Node,
DSNode::const_iterator  I
[inline, static]
 

Definition at line 104 of file Printer.cpp.

References llvm::DSNode::getLink(), llvm::DSNodeIterator< NodeTy >::getNode(), llvm::DSNodeHandle::getOffset(), llvm::DSNodeIterator< NodeTy >::getOffset(), and llvm::DS::PointerShift.

static DSNode::const_iterator llvm::DOTGraphTraits< const DSGraph * >::getEdgeTarget const DSNode Node,
DSNode::const_iterator  I
[inline, static]
 

Definition at line 110 of file Printer.cpp.

References llvm::DSNode::begin(), llvm::DSNode::getLink(), llvm::DSNodeIterator< NodeTy >::getNode(), llvm::DSNodeHandle::getOffset(), llvm::DSNodeIterator< NodeTy >::getOffset(), llvm::DS::PointerShift, and R.

static std::string llvm::DOTGraphTraits< const DSGraph * >::getGraphName const DSGraph G  )  [inline, static]
 

Definition at line 88 of file Printer.cpp.

References llvm::DSGraph::getFunctionNames(), and llvm::DSGraph::getReturnNodes().

static std::string llvm::DOTGraphTraits< const DSGraph * >::getNodeAttributes const DSNode N  )  [inline, static]
 

Definition at line 100 of file Printer.cpp.

static std::string llvm::DOTGraphTraits< const DSGraph * >::getNodeLabel const DSNode Node,
const DSGraph Graph
[inline, static]
 

Definition at line 96 of file Printer.cpp.

References getCaption().


The documentation for this struct was generated from the following file: