aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-14 00:17:29 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-14 00:17:29 +0000
commit1090fc99cd63b78f5d672cf0914287656f746f98 (patch)
tree1bb1453d685576d3750b40cf8692647f1354faf6 /include
parentdb2d773fe6e53995c49c11ba34271fc559e286a1 (diff)
downloadexternal_llvm-1090fc99cd63b78f5d672cf0914287656f746f98.zip
external_llvm-1090fc99cd63b78f5d672cf0914287656f746f98.tar.gz
external_llvm-1090fc99cd63b78f5d672cf0914287656f746f98.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.h14
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