[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 1 22:26:15 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

LiveIntervalAnalysis.h updated: 1.57 -> 1.58
---
Log message:

new method


---
Diffs of the changes:  (+7 -0)

 LiveIntervalAnalysis.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.57 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.58
--- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.57	Thu Aug 31 23:02:42 2006
+++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h	Sat Sep  2 00:26:01 2006
@@ -168,6 +168,13 @@
     /// below to update aliases.
     bool JoinIntervals(LiveInterval &LHS, LiveInterval &RHS);
     
+    /// SimpleJoin - Attempt to joint the specified interval into this one. The
+    /// caller of this method must guarantee that the RHS only contains a single
+    /// value number and that the RHS is not defined by a copy from this
+    /// interval.  This returns false if the intervals are not joinable, or it
+    /// joins them and returns true.
+    bool SimpleJoin(LiveInterval &LHS, LiveInterval &RHS);
+    
     /// handleRegisterDef - update intervals for a register def
     /// (calls handlePhysicalRegisterDef and
     /// handleVirtualRegisterDef)






More information about the llvm-commits mailing list