Op = Op + "<trunc " + MVT::getValueTypeString(ST->getStoredVT()) + ">";
Op += ST->getIndexedModeName(ST->getAddressingMode());
}
+
+#if 0
+ Op += " Id=" + itostr(Node->getNodeId());
+#endif
return Op;
}
/// edge, override this method.
template<typename EdgeIter>
static std::string getEdgeAttributes(const void *Node, EdgeIter EI) {
- if (EI.isChain())
+ if (EI.isCtrlDep())
return "color=blue,style=dashed";
return "";
}
GraphWriter<ScheduleDAG*> &GW) {
GW.emitSimpleNode(0, "plaintext=circle", "GraphRoot");
if (G->DAG.getRoot().Val)
- GW.emitEdge(0, -1, G->SUnitMap[G->DAG.getRoot().Val], -1, "");
+ GW.emitEdge(0, -1, G->SUnitMap[G->DAG.getRoot().Val].front(), -1, "");
}
};
}