diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-03-14 00:17:29 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-14 00:17:29 +0000 |
| commit | 05d41356d0823c23f867f0594084df7f7460e8e1 (patch) | |
| tree | 1831064e36938c261c5c79a0381049709caab95c /llvm | |
| parent | db443ca37730bc828958fd0eeffa70eec4f05a0a (diff) | |
| download | bcm5719-llvm-05d41356d0823c23f867f0594084df7f7460e8e1.tar.gz bcm5719-llvm-05d41356d0823c23f867f0594084df7f7460e8e1.zip | |
Forgot this.
llvm-svn: 48349
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/ScheduleDAG.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/include/llvm/CodeGen/ScheduleDAG.h b/llvm/include/llvm/CodeGen/ScheduleDAG.h index ea9d1a8a4e9..1cab3e05d71 100644 --- a/llvm/include/llvm/CodeGen/ScheduleDAG.h +++ b/llvm/include/llvm/CodeGen/ScheduleDAG.h @@ -351,14 +351,12 @@ namespace llvm { /// EmitLiveInCopy - Emit a copy for a live in physical register. If the /// physical register has only a single copy use, then coalesced the copy - /// if possible. It returns the destination register of the emitted copy - /// if it is a physical register; otherwise it returns zero. - unsigned EmitLiveInCopy(MachineBasicBlock *MBB, - MachineBasicBlock::iterator &InsertPos, - unsigned VirtReg, unsigned PhysReg, - const TargetRegisterClass *RC, - BitVector &LiveRegsBefore, - BitVector &LiveRegsAfter); + /// if possible. + void EmitLiveInCopy(MachineBasicBlock *MBB, + MachineBasicBlock::iterator &InsertPos, + unsigned VirtReg, unsigned PhysReg, + const TargetRegisterClass *RC, + DenseMap<MachineInstr*, unsigned> &CopyRegMap); /// EmitLiveInCopies - If this is the first basic block in the function, /// and if it has live ins that need to be copied into vregs, emit the |

