[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h
Misha Brukman
brukman at cs.uiuc.edu
Fri Dec 13 03:55:00 PST 2002
Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.7 -> 1.8
---
Log message:
Added moveReg2Reg() and moveImm2Reg() to accomodate moving data around due to
PHI nodes.
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.7 llvm/include/llvm/Target/MRegisterInfo.h:1.8
--- llvm/include/llvm/Target/MRegisterInfo.h:1.7 Wed Dec 4 17:55:56 2002
+++ llvm/include/llvm/Target/MRegisterInfo.h Fri Dec 13 03:54:10 2002
@@ -130,6 +130,16 @@
unsigned ImmOffset, unsigned dataSize) const = 0;
virtual MachineBasicBlock::iterator
+ moveReg2Reg(MachineBasicBlock *MBB,
+ MachineBasicBlock::iterator MBBI,
+ unsigned DestReg, unsigned SrcReg, unsigned dataSize) const = 0;
+
+ virtual MachineBasicBlock::iterator
+ moveImm2Reg(MachineBasicBlock *MBB,
+ MachineBasicBlock::iterator MBBI,
+ unsigned DestReg, unsigned Imm, unsigned dataSize) const = 0;
+
+ virtual MachineBasicBlock::iterator
emitPrologue(MachineBasicBlock *MBB,
MachineBasicBlock::iterator MBBI,
unsigned numBytes) const = 0;
More information about the llvm-commits
mailing list