summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-07 23:00:49 +0000
committerAndrew Trick <atrick@apple.com>2012-03-07 23:00:49 +0000
commit52226d409be06c7ed48aecfca6f82fdea45417af (patch)
tree33dd1dd62c7486d8f6a8f2171ad58838b3ccaa7b /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
parent22842f89e43e70ab73d1bdb5297db29aa9403a2b (diff)
downloadbcm5719-llvm-52226d409be06c7ed48aecfca6f82fdea45417af.tar.gz
bcm5719-llvm-52226d409be06c7ed48aecfca6f82fdea45417af.zip
misched preparation: rename core scheduler methods for consistency.
We had half the API with one convention, half with another. Now was a good time to clean it up. llvm-svn: 152255
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
index e12106a525c..c8512914c1e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
@@ -158,7 +158,7 @@ void ScheduleDAGVLIW::scheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
releaseSuccessors(SU);
SU->isScheduled = true;
- AvailableQueue->ScheduledNode(SU);
+ AvailableQueue->scheduledNode(SU);
}
/// listScheduleTopDown - The main loop of list scheduling for top-down
@@ -202,7 +202,7 @@ void ScheduleDAGVLIW::listScheduleTopDown() {
// don't advance the hazard recognizer.
if (AvailableQueue->empty()) {
// Reset DFA state.
- AvailableQueue->ScheduledNode(0);
+ AvailableQueue->scheduledNode(0);
++CurCycle;
continue;
}
OpenPOWER on IntegriCloud