LLVM API Documentation

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 102 of file Printer.cpp.


Member Function Documentation

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

Definition at line 103 of file Printer.cpp.

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

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

Definition at line 111 of file Printer.cpp.

References getCaption(), and Node.

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

Definition at line 115 of file Printer.cpp.

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

Definition at line 119 of file Printer.cpp.

References llvm::DSNode::getLink(), llvm::DSNodeIterator< NodeTy >::getNode(), 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 125 of file Printer.cpp.

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

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 140 of file Printer.cpp.

References llvm::DSScalarMap::begin(), llvm::Call, E, llvm::GraphWriter< GraphType >::emitEdge(), llvm::GraphWriter< GraphType >::emitSimpleNode(), llvm::DSScalarMap::end(), G, llvm::DSGraph::getAuxFunctionCalls(), llvm::DSGraph::getFunctionCalls(), llvm::Value::getName(), llvm::DSNodeHandle::getNode(), llvm::DSGraph::getReturnNodes(), llvm::DSGraph::getScalarMap(), llvm::DSScalarMap::global_begin(), llvm::DSScalarMap::global_end(), OS, llvm::DS::PointerShift, RetNode, llvm::DSGraph::retnodes_begin(), llvm::DSGraph::retnodes_end(), llvm::DSGraph::shouldPrintAuxCalls(), and llvm::WriteAsOperand().


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