aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2003-12-18 08:56:11 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2003-12-18 08:56:11 +0000
commit485ec3c21efcb6388911f654a187c49ad04e86e6 (patch)
tree2c2888d6e4b1b602994c6e5c6a5ca703cc06845f
parent43f692f90f6b27304570e1b1807542dff4b8e847 (diff)
Rename LiveIntervals::expired() to LiveIntervals::expiredAt().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10511 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h2
-rw-r--r--include/llvm/CodeGen/LiveIntervals.h2
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.h2
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 54b5ca3fee..1257e15771 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -55,7 +55,7 @@ namespace llvm {
return ranges.back().second;
}
- bool expired(unsigned index) const {
+ bool expiredAt(unsigned index) const {
return end() <= index;
}
diff --git a/include/llvm/CodeGen/LiveIntervals.h b/include/llvm/CodeGen/LiveIntervals.h
index 54b5ca3fee..1257e15771 100644
--- a/include/llvm/CodeGen/LiveIntervals.h
+++ b/include/llvm/CodeGen/LiveIntervals.h
@@ -55,7 +55,7 @@ namespace llvm {
return ranges.back().second;
}
- bool expired(unsigned index) const {
+ bool expiredAt(unsigned index) const {
return end() <= index;
}
diff --git a/lib/CodeGen/LiveIntervalAnalysis.h b/lib/CodeGen/LiveIntervalAnalysis.h
index 54b5ca3fee..1257e15771 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.h
+++ b/lib/CodeGen/LiveIntervalAnalysis.h
@@ -55,7 +55,7 @@ namespace llvm {
return ranges.back().second;
}
- bool expired(unsigned index) const {
+ bool expiredAt(unsigned index) const {
return end() <= index;
}
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index 9e8089a35e..75d213de11 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -464,7 +464,7 @@ void RA::processActiveIntervals(Intervals::const_iterator cur)
// an interval expires this is going to be the last use. in
// this case we can reuse the register for a def in the same
// instruction
- if ((*i)->expired(cur->start() + 1)) {
+ if ((*i)->expiredAt(cur->start() + 1)) {
DEBUG(std::cerr << "\t\tinterval " << **i << " expired\n");
if (reg < MRegisterInfo::FirstVirtualRegister) {
clearReservedPhysReg(reg);