summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ScheduleDAGInstrs.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-07 23:00:57 +0000
committerAndrew Trick <atrick@apple.com>2012-03-07 23:00:57 +0000
commit035ec40eaf1dcd8f4809fb183098259f2dec75b9 (patch)
tree71819cede646b496e1567acfc94216b841ca4cc1 /lib/CodeGen/ScheduleDAGInstrs.cpp
parent21c535579b7737f1f394d08881b3d99837207733 (diff)
downloadllvm-035ec40eaf1dcd8f4809fb183098259f2dec75b9.tar.gz
llvm-035ec40eaf1dcd8f4809fb183098259f2dec75b9.tar.bz2
llvm-035ec40eaf1dcd8f4809fb183098259f2dec75b9.tar.xz
misched prep: Cleanup ScheduleDAGInstrs interface.
ScheduleDAGInstrs will be the main interface for MI-level schedulers. Make sure it's readable: one page of protected fields, one page of public methids. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAGInstrs.cpp')
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 505d56c79e..c4addeea25 100644
--- a/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -137,13 +137,13 @@ void ScheduleDAGInstrs::finishBlock() {
}
/// Initialize the map with the number of registers.
-void ScheduleDAGInstrs::Reg2SUnitsMap::setRegLimit(unsigned Limit) {
+void Reg2SUnitsMap::setRegLimit(unsigned Limit) {
PhysRegSet.setUniverse(Limit);
SUnits.resize(Limit);
}
/// Clear the map without deallocating storage.
-void ScheduleDAGInstrs::Reg2SUnitsMap::clear() {
+void Reg2SUnitsMap::clear() {
for (const_iterator I = reg_begin(), E = reg_end(); I != E; ++I) {
SUnits[*I].clear();
}