add a prototype
authorChris Lattner <sabre@nondot.org>
Sat, 2 Sep 2006 05:37:53 +0000 (05:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 2 Sep 2006 05:37:53 +0000 (05:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30051 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveInterval.h

index b2425db6193822bcb6509dbbc29b08005d3f7324..86b1873d5ab65d4100e7c2a1fb6fd9147ccf02ed 100644 (file)
@@ -166,6 +166,13 @@ namespace llvm {
     /// used with an unknown definition value.
     void MergeInClobberRanges(const LiveInterval &Clobbers);
 
+    
+    /// MergeRangesInAsValue - Merge all of the intervals in RHS into this live
+    /// interval as the specified value number.  The LiveRanges in RHS are
+    /// allowed to overlap with LiveRanges in the current interval, but only if
+    /// the overlapping LiveRanges have the specified value number.
+    void MergeRangesInAsValue(const LiveInterval &RHS, unsigned LHSValNo);
+    
     bool empty() const { return ranges.empty(); }
 
     /// beginNumber - Return the lowest numbered slot covered by interval.
@@ -233,7 +240,6 @@ namespace llvm {
               int *RHSValNoAssignments,
               SmallVector<std::pair<unsigned,unsigned>,16> &NewValueNumberInfo);
 
-
     /// removeRange - Remove the specified range from this interval.  Note that
     /// the range must already be in this interval in its entirety.
     void removeRange(unsigned Start, unsigned End);