From 8c5d47da98e98ca70bbdba0d7eb9149c52ff29ba Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Dec 2002 05:02:00 +0000 Subject: [PATCH] Simplify spill interface methods git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5142 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/MRegisterInfo.h | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index f58d6eda724..18574adb4ce 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -168,27 +168,27 @@ public: 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