LLVM API Documentation
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) |
Definition at line 101 of file Printer.cpp.
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 139 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::DSGraph::getReturnNodes(), llvm::DSGraph::getScalarMap(), llvm::DSScalarMap::global_begin(), llvm::DSScalarMap::global_end(), I, OS, llvm::DS::PointerShift, RetNode, llvm::DSGraph::retnodes_begin(), llvm::DSGraph::retnodes_end(), 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 118 of file Printer.cpp.
References llvm::DSNode::getLink(), llvm::DSNodeIterator< NodeTy >::getNode(), llvm::DSNodeIterator< NodeTy >::getOffset(), O, 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 124 of file Printer.cpp.
References llvm::DSNode::begin(), llvm::DSNode::getLink(), llvm::DSNodeIterator< NodeTy >::getNode(), llvm::DSNodeIterator< NodeTy >::getOffset(), O, llvm::DS::PointerShift, and R.
static std::string llvm::DOTGraphTraits< const DSGraph * >::getGraphName | ( | const DSGraph * | G | ) | [inline, static] |
Definition at line 102 of file Printer.cpp.
References G, llvm::DSGraph::getFunctionNames(), and llvm::DSGraph::getReturnNodes().
static std::string llvm::DOTGraphTraits< const DSGraph * >::getNodeAttributes | ( | const DSNode * | N | ) | [inline, static] |
Definition at line 114 of file Printer.cpp.
static std::string llvm::DOTGraphTraits< const DSGraph * >::getNodeLabel | ( | const DSNode * | Node, | |
const DSGraph * | Graph | |||
) | [inline, static] |