diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-03 08:07:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-03 08:07:11 +0000 |
commit | 6b128bdc58a496e9f08e4d09416330320761baff (patch) | |
tree | b56d1cef7b6ca9b924d2408a7d459671d27196bb /include/llvm/CodeGen/LiveIntervalAnalysis.h | |
parent | fbecc5a593da0a5b4d9ff6be63c5558060e31e43 (diff) | |
download | external_llvm-6b128bdc58a496e9f08e4d09416330320761baff.zip external_llvm-6b128bdc58a496e9f08e4d09416330320761baff.tar.gz external_llvm-6b128bdc58a496e9f08e4d09416330320761baff.tar.bz2 |
Avoid beating on the mi2i map when we know the answer already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 21c8833..7745184 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -190,20 +190,22 @@ namespace llvm { /// handleRegisterDef - update intervals for a register def /// (calls handlePhysicalRegisterDef and /// handleVirtualRegisterDef) - void handleRegisterDef(MachineBasicBlock* mbb, - MachineBasicBlock::iterator mi, + void handleRegisterDef(MachineBasicBlock *MBB, + MachineBasicBlock::iterator MI, unsigned MIIdx, unsigned reg); /// handleVirtualRegisterDef - update intervals for a virtual /// register def - void handleVirtualRegisterDef(MachineBasicBlock* mbb, - MachineBasicBlock::iterator mi, + void handleVirtualRegisterDef(MachineBasicBlock *MBB, + MachineBasicBlock::iterator MI, + unsigned MIIdx, LiveInterval& interval); /// handlePhysicalRegisterDef - update intervals for a physical register /// def. void handlePhysicalRegisterDef(MachineBasicBlock* mbb, MachineBasicBlock::iterator mi, + unsigned MIIdx, LiveInterval &interval, unsigned SrcReg); |