forked from OSchip/llvm-project
Code insertion methods now return void instead of #instrs inserted
llvm-svn: 15781
This commit is contained in:
parent
a0b38d3cb1
commit
772f0d4106
|
@ -20,26 +20,23 @@ SkeletonRegisterInfo::SkeletonRegisterInfo()
|
|||
: SkeletonGenRegisterInfo(Skeleton::ADJCALLSTACKDOWN,
|
||||
Skeleton::ADJCALLSTACKUP) {}
|
||||
|
||||
int SkeletonRegisterInfo::
|
||||
void SkeletonRegisterInfo::
|
||||
storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
unsigned SrcReg, int FrameIdx) const {
|
||||
abort();
|
||||
return -1;
|
||||
}
|
||||
|
||||
int SkeletonRegisterInfo::
|
||||
void SkeletonRegisterInfo::
|
||||
loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
unsigned DestReg, int FrameIdx) const {
|
||||
abort();
|
||||
return -1;
|
||||
}
|
||||
|
||||
int SkeletonRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
|
||||
void SkeletonRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
unsigned DestReg, unsigned SrcReg,
|
||||
const TargetRegisterClass *RC) const {
|
||||
abort();
|
||||
return -1;
|
||||
}
|
||||
|
||||
void SkeletonRegisterInfo::
|
||||
|
|
|
@ -25,15 +25,15 @@ namespace llvm {
|
|||
const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
|
||||
|
||||
// See MRegisterInfo.h for information on these methods.
|
||||
int storeRegToStackSlot(MachineBasicBlock &MBB,
|
||||
void storeRegToStackSlot(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
unsigned SrcReg, int FrameIndex) const;
|
||||
|
||||
int loadRegFromStackSlot(MachineBasicBlock &MBB,
|
||||
void loadRegFromStackSlot(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
unsigned DestReg, int FrameIndex) const;
|
||||
|
||||
int copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
unsigned DestReg, unsigned SrcReg,
|
||||
const TargetRegisterClass *RC) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue