mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Code insertion methods now return void instead of #instrs inserted
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01d0efba39
commit
529377d25a
@ -20,26 +20,23 @@ SkeletonRegisterInfo::SkeletonRegisterInfo()
|
|||||||
: SkeletonGenRegisterInfo(Skeleton::ADJCALLSTACKDOWN,
|
: SkeletonGenRegisterInfo(Skeleton::ADJCALLSTACKDOWN,
|
||||||
Skeleton::ADJCALLSTACKUP) {}
|
Skeleton::ADJCALLSTACKUP) {}
|
||||||
|
|
||||||
int SkeletonRegisterInfo::
|
void SkeletonRegisterInfo::
|
||||||
storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||||
unsigned SrcReg, int FrameIdx) const {
|
unsigned SrcReg, int FrameIdx) const {
|
||||||
abort();
|
abort();
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int SkeletonRegisterInfo::
|
void SkeletonRegisterInfo::
|
||||||
loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||||
unsigned DestReg, int FrameIdx) const {
|
unsigned DestReg, int FrameIdx) const {
|
||||||
abort();
|
abort();
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int SkeletonRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
|
void SkeletonRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
|
||||||
MachineBasicBlock::iterator MBBI,
|
MachineBasicBlock::iterator MBBI,
|
||||||
unsigned DestReg, unsigned SrcReg,
|
unsigned DestReg, unsigned SrcReg,
|
||||||
const TargetRegisterClass *RC) const {
|
const TargetRegisterClass *RC) const {
|
||||||
abort();
|
abort();
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SkeletonRegisterInfo::
|
void SkeletonRegisterInfo::
|
||||||
|
@ -25,17 +25,17 @@ namespace llvm {
|
|||||||
const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
|
const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
|
||||||
|
|
||||||
// See MRegisterInfo.h for information on these methods.
|
// 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,
|
|
||||||
MachineBasicBlock::iterator MBBI,
|
MachineBasicBlock::iterator MBBI,
|
||||||
unsigned DestReg, int FrameIndex) const;
|
unsigned SrcReg, int FrameIndex) const;
|
||||||
|
|
||||||
int copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
void loadRegFromStackSlot(MachineBasicBlock &MBB,
|
||||||
unsigned DestReg, unsigned SrcReg,
|
MachineBasicBlock::iterator MBBI,
|
||||||
const TargetRegisterClass *RC) const;
|
unsigned DestReg, int FrameIndex) const;
|
||||||
|
|
||||||
|
void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||||
|
unsigned DestReg, unsigned SrcReg,
|
||||||
|
const TargetRegisterClass *RC) const;
|
||||||
|
|
||||||
void eliminateCallFramePseudoInstr(MachineFunction &MF,
|
void eliminateCallFramePseudoInstr(MachineFunction &MF,
|
||||||
MachineBasicBlock &MBB,
|
MachineBasicBlock &MBB,
|
||||||
|
Loading…
Reference in New Issue
Block a user