[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 24 23:03:01 PST 2002
Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.13 -> 1.14
---
Log message:
Simplify spill interface methods
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.13 llvm/include/llvm/Target/MRegisterInfo.h:1.14
--- llvm/include/llvm/Target/MRegisterInfo.h:1.13 Mon Dec 16 22:20:39 2002
+++ llvm/include/llvm/Target/MRegisterInfo.h Tue Dec 24 23:02:00 2002
@@ -168,27 +168,27 @@
virtual void emitPrologue(MachineFunction &MF, unsigned Bytes) const = 0;
virtual void emitEpilogue(MachineBasicBlock &MBB, unsigned Bytes) const = 0;
- virtual MachineBasicBlock::iterator
- storeReg2RegOffset(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator MBBI,
- unsigned SrcReg, unsigned DestReg,
- unsigned ImmOffset, unsigned dataSize) const = 0;
+ virtual void storeReg2RegOffset(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator &MBBI,
+ unsigned SrcReg, unsigned DestReg,
+ unsigned ImmOffset,
+ const TargetRegisterClass *RC) const = 0;
- virtual MachineBasicBlock::iterator
- loadRegOffset2Reg(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator MBBI,
- unsigned DestReg, unsigned SrcReg,
- unsigned ImmOffset, unsigned dataSize) const = 0;
+ virtual void loadRegOffset2Reg(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator &MBBI,
+ unsigned DestReg, unsigned SrcReg,
+ unsigned ImmOffset,
+ const TargetRegisterClass *RC) const = 0;
- virtual MachineBasicBlock::iterator
- moveReg2Reg(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator MBBI,
- unsigned DestReg, unsigned SrcReg, unsigned dataSize) const = 0;
+ virtual void moveReg2Reg(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator &MBBI,
+ unsigned DestReg, unsigned SrcReg,
+ const TargetRegisterClass *RC) const = 0;
- virtual MachineBasicBlock::iterator
- moveImm2Reg(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator MBBI,
- unsigned DestReg, unsigned Imm, unsigned dataSize) const = 0;
+ virtual void moveImm2Reg(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator &MBBI,
+ unsigned DestReg, unsigned Imm,
+ const TargetRegisterClass *RC) const = 0;
};
#endif
More information about the llvm-commits
mailing list