aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-02 05:26:01 +0000
committerChris Lattner <sabre@nondot.org>2006-09-02 05:26:01 +0000
commit6bda49fd9fbc356eb5cf8a8547bd03acb4fa7036 (patch)
tree2dc5fbeed733d2ee56370a2cc79558667573eab1 /include
parent467782c160dbac525faababe76bc40a595f7f0e6 (diff)
downloadexternal_llvm-6bda49fd9fbc356eb5cf8a8547bd03acb4fa7036.zip
external_llvm-6bda49fd9fbc356eb5cf8a8547bd03acb4fa7036.tar.gz
external_llvm-6bda49fd9fbc356eb5cf8a8547bd03acb4fa7036.tar.bz2
new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 4420e05..030b3cf 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)