59 return "color=cyan,style=dashed";
61 return "color=blue,style=dashed";
69 return "shape=Mrecord";
92 errs() <<
"ScheduleDAG::viewGraph is only available in debug builds on "
93 <<
"systems with Graphviz or gv!\n";
bool isArtificialDep() const
DOTGraphTraits(bool isSimple=false)
virtual std::string getGraphNodeLabel(const SUnit *SU) const =0
virtual void viewGraph()
Out-of-line implementation with no arguments is handy for gdb.
static std::string getGraphName(const ScheduleDAG *G)
static std::string getNodeAttributes(const SUnit *N, const ScheduleDAG *Graph)
virtual std::string getDAGName() const =0
getDAGLabel - Return a label for the region of code covered by the DAG.
static std::string getEdgeAttributes(const SUnit *Node, SUnitIterator EI, const ScheduleDAG *Graph)
std::string getNodeLabel(const void *, const GraphType &)
virtual void addCustomGraphFeatures(GraphWriter< ScheduleDAG * > &) const
void ViewGraph(const GraphType &G, const Twine &Name, bool ShortNames=false, const Twine &Title="", GraphProgram::Name Program=GraphProgram::DOT)
static void addCustomGraphFeatures(ScheduleDAG *G, GraphWriter< ScheduleDAG * > &GW)
static bool renderGraphFromBottomUp()
bool isCtrlDep() const
isCtrlDep - Test if this is not an SDep::Data dependence.
static bool isNodeHidden(const SUnit *Node)
static bool hasNodeAddressLabel(const SUnit *Node, const ScheduleDAG *Graph)
StringRef getName() const
SUnit - Scheduling unit. This is a node in the scheduling DAG.