diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-02 05:37:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-02 05:37:53 +0000 |
commit | 2efe1094528b08460508bb8a2028c249536b353a (patch) | |
tree | 0fc142d54c08762d1634549d50f4cdefc88f0855 /include/llvm/CodeGen/LiveInterval.h | |
parent | 1acb17cb8392dce33079fe45f383944ec6616757 (diff) |
add a prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index b2425db619..86b1873d5a 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -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); |