mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
Added virtual functions for storing and retrieving values from the stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4824 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35880f394f
commit
f6a132c7a0
@ -107,15 +107,20 @@ public:
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user