LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DOTGraphTraits< ScheduleDAG * > Struct Template Reference
Inheritance diagram for llvm::DOTGraphTraits< ScheduleDAG * >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DOTGraphTraits< ScheduleDAG * >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DOTGraphTraits (bool isSimple=false)
std::string getNodeLabel (const SUnit *Node, const ScheduleDAG *Graph)

Static Public Member Functions

static std::string getGraphName (const ScheduleDAG *G)
static bool renderGraphFromBottomUp ()
static bool isNodeHidden (const SUnit *Node)
static bool hasNodeAddressLabel (const SUnit *Node, const ScheduleDAG *Graph)
static std::string getEdgeAttributes (const SUnit *Node, SUnitIterator EI, 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 31 of file ScheduleDAGPrinter.cpp.


Constructor & Destructor Documentation

llvm::DOTGraphTraits< ScheduleDAG * >::DOTGraphTraits ( bool  isSimple = false) [inline]

Definition at line 33 of file ScheduleDAGPrinter.cpp.


Member Function Documentation

static void llvm::DOTGraphTraits< ScheduleDAG * >::addCustomGraphFeatures ( ScheduleDAG G,
GraphWriter< ScheduleDAG * > &  GW 
) [inline, static]
static std::string llvm::DOTGraphTraits< ScheduleDAG * >::getEdgeAttributes ( const SUnit Node,
SUnitIterator  EI,
const ScheduleDAG Graph 
) [inline, static]

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

Definition at line 54 of file ScheduleDAGPrinter.cpp.

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

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

Definition at line 66 of file ScheduleDAGPrinter.cpp.

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

Definition at line 47 of file ScheduleDAGPrinter.cpp.

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

Definition at line 43 of file ScheduleDAGPrinter.cpp.

References llvm::SUnit::NumPreds, and llvm::SUnit::NumSuccs.

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 39 of file ScheduleDAGPrinter.cpp.


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