add a new method

llvm-svn: 23840
This commit is contained in:
Chris Lattner 2005-10-20 07:37:59 +00:00
parent 8816353040
commit 6380f3c96d
1 changed files with 5 additions and 0 deletions

View File

@ -143,6 +143,11 @@ namespace llvm {
/// only overlaps with one value in the source interval.
bool joinable(const LiveInterval& other, unsigned CopyIdx) const;
/// getOverlapingRanges - Given another live interval which is defined as a
/// copy from this one, return a list of all of the live ranges where the
/// two overlap and have different value numbers.
void getOverlapingRanges(const LiveInterval &Other, unsigned CopyIdx,
std::vector<LiveRange*> &Ranges);
/// overlaps - Return true if the intersection of the two live intervals is
/// not empty.