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 | 0be277ceeedc5ea8a010f51fcd210cc5d928d925 (patch) | |
tree | 1bb1453d685576d3750b40cf8692647f1354faf6 /include | |
parent | a96f9644e3cde848afe811fba9f4efdbdea26950 (diff) | |
download | external_llvm-0be277ceeedc5ea8a010f51fcd210cc5d928d925.zip external_llvm-0be277ceeedc5ea8a010f51fcd210cc5d928d925.tar.gz external_llvm-0be277ceeedc5ea8a010f51fcd210cc5d928d925.tar.bz2 |
Forgot this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/ScheduleDAG.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index ea9d1a8..1cab3e0 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/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 |