diff options
author | Andrew Trick <atrick@apple.com> | 2012-03-07 00:18:22 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-03-07 00:18:22 +0000 |
commit | 1b2324d0e8b9cb1b20845862769d53f2b11c9add (patch) | |
tree | cf216b03d490d1024cc81237aeea034c1da9acf4 /llvm/lib/CodeGen/ScheduleDAGInstrs.h | |
parent | 320c7030dbfed01a58421e61f9f48b59b39ee652 (diff) | |
download | bcm5719-llvm-1b2324d0e8b9cb1b20845862769d53f2b11c9add.tar.gz bcm5719-llvm-1b2324d0e8b9cb1b20845862769d53f2b11c9add.zip |
Cleanup in preparation for misched: Move DAG visualization logic.
Soon, ScheduleDAG will not refer to the BB.
llvm-svn: 152177
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAGInstrs.h')
-rw-r--r-- | llvm/lib/CodeGen/ScheduleDAGInstrs.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<MachineInstr*, SUnit*>::const_iterator I = MISUnitMap.find(MI); |