Rename LiveIntervals::expired() to LiveIntervals::expiredAt().
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Thu, 18 Dec 2003 08:56:11 +0000 (08:56 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Thu, 18 Dec 2003 08:56:11 +0000 (08:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10511 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/LiveIntervals.h
lib/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/RegAllocLinearScan.cpp

index 54b5ca3fee3c29717f23a55a3c0fa8191d3ef990..1257e15771730a17bcc8ed574a047f9f8295dfda 100644 (file)
@@ -55,7 +55,7 @@ namespace llvm {
                 return ranges.back().second;
             }
 
-            bool expired(unsigned index) const {
+            bool expiredAt(unsigned index) const {
                 return end() <= index;
             }
 
index 54b5ca3fee3c29717f23a55a3c0fa8191d3ef990..1257e15771730a17bcc8ed574a047f9f8295dfda 100644 (file)
@@ -55,7 +55,7 @@ namespace llvm {
                 return ranges.back().second;
             }
 
-            bool expired(unsigned index) const {
+            bool expiredAt(unsigned index) const {
                 return end() <= index;
             }
 
index 54b5ca3fee3c29717f23a55a3c0fa8191d3ef990..1257e15771730a17bcc8ed574a047f9f8295dfda 100644 (file)
@@ -55,7 +55,7 @@ namespace llvm {
                 return ranges.back().second;
             }
 
-            bool expired(unsigned index) const {
+            bool expiredAt(unsigned index) const {
                 return end() <= index;
             }
 
index 9e8089a35e5225422a8a9fddb252c6c961c3c429..75d213de115d9b2f6317f58dc82add148adbf455 100644 (file)
@@ -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);