DOTGraphTraits specialization for rendering a dominator tree.

Synopsis

Declared in <llvm/Analysis/DomPrinter.h>

Base Classes

Name

Description

DOTGraphTraits<DomTreeNode*>

DOTGraphTraits specialization for rendering a dominator‐tree node.

Member Functions

Name

Description

DOTGraphTraits [constructor]

Construct DOT traits for a dominator tree, optionally in simple mode.

getNodeLabel

getNodeLabel overloads

Static Member Functions

Name

Description

addCustomGraphFeatures

Emit graph features beyond ordinary nodes and edges.

edgeTargetsEdgeSource

Return true if this outgoing edge should target another edge source.

getEdgeAttributes

Return custom DOT attributes for a particular edge.

getEdgeDestLabel

Return the incoming edge destination label at the given index.

getEdgeSourceLabel

Return a label for the edge source itself, if any.

getEdgeTarget

Return the outgoing edge that is the target of this edge.

getGraphName

getGraphName overloads

getGraphProperties

Return custom properties for the top‐level DOT graph structure.

getNodeAttributes

Return custom DOT attributes for the given node.

getNodeDescription

Return an optional longer description for the given node.

getNodeIdentifierLabel

Return a unique identifier string for the given node.

hasEdgeDestLabels

hasEdgeDestLabels ‐ If this function returns true, the graph is able to provide labels for edge destinations.

isNodeHidden

Return true if the given node should be omitted from the graph.

numEdgeDestLabels

Return how many incoming edge destination labels the node has.

renderGraphFromBottomUp

renderGraphFromBottomUp ‐ If this function returns true, the graph is emitted bottom‐up instead of top‐down. This requires graphviz 2.0 to work though.

renderNodesUsingHTML

Return true if nodes should be rendered with HTML‐like labels.

Protected Member Functions

Name

Description

isSimple

Return true if this traits instance was constructed for simple names.

Created with MrDocs