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< ScheduleDAG * > Struct Template Reference
Inheritance diagram for llvm::DOTGraphTraits< ScheduleDAG * >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DOTGraphTraits< ScheduleDAG * >:
Collaboration graph
[legend]

Public Member Functions

 DOTGraphTraits (bool isSimple=false)
 
std::string getNodeLabel (const SUnit *Node, const ScheduleDAG *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 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)
 
- 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< ScheduleDAG * >

Definition at line 32 of file ScheduleDAGPrinter.cpp.

Constructor & Destructor Documentation

Definition at line 34 of file ScheduleDAGPrinter.cpp.

Member Function Documentation

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

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

Definition at line 55 of file ScheduleDAGPrinter.cpp.

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

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

Definition at line 67 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 
)
inlinestatic

Definition at line 48 of file ScheduleDAGPrinter.cpp.

static bool llvm::DOTGraphTraits< ScheduleDAG * >::isNodeHidden ( const SUnit Node)
inlinestatic

Definition at line 44 of file ScheduleDAGPrinter.cpp.

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

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

Definition at line 40 of file ScheduleDAGPrinter.cpp.


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