summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-24 00:02:44 +0000
committerDan Gohman <gohman@apple.com>2008-06-24 00:02:44 +0000
commit6269cc1ced737ed7370d8d2b11e7066f8900c8f1 (patch)
tree622d6c269e3e9ce411c35e124a34861b5db79af2
parent9cc3f68ab126a8f01ffc345f6af166fa11dd0bb0 (diff)
downloadbcm5719-llvm-6269cc1ced737ed7370d8d2b11e7066f8900c8f1.tar.gz
bcm5719-llvm-6269cc1ced737ed7370d8d2b11e7066f8900c8f1.zip
Comment fixes, and make Schedule() pure virtual.
llvm-svn: 52658
-rw-r--r--llvm/include/llvm/CodeGen/ScheduleDAG.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/ScheduleDAG.h b/llvm/include/llvm/CodeGen/ScheduleDAG.h
index 0c393a0628a..4849f914ca9 100644
--- a/llvm/include/llvm/CodeGen/ScheduleDAG.h
+++ b/llvm/include/llvm/CodeGen/ScheduleDAG.h
@@ -229,8 +229,9 @@ namespace llvm {
virtual void remove(SUnit *SU) = 0;
/// ScheduledNode - As each node is scheduled, this method is invoked. This
- /// allows the priority function to adjust the priority of node that have
- /// already been emitted.
+ /// allows the priority function to adjust the priority of related
+ /// unscheduled nodes, for example.
+ ///
virtual void ScheduledNode(SUnit *) {}
virtual void UnscheduledNode(SUnit *) {}
@@ -339,9 +340,10 @@ namespace llvm {
void dumpSchedule() const;
- /// Schedule - Order nodes according to selected style.
+ /// Schedule - Order nodes according to selected style, filling
+ /// in the Sequence member.
///
- virtual void Schedule() {}
+ virtual void Schedule() = 0;
private:
/// EmitSubregNode - Generate machine code for subreg nodes.
OpenPOWER on IntegriCloud