[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h
Misha Brukman
brukman at cs.uiuc.edu
Wed Dec 4 17:57:01 PST 2002
Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.6 -> 1.7
---
Log message:
Added prototypes for emitting prologue and epilogue for function code
generation.
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.6 llvm/include/llvm/Target/MRegisterInfo.h:1.7
--- llvm/include/llvm/Target/MRegisterInfo.h:1.6 Wed Dec 4 11:14:11 2002
+++ llvm/include/llvm/Target/MRegisterInfo.h Wed Dec 4 17:55:56 2002
@@ -129,6 +129,16 @@
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;
More information about the llvm-commits
mailing list