LLVM API Documentation
Public Member Functions | |
DOTGraphTraits (bool isSimple=false) | |
std::string | getNodeLabel (const SDNode *Node, const SelectionDAG *Graph) |
![]() | |
DefaultDOTGraphTraits (bool simple=false) | |
template<typename GraphType > | |
std::string | getNodeLabel (const void *, const GraphType &) |
Static Public Member Functions | |
static bool | hasEdgeDestLabels () |
static unsigned | numEdgeDestLabels (const void *Node) |
static std::string | getEdgeDestLabel (const void *Node, unsigned i) |
template<typename EdgeIter > | |
static std::string | getEdgeSourceLabel (const void *Node, EdgeIter I) |
template<typename EdgeIter > | |
static bool | edgeTargetsEdgeSource (const void *Node, EdgeIter I) |
template<typename EdgeIter > | |
static EdgeIter | getEdgeTarget (const void *Node, EdgeIter I) |
static std::string | getGraphName (const SelectionDAG *G) |
static bool | renderGraphFromBottomUp () |
static bool | hasNodeAddressLabel (const SDNode *Node, const SelectionDAG *Graph) |
template<typename EdgeIter > | |
static std::string | getEdgeAttributes (const void *Node, EdgeIter EI, const SelectionDAG *Graph) |
static std::string | getSimpleNodeLabel (const SDNode *Node, const SelectionDAG *G) |
static std::string | getNodeAttributes (const SDNode *N, const SelectionDAG *Graph) |
static void | addCustomGraphFeatures (SelectionDAG *G, GraphWriter< SelectionDAG * > &GW) |
![]() | |
template<typename GraphType > | |
static std::string | getGraphName (const GraphType &) |
template<typename GraphType > | |
static std::string | getGraphProperties (const GraphType &) |
static bool | renderGraphFromBottomUp () |
static bool | isNodeHidden (const void *) |
template<typename GraphType > | |
static bool | hasNodeAddressLabel (const void *, const GraphType &) |
template<typename GraphType > | |
static std::string | getNodeDescription (const void *, const GraphType &) |
template<typename GraphType > | |
static std::string | getNodeAttributes (const void *, const GraphType &) |
template<typename EdgeIter , typename GraphType > | |
static std::string | getEdgeAttributes (const void *, EdgeIter, const GraphType &) |
template<typename EdgeIter > | |
static std::string | getEdgeSourceLabel (const void *, EdgeIter) |
template<typename EdgeIter > | |
static bool | edgeTargetsEdgeSource (const void *, EdgeIter) |
template<typename EdgeIter > | |
static EdgeIter | getEdgeTarget (const void *, EdgeIter I) |
static bool | hasEdgeDestLabels () |
static unsigned | numEdgeDestLabels (const void *) |
static std::string | getEdgeDestLabel (const void *, unsigned) |
template<typename GraphType , typename GraphWriter > | |
static void | addCustomGraphFeatures (const GraphType &, GraphWriter &) |
Additional Inherited Members | |
![]() | |
bool | isSimple () |
Definition at line 33 of file SelectionDAGPrinter.cpp.
|
inlineexplicit |
Definition at line 35 of file SelectionDAGPrinter.cpp.
|
inlinestatic |
Definition at line 126 of file SelectionDAGPrinter.cpp.
References llvm::GraphWriter< Graph >::emitEdge(), llvm::GraphWriter< Graph >::emitSimpleNode(), llvm::SDValue::getNode(), llvm::SDValue::getResNo(), and llvm::SelectionDAG::getRoot().
|
inlinestatic |
edgeTargetsEdgeSource - This method returns true if this outgoing edge should actually target another edge source, not a node. If this method is implemented, getEdgeTarget should be implemented.
Definition at line 59 of file SelectionDAGPrinter.cpp.
|
inlinestatic |
If you want to override the dot attributes printed for a particular edge, override this method.
Definition at line 90 of file SelectionDAGPrinter.cpp.
References llvm::SDValue::getNode(), llvm::SDNode::getOperand(), llvm::SDValue::getValueType(), llvm::MVT::Glue, and llvm::MVT::Other.
|
inlinestatic |
Definition at line 46 of file SelectionDAGPrinter.cpp.
|
inlinestatic |
Definition at line 51 of file SelectionDAGPrinter.cpp.
References llvm::SDNodeIterator::begin(), and llvm::itostr().
|
inlinestatic |
getEdgeTarget - If edgeTargetsEdgeSource returns true, this method is called to determine which outgoing edge of Node is the target of this edge.
Definition at line 67 of file SelectionDAGPrinter.cpp.
References llvm::object::advance(), llvm::SDNodeIterator::begin(), llvm::SDNodeIterator::getNode(), llvm::SDNode::getOperand(), and I.
|
inlinestatic |
Definition at line 74 of file SelectionDAGPrinter.cpp.
References llvm::SelectionDAG::getMachineFunction(), and llvm::MachineFunction::getName().
|
inlinestatic |
Definition at line 112 of file SelectionDAGPrinter.cpp.
References llvm::SelectionDAG::getGraphAttrs().
std::string llvm::DOTGraphTraits< SelectionDAG * >::getNodeLabel | ( | const SDNode * | Node, |
const SelectionDAG * | Graph | ||
) |
|
inlinestatic |
Definition at line 102 of file SelectionDAGPrinter.cpp.
References llvm::SDNode::getOperationName(), and llvm::SDNode::print_details().
|
inlinestatic |
Definition at line 38 of file SelectionDAGPrinter.cpp.
|
inlinestatic |
Definition at line 82 of file SelectionDAGPrinter.cpp.
|
inlinestatic |
Definition at line 42 of file SelectionDAGPrinter.cpp.
|
inlinestatic |
Definition at line 78 of file SelectionDAGPrinter.cpp.