From: Chris Lattner Date: Sat, 2 Sep 2006 05:26:01 +0000 (+0000) Subject: new method X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6bda49fd9fbc356eb5cf8a8547bd03acb4fa7036;p=oota-llvm.git new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30048 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 4420e059ea9..030b3cfea04 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -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)