[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 1 22:38:07 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
LiveInterval.h updated: 1.24 -> 1.25
---
Log message:
add a prototype
---
Diffs of the changes: (+7 -1)
LiveInterval.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/LiveInterval.h
diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.24 llvm/include/llvm/CodeGen/LiveInterval.h:1.25
--- llvm/include/llvm/CodeGen/LiveInterval.h:1.24 Fri Sep 1 01:57:35 2006
+++ llvm/include/llvm/CodeGen/LiveInterval.h Sat Sep 2 00:37:53 2006
@@ -166,6 +166,13 @@
/// 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 @@
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);
More information about the llvm-commits
mailing list