LLVM API Documentation
Public Member Functions | |
DOTGraphTraits (bool isSimple=false) | |
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 | getNodeLabel (const SUnit *SU, const ScheduleDAG *G) |
static std::string | getNodeDescription (const SUnit *SU, const ScheduleDAG *G) |
static std::string | getNodeAttributes (const SUnit *N, const ScheduleDAG *G) |
Definition at line 3232 of file MachineScheduler.cpp.
llvm::DOTGraphTraits< ScheduleDAGMI * >::DOTGraphTraits | ( | bool | isSimple = false | ) | [inline] |
Definition at line 3234 of file MachineScheduler.cpp.
static std::string llvm::DOTGraphTraits< ScheduleDAGMI * >::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 3255 of file MachineScheduler.cpp.
References llvm::SUnitIterator::isArtificialDep(), and llvm::SUnitIterator::isCtrlDep().
static std::string llvm::DOTGraphTraits< ScheduleDAGMI * >::getGraphName | ( | const ScheduleDAG * | G | ) | [inline, static] |
Definition at line 3236 of file MachineScheduler.cpp.
References llvm::MachineFunction::getName(), and llvm::ScheduleDAG::MF.
static std::string llvm::DOTGraphTraits< ScheduleDAGMI * >::getNodeAttributes | ( | const SUnit * | N, |
const ScheduleDAG * | G | ||
) | [inline, static] |
Definition at line 3280 of file MachineScheduler.cpp.
References G, llvm::DOT::getColorString(), llvm::SchedDFSResult::getSubtreeID(), and llvm::ScheduleDAGMI::hasVRegLiveness().
static std::string llvm::DOTGraphTraits< ScheduleDAGMI * >::getNodeDescription | ( | const SUnit * | SU, |
const ScheduleDAG * | G | ||
) | [inline, static] |
Definition at line 3276 of file MachineScheduler.cpp.
References llvm::ScheduleDAG::getGraphNodeLabel().
static std::string llvm::DOTGraphTraits< ScheduleDAGMI * >::getNodeLabel | ( | const SUnit * | SU, |
const ScheduleDAG * | G | ||
) | [inline, static] |
Definition at line 3265 of file MachineScheduler.cpp.
References G, llvm::SchedDFSResult::getNumInstrs(), llvm::ScheduleDAGMI::hasVRegLiveness(), llvm::SUnit::NodeNum, and llvm::raw_string_ostream::str().
static bool llvm::DOTGraphTraits< ScheduleDAGMI * >::hasNodeAddressLabel | ( | const SUnit * | Node, |
const ScheduleDAG * | Graph | ||
) | [inline, static] |
Definition at line 3248 of file MachineScheduler.cpp.
static bool llvm::DOTGraphTraits< ScheduleDAGMI * >::isNodeHidden | ( | const SUnit * | Node | ) | [inline, static] |
Definition at line 3244 of file MachineScheduler.cpp.
References llvm::SUnit::Preds, llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::SUnit::Succs.
static bool llvm::DOTGraphTraits< ScheduleDAGMI * >::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 3240 of file MachineScheduler.cpp.