summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-07 05:21:47 +0000
committerAndrew Trick <atrick@apple.com>2012-03-07 05:21:47 +0000
commit7b58ae77acb63db29116e548393ddd2127909425 (patch)
tree5173fc3db0b9582f9410a3cb5acf31098c4e86d6 /lib/CodeGen
parent84b454d1a270a5d685e01686ed15e68c44b0b56a (diff)
downloadllvm-7b58ae77acb63db29116e548393ddd2127909425.tar.gz
llvm-7b58ae77acb63db29116e548393ddd2127909425.tar.bz2
llvm-7b58ae77acb63db29116e548393ddd2127909425.tar.xz
ScheduleDAGInstrs comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.h b/lib/CodeGen/ScheduleDAGInstrs.h
index 1ae310eeed..a27a8c4891 100644
--- a/lib/CodeGen/ScheduleDAGInstrs.h
+++ b/lib/CodeGen/ScheduleDAGInstrs.h
@@ -281,8 +281,10 @@ namespace llvm {
virtual void dumpNode(const SUnit *SU) const;
+ /// Return a label for a DAG node that points to an instruction.
virtual std::string getGraphNodeLabel(const SUnit *SU) const;
+ /// Return a label for the region of code covered by the DAG.
virtual std::string getDAGName() const;
protected: