1
0
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:
Misha Brukman 2002-12-04 23:55:56 +00:00
parent 6f002640ff
commit 32ec427192

View File

@ -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;