From 1b2324d0e8b9cb1b20845862769d53f2b11c9add Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Wed, 7 Mar 2012 00:18:22 +0000 Subject: Cleanup in preparation for misched: Move DAG visualization logic. Soon, ScheduleDAG will not refer to the BB. llvm-svn: 152177 --- llvm/lib/CodeGen/ScheduleDAGInstrs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen/ScheduleDAGInstrs.h') diff --git a/llvm/lib/CodeGen/ScheduleDAGInstrs.h b/llvm/lib/CodeGen/ScheduleDAGInstrs.h index 248c273a728..7d761044919 100644 --- a/llvm/lib/CodeGen/ScheduleDAGInstrs.h +++ b/llvm/lib/CodeGen/ScheduleDAGInstrs.h @@ -285,6 +285,8 @@ namespace llvm { virtual std::string getGraphNodeLabel(const SUnit *SU) const; + virtual std::string getDAGName() const; + protected: SUnit *getSUnit(MachineInstr *MI) const { DenseMap::const_iterator I = MISUnitMap.find(MI); -- cgit v1.2.3