LLVM API Documentation

llvm::DOTGraphTraits< ScheduleDAG * > Struct Template Reference

Inheritance diagram for llvm::DOTGraphTraits< ScheduleDAG * >:
[legend]
Collaboration diagram for llvm::DOTGraphTraits< ScheduleDAG * >:
[legend]

List of all members.

Static Public Member Functions

static std::string getGraphName (const ScheduleDAG *G)
static bool renderGraphFromBottomUp ()
static bool hasNodeAddressLabel (const SUnit *Node, const ScheduleDAG *Graph)
static std::string getEdgeAttributes (const SUnit *Node, SUnitIterator EI)
static std::string getNodeLabel (const SUnit *Node, const ScheduleDAG *Graph)
static std::string getNodeAttributes (const SUnit *N, const ScheduleDAG *Graph)
static void addCustomGraphFeatures (ScheduleDAG *G, GraphWriter< ScheduleDAG * > &GW)


Detailed Description

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

Definition at line 35 of file ScheduleDAGPrinter.cpp.


Member Function Documentation

static std::string llvm::DOTGraphTraits< ScheduleDAG * >::getGraphName ( const ScheduleDAG *  G  )  [inline, static]

static bool llvm::DOTGraphTraits< ScheduleDAG * >::renderGraphFromBottomUp (  )  [inline, static]

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

Reimplemented from llvm::DefaultDOTGraphTraits.

Definition at line 40 of file ScheduleDAGPrinter.cpp.

static bool llvm::DOTGraphTraits< ScheduleDAG * >::hasNodeAddressLabel ( const SUnit *  Node,
const ScheduleDAG *  Graph 
) [inline, static]

Definition at line 44 of file ScheduleDAGPrinter.cpp.

static std::string llvm::DOTGraphTraits< ScheduleDAG * >::getEdgeAttributes ( const SUnit *  Node,
SUnitIterator  EI 
) [inline, static]

If you want to override the dot attributes printed for a particular edge, override this method.

Definition at line 51 of file ScheduleDAGPrinter.cpp.

References llvm::SUnitIterator::isArtificialDep(), and llvm::SUnitIterator::isCtrlDep().

static std::string llvm::DOTGraphTraits< ScheduleDAG * >::getNodeLabel ( const SUnit *  Node,
const ScheduleDAG *  Graph 
) [static]

static std::string llvm::DOTGraphTraits< ScheduleDAG * >::getNodeAttributes ( const SUnit *  N,
const ScheduleDAG *  Graph 
) [inline, static]

Definition at line 63 of file ScheduleDAGPrinter.cpp.

static void llvm::DOTGraphTraits< ScheduleDAG * >::addCustomGraphFeatures ( ScheduleDAG *  G,
GraphWriter< ScheduleDAG * > &  GW 
) [inline, static]


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