Default implementations of all DOTGraphTraits customization hooks.
Synopsis
Declared in <llvm/Support/DOTGraphTraits.h>
struct DefaultDOTGraphTraits;
Description
If a specialization does not need to override all methods here it should inherit so that it can get the default implementations.
Member Functions
Name |
Description |
|
Constructors |
Return the label to print inside the given node. |
Static Member Functions
Name |
Description |
Emit graph features beyond ordinary nodes and edges. |
|
Return true if this outgoing edge should target another edge source. |
|
Return custom DOT attributes for a particular edge. |
|
Return the incoming edge destination label at the given index. |
|
Return a label for the edge source itself, if any. |
|
Return the outgoing edge that is the target of this edge. |
|
Return the label for the graph as a whole. |
|
Return custom properties for the top‐level DOT graph structure. |
|
Return custom DOT attributes for the given node. |
|
Return an optional longer description for the given node. |
|
Return a unique identifier string for the given node. |
|
hasEdgeDestLabels ‐ If this function returns true, the graph is able to provide labels for edge destinations. |
|
Return true if the given node should be omitted from the graph. |
|
Return how many incoming edge destination labels the node has. |
|
renderGraphFromBottomUp ‐ If this function returns true, the graph is emitted bottom‐up instead of top‐down. This requires graphviz 2.0 to work though. |
|
Return true if nodes should be rendered with HTML‐like labels. |
Protected Member Functions
Name |
Description |
Return true if this traits instance was constructed for simple names. |
Derived Classes
Name |
Description |
DOT GraphTraits helpers for block‐frequency visualization. |
|
DOTGraphTraits specialization for rendering a region node. |
|
DOT graph traits for Attributor call‐graph visualization. |
|
Traits that customize how a graph type is converted to DOT. |
|
DOTGraphTraits specialization for rendering a function CFG via DOTFuncInfo. |
|
DOTGraphTraits specialization for rendering a data‐dependence graph. |
|
DOTGraphTraits specialization for rendering a dominator‐tree node. |
|
DOTGraphTraits specialization for rendering a machine CFG via DOTMachineFuncInfo. |
Created with MrDocs