diff options
| author | Mark Lacey <mark.lacey@apple.com> | 2013-08-14 23:50:04 +0000 |
|---|---|---|
| committer | Mark Lacey <mark.lacey@apple.com> | 2013-08-14 23:50:04 +0000 |
| commit | f9ea88546fc1e0ce85de0fe7af899c27d461bcae (patch) | |
| tree | 4ba2ecb51bf517d98208475bb8437a570448e546 /llvm/lib/CodeGen/LiveDebugVariables.h | |
| parent | 71c080f6252f0364eb41170dcbcc277ae4311857 (diff) | |
| download | bcm5719-llvm-f9ea88546fc1e0ce85de0fe7af899c27d461bcae.tar.gz bcm5719-llvm-f9ea88546fc1e0ce85de0fe7af899c27d461bcae.zip | |
Track new virtual registers by register number.
Track new virtual registers by register number, rather than by the live
interval created for them. This is the first step in separating the
creation of new virtual registers and new live intervals. Eventually
live intervals will be created and populated on demand after the virtual
registers have been created and used in instructions.
llvm-svn: 188434
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.h')
| -rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.h b/llvm/lib/CodeGen/LiveDebugVariables.h index 3ce3c398bd4..58a3f0f6ff5 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.h +++ b/llvm/lib/CodeGen/LiveDebugVariables.h @@ -27,6 +27,7 @@ namespace llvm { class LiveInterval; +class LiveIntervals; class VirtRegMap; class LiveDebugVariables : public MachineFunctionPass { @@ -47,7 +48,8 @@ public: /// splitRegister - Move any user variables in OldReg to the live ranges in /// NewRegs where they are live. Mark the values as unavailable where no new /// register is live. - void splitRegister(unsigned OldReg, ArrayRef<LiveInterval*> NewRegs); + void splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, + LiveIntervals &LIS); /// emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes /// that happened during register allocation. |

