[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h
Misha Brukman
brukman at cs.uiuc.edu
Fri Nov 22 16:42:05 PST 2002
Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.2 -> 1.3
---
Log message:
Added virtual functions for storing and retrieving values from the stack.
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.2 llvm/include/llvm/Target/MRegisterInfo.h:1.3
--- llvm/include/llvm/Target/MRegisterInfo.h:1.2 Wed Nov 20 12:54:53 2002
+++ llvm/include/llvm/Target/MRegisterInfo.h Fri Nov 22 16:41:23 2002
@@ -107,15 +107,20 @@
const MRegisterDesc &get(unsigned RegNo) const { return operator[](RegNo); }
- virtual void copyReg2PCRel(MachineBasicBlock *MBB,
- MachineBasicBlock::iterator &MBBI,
- unsigned SrcReg, unsigned ImmOffset,
- unsigned dataSize) const = 0;
+ virtual MachineBasicBlock::iterator
+ storeReg2RegOffset(MachineBasicBlock *MBB,
+ MachineBasicBlock::iterator &MBBI,
+ unsigned SrcReg, unsigned DestReg,
+ unsigned ImmOffset, unsigned dataSize) const = 0;
- virtual void copyPCRel2Reg(MachineBasicBlock *MBB,
- MachineBasicBlock::iterator &MBBI,
- unsigned ImmOffset, unsigned DestReg,
- unsigned dataSize) const = 0;
+ virtual MachineBasicBlock::iterator
+ loadRegOffset2Reg(MachineBasicBlock *MBB,
+ MachineBasicBlock::iterator &MBBI,
+ unsigned DestReg, unsigned SrcReg,
+ unsigned ImmOffset, unsigned dataSize) const = 0;
+
+ virtual unsigned getFramePointer() const = 0;
+ virtual unsigned getStackPointer() const = 0;
/// Register class iterators
typedef const TargetRegisterClass* const_iterator;
More information about the llvm-commits
mailing list