LLVM API Documentation
#include <Mips16RegisterInfo.h>
Public Member Functions | |
Mips16RegisterInfo (const MipsSubtarget &Subtarget) | |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | requiresFrameIndexScavenging (const MachineFunction &MF) const override |
bool | useFPForScavengingIndex (const MachineFunction &MF) const override |
bool | saveScavengerRegister (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, MachineBasicBlock::iterator &UseMI, const TargetRegisterClass *RC, unsigned Reg) const override |
const TargetRegisterClass * | intRegClass (unsigned Size) const override |
Return GPR register class. |
Definition at line 22 of file Mips16RegisterInfo.h.
Mips16RegisterInfo::Mips16RegisterInfo | ( | const MipsSubtarget & | Subtarget | ) |
Definition at line 44 of file Mips16RegisterInfo.cpp.
const TargetRegisterClass * Mips16RegisterInfo::intRegClass | ( | unsigned | Size | ) | const [override, virtual] |
Return GPR register class.
Implements llvm::MipsRegisterInfo.
Definition at line 75 of file Mips16RegisterInfo.cpp.
bool Mips16RegisterInfo::requiresFrameIndexScavenging | ( | const MachineFunction & | MF | ) | const [override] |
Definition at line 52 of file Mips16RegisterInfo.cpp.
bool Mips16RegisterInfo::requiresRegisterScavenging | ( | const MachineFunction & | MF | ) | const [override] |
Reimplemented from llvm::MipsRegisterInfo.
Definition at line 48 of file Mips16RegisterInfo.cpp.
bool Mips16RegisterInfo::saveScavengerRegister | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | I, | ||
MachineBasicBlock::iterator & | UseMI, | ||
const TargetRegisterClass * | RC, | ||
unsigned | Reg | ||
) | const [override] |
Definition at line 62 of file Mips16RegisterInfo.cpp.
References llvm::TargetInstrInfo::copyPhysReg(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getSubtarget(), and TII.
bool Mips16RegisterInfo::useFPForScavengingIndex | ( | const MachineFunction & | MF | ) | const [override] |
Definition at line 57 of file Mips16RegisterInfo.cpp.