diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-15 18:24:29 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-15 18:24:29 +0000 |
commit | 7d2b9088fc7720b6928b09a032206c293fc6d6bb (patch) | |
tree | 101c003537c8d19f3d9ef2cd7a22a51d0c01dc32 /include/llvm/CodeGen/LiveIntervalAnalysis.h | |
parent | 5d27025e335080dfeb168e2aa2ae95f680b19779 (diff) | |
download | external_llvm-7d2b9088fc7720b6928b09a032206c293fc6d6bb.zip external_llvm-7d2b9088fc7720b6928b09a032206c293fc6d6bb.tar.gz external_llvm-7d2b9088fc7720b6928b09a032206c293fc6d6bb.tar.bz2 |
- Removing the infamous r2rMap_ and rep() method. Now the coalescer will update
register defs and uses after each successful coalescing.
- Also removed a number of hacks and fixed some subtle kill information bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 1667ee3..440ae6e 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -229,6 +229,10 @@ namespace llvm { BumpPtrAllocator& getVNInfoAllocator() { return VNInfoAllocator; } + /// getVNInfoSourceReg - Helper function that parses the specified VNInfo + /// copy field and returns the source register that defines it. + unsigned getVNInfoSourceReg(const VNInfo *VNI) const; + virtual void getAnalysisUsage(AnalysisUsage &AU) const; virtual void releaseMemory(); @@ -276,7 +280,7 @@ namespace llvm { MachineBasicBlock::iterator mi, unsigned MIIdx, LiveInterval &interval, - unsigned SrcReg); + MachineInstr *CopyMI); /// handleLiveInRegister - Create interval for a livein register. void handleLiveInRegister(MachineBasicBlock* mbb, |