[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
Bill Wendling
isanbard at gmail.com
Wed Nov 15 18:42:05 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
LiveIntervalAnalysis.h updated: 1.64 -> 1.65
---
Log message:
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.
---
Diffs of the changes: (+5 -0)
LiveIntervalAnalysis.h | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.64 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.65
--- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.64 Thu Sep 14 22:57:23 2006
+++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h Wed Nov 15 20:41:50 2006
@@ -148,6 +148,11 @@
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();
More information about the llvm-commits
mailing list