diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-16 02:41:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-16 02:41:50 +0000 |
commit | 01352aa1875ee08ae847cce398322042830d92ed (patch) | |
tree | 2f94c497f8b5af3ceab73fb573f19a8879c4eecd /include/llvm/CodeGen | |
parent | 027f388ab8aa509e5614168d451150def8765b3c (diff) | |
download | llvm-01352aa1875ee08ae847cce398322042830d92ed.tar.gz llvm-01352aa1875ee08ae847cce398322042830d92ed.tar.bz2 llvm-01352aa1875ee08ae847cce398322042830d92ed.tar.xz |
Added a new method "CreateNewLiveInterval" which, given a list of
LiveRanges, creates a new LiveInterval from them. The LiveRanges should
have existed already in another LiveInterval, but removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 717063ecff..11f836b99a 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -148,6 +148,11 @@ namespace llvm { VirtRegMap& vrm, int slot); + /// CreateNewLiveInterval - Create a new live interval with the given live + /// ranges. The new live interval will have an infinite spill weight. + LiveInterval &CreateNewLiveInterval(const LiveInterval *LI, + const std::vector<LiveRange> &LRs); + virtual void getAnalysisUsage(AnalysisUsage &AU) const; virtual void releaseMemory(); |