mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Added prototypes for emitting prologue and epilogue for function code
generation. llvm-svn: 4927
This commit is contained in:
parent
6f002640ff
commit
32ec427192
@ -129,6 +129,16 @@ public:
|
||||
unsigned DestReg, unsigned SrcReg,
|
||||
unsigned ImmOffset, unsigned dataSize) const = 0;
|
||||
|
||||
virtual MachineBasicBlock::iterator
|
||||
emitPrologue(MachineBasicBlock *MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
unsigned numBytes) const = 0;
|
||||
|
||||
virtual MachineBasicBlock::iterator
|
||||
emitEpilogue(MachineBasicBlock *MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
unsigned numBytes) const = 0;
|
||||
|
||||
virtual const unsigned* getCalleeSaveRegs() const = 0;
|
||||
virtual const unsigned* getCallerSaveRegs() const = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user