[llvm-commits] [llvm] r52658 - /llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
Dan Gohman
gohman at apple.com
Mon Jun 23 17:02:45 PDT 2008
Author: djg
Date: Mon Jun 23 19:02:44 2008
New Revision: 52658
URL: http://llvm.org/viewvc/llvm-project?rev=52658&view=rev
Log:
Comment fixes, and make Schedule() pure virtual.
Modified:
llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
Modified: llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h?rev=52658&r1=52657&r2=52658&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h Mon Jun 23 19:02:44 2008
@@ -229,8 +229,9 @@
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 @@
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.
More information about the llvm-commits
mailing list