new method
authorChris Lattner <sabre@nondot.org>
Sat, 2 Sep 2006 05:26:01 +0000 (05:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 2 Sep 2006 05:26:01 +0000 (05:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30048 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveIntervalAnalysis.h

index 4420e059ea95e442421d7ae2f25ccf9e94f9e3bc..030b3cfea0472257591b232a4d5ff2bc2e1062de 100644 (file)
@@ -168,6 +168,13 @@ namespace llvm {
     /// 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)