LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
llvm::DOTGraphTraits< SelectionDAG * > Struct Template Reference
Inheritance diagram for llvm::DOTGraphTraits< SelectionDAG * >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DOTGraphTraits< SelectionDAG * >:
Collaboration graph
[legend]

Public Member Functions

 DOTGraphTraits (bool isSimple=false)
 
std::string getNodeLabel (const SDNode *Node, const SelectionDAG *Graph)
 
- Public Member Functions inherited from llvm::DefaultDOTGraphTraits
 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)
 
- Static Public Member Functions inherited from llvm::DefaultDOTGraphTraits
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

- Protected Member Functions inherited from llvm::DefaultDOTGraphTraits
bool isSimple ()
 

Detailed Description

template<>
struct llvm::DOTGraphTraits< SelectionDAG * >

Definition at line 33 of file SelectionDAGPrinter.cpp.

Constructor & Destructor Documentation

llvm::DOTGraphTraits< SelectionDAG * >::DOTGraphTraits ( bool  isSimple = false)
inlineexplicit

Definition at line 35 of file SelectionDAGPrinter.cpp.

Member Function Documentation

static void llvm::DOTGraphTraits< SelectionDAG * >::addCustomGraphFeatures ( SelectionDAG G,
GraphWriter< SelectionDAG * > &  GW 
)
inlinestatic
template<typename EdgeIter >
static bool llvm::DOTGraphTraits< SelectionDAG * >::edgeTargetsEdgeSource ( const void *  Node,
EdgeIter  I 
)
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.

template<typename EdgeIter >
static std::string llvm::DOTGraphTraits< SelectionDAG * >::getEdgeAttributes ( const void *  Node,
EdgeIter  EI,
const SelectionDAG Graph 
)
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.

static std::string llvm::DOTGraphTraits< SelectionDAG * >::getEdgeDestLabel ( const void *  Node,
unsigned  i 
)
inlinestatic

Definition at line 46 of file SelectionDAGPrinter.cpp.

template<typename EdgeIter >
static std::string llvm::DOTGraphTraits< SelectionDAG * >::getEdgeSourceLabel ( const void *  Node,
EdgeIter  I 
)
inlinestatic

Definition at line 51 of file SelectionDAGPrinter.cpp.

References llvm::SDNodeIterator::begin(), and llvm::itostr().

template<typename EdgeIter >
static EdgeIter llvm::DOTGraphTraits< SelectionDAG * >::getEdgeTarget ( const void *  Node,
EdgeIter  I 
)
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.

static std::string llvm::DOTGraphTraits< SelectionDAG * >::getGraphName ( const SelectionDAG G)
inlinestatic
static std::string llvm::DOTGraphTraits< SelectionDAG * >::getNodeAttributes ( const SDNode N,
const SelectionDAG Graph 
)
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 
)
static std::string llvm::DOTGraphTraits< SelectionDAG * >::getSimpleNodeLabel ( const SDNode Node,
const SelectionDAG G 
)
inlinestatic
static bool llvm::DOTGraphTraits< SelectionDAG * >::hasEdgeDestLabels ( )
inlinestatic

Definition at line 38 of file SelectionDAGPrinter.cpp.

static bool llvm::DOTGraphTraits< SelectionDAG * >::hasNodeAddressLabel ( const SDNode Node,
const SelectionDAG Graph 
)
inlinestatic

Definition at line 82 of file SelectionDAGPrinter.cpp.

static unsigned llvm::DOTGraphTraits< SelectionDAG * >::numEdgeDestLabels ( const void *  Node)
inlinestatic

Definition at line 42 of file SelectionDAGPrinter.cpp.

static bool llvm::DOTGraphTraits< SelectionDAG * >::renderGraphFromBottomUp ( )
inlinestatic

Definition at line 78 of file SelectionDAGPrinter.cpp.


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