[llvm-commits] [llvm] r48349 - /llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
Evan Cheng
evan.cheng at apple.com
Thu Mar 13 17:17:29 PDT 2008
Author: evancheng
Date: Thu Mar 13 19:17:29 2008
New Revision: 48349
URL: http://llvm.org/viewvc/llvm-project?rev=48349&view=rev
Log:
Forgot this.
Modified:
llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
Modified: llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h?rev=48349&r1=48348&r2=48349&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ScheduleDAG.h Thu Mar 13 19:17:29 2008
@@ -351,14 +351,12 @@
/// 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
More information about the llvm-commits
mailing list