[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Oct 20 00:38:10 PDT 2005
Changes in directory llvm/include/llvm/CodeGen:
LiveInterval.h updated: 1.14 -> 1.15
---
Log message:
add a new method
---
Diffs of the changes: (+5 -0)
LiveInterval.h | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/include/llvm/CodeGen/LiveInterval.h
diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.14 llvm/include/llvm/CodeGen/LiveInterval.h:1.15
--- llvm/include/llvm/CodeGen/LiveInterval.h:1.14 Sat May 14 00:34:15 2005
+++ llvm/include/llvm/CodeGen/LiveInterval.h Thu Oct 20 02:37:59 2005
@@ -143,6 +143,11 @@
/// 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.
More information about the llvm-commits
mailing list