summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAGInstrs.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-07 23:00:52 +0000
committerAndrew Trick <atrick@apple.com>2012-03-07 23:00:52 +0000
commita316faabecda004e6607ad16e4e9020e4bc55e4b (patch)
tree4194777517628e43f706e9f949f17970abb51e6b /llvm/lib/CodeGen/ScheduleDAGInstrs.h
parent52226d409be06c7ed48aecfca6f82fdea45417af (diff)
downloadbcm5719-llvm-a316faabecda004e6607ad16e4e9020e4bc55e4b.tar.gz
bcm5719-llvm-a316faabecda004e6607ad16e4e9020e4bc55e4b.zip
misched prep: rename InsertPos to End.
ScheduleDAGInstrs knows nothing about how instructions will be moved or inserted. llvm-svn: 152256
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAGInstrs.h')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAGInstrs.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAGInstrs.h b/llvm/lib/CodeGen/ScheduleDAGInstrs.h
index 91b7350ab1f..ace97d8ff85 100644
--- a/llvm/lib/CodeGen/ScheduleDAGInstrs.h
+++ b/llvm/lib/CodeGen/ScheduleDAGInstrs.h
@@ -119,16 +119,14 @@ namespace llvm {
// The block in which to insert instructions
MachineBasicBlock *BB;
- // The beginning of the range to
- // be scheduled. The range extends
- // to InsertPos.
+ /// The beginning of the range to be scheduled.
MachineBasicBlock::iterator Begin;
- // The position to insert instructions
- MachineBasicBlock::iterator InsertPos;
+ /// The end of the range to be scheduled.
+ MachineBasicBlock::iterator End;
- // The index in BB of InsertPos.
- unsigned InsertPosIndex;
+ /// The index in BB of End.
+ unsigned EndIndex;
/// After calling BuildSchedGraph, each machine instruction in the current
/// scheduling region is mapped to an SUnit.
@@ -239,7 +237,7 @@ namespace llvm {
MachineBasicBlock::iterator begin() const { return Begin; }
/// end - Return an iterator to the bottom of the current scheduling region.
- MachineBasicBlock::iterator end() const { return InsertPos; }
+ MachineBasicBlock::iterator end() const { return End; }
/// NewSUnit - Creates a new SUnit and return a ptr to it.
///
OpenPOWER on IntegriCloud