aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-13 20:42:08 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-13 20:42:08 +0000
commitb7be11514049d13f331743ac8c1a851cea9c6d70 (patch)
tree396a1ad21f64feb0044bfc53711c494c11894d0d /lib/CodeGen/RegAllocLinearScan.cpp
parentf7df173e3bf03c0d91adfa695fd9845583fb9d49 (diff)
downloadexternal_llvm-b7be11514049d13f331743ac8c1a851cea9c6d70.zip
external_llvm-b7be11514049d13f331743ac8c1a851cea9c6d70.tar.gz
external_llvm-b7be11514049d13f331743ac8c1a851cea9c6d70.tar.bz2
Indentation and whitespace cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index 616c438..e98dfe9 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -181,10 +181,10 @@ namespace {
if (str) std::cerr << str << ':';
for (TargetRegisterClass::iterator i =
rc->allocation_order_begin(*mf_);
- i != rc->allocation_order_end(*mf_); ++i) {
+ i != rc->allocation_order_end(*mf_); ++i) {
unsigned reg = *i;
if (!regUse_[reg]) {
- std::cerr << ' ' << mri_->getName(reg);
+ std::cerr << ' ' << mri_->getName(reg);
if (reserved_[reg]) std::cerr << "*";
}
}
@@ -255,7 +255,7 @@ bool RA::runOnMachineFunction(MachineFunction &fn) {
processActiveIntervals(cur);
processInactiveIntervals(cur);
-
+
// if this register is fixed we are done
if (cur->reg < MRegisterInfo::FirstVirtualRegister) {
markPhysRegNotFree(cur->reg);
@@ -517,8 +517,8 @@ void RA::assignStackSlotAtInterval(IntervalPtrs::value_type cur)
// for each interval in active that overlaps
for (IntervalPtrs::const_iterator i = active_.begin(), e = active_.end();
i != e; ++i) {
- if (!cur->overlaps(**i))
- continue;
+ if (!cur->overlaps(**i))
+ continue;
unsigned reg = (*i)->reg;
if (reg >= MRegisterInfo::FirstVirtualRegister) {
@@ -532,8 +532,8 @@ void RA::assignStackSlotAtInterval(IntervalPtrs::value_type cur)
// for each interval in inactive that overlaps
for (IntervalPtrs::const_iterator i = inactive_.begin(),
e = inactive_.end(); i != e; ++i) {
- if (!cur->overlaps(**i))
- continue;
+ if (!cur->overlaps(**i))
+ continue;
unsigned reg = (*i)->reg;
if (reg >= MRegisterInfo::FirstVirtualRegister) {
@@ -547,8 +547,8 @@ void RA::assignStackSlotAtInterval(IntervalPtrs::value_type cur)
// for each fixed interval that overlaps
for (IntervalPtrs::const_iterator i = fixed_.begin(), e = fixed_.end();
i != e; ++i) {
- if (!cur->overlaps(**i))
- continue;
+ if (!cur->overlaps(**i))
+ continue;
assert((*i)->reg < MRegisterInfo::FirstVirtualRegister &&
"virtual register interval in fixed set?");