LLVM API Documentation
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) |
Definition at line 31 of file ScheduleDAGPrinter.cpp.
llvm::DOTGraphTraits< ScheduleDAG * >::DOTGraphTraits | ( | bool | isSimple = false | ) | [inline] |
Definition at line 33 of file ScheduleDAGPrinter.cpp.
static void llvm::DOTGraphTraits< ScheduleDAG * >::addCustomGraphFeatures | ( | ScheduleDAG * | G, |
GraphWriter< ScheduleDAG * > & | GW | ||
) | [inline, static] |
Definition at line 71 of file ScheduleDAGPrinter.cpp.
References llvm::ScheduleDAG::addCustomGraphFeatures().
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] |
Definition at line 35 of file ScheduleDAGPrinter.cpp.
References llvm::MachineFunction::getName(), and llvm::ScheduleDAG::MF.
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.