14 #define DEBUG_TYPE "nios2-reg-info" 21 #define GET_REGINFO_TARGET_DESC 22 #include "Nios2GenRegisterInfo.inc" 30 return &Nios2::CPURegsRegClass;
39 static const MCPhysReg ReservedCPURegs[] = {Nios2::ZERO, Nios2::AT, Nios2::SP,
44 Reserved.
set(ReservedCPURegs[
I]);
50 int SPAdj,
unsigned FIOperandNum,
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
Stack Frame Processing Methods.
Compute iterated dominance frontiers using a linear time algorithm.
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
const TargetRegisterClass * intRegClass(unsigned Size) const
Return GPR register class.
SI optimize exec mask operations pre RA
Nios2RegisterInfo(const Nios2Subtarget &Subtarget)
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
unsigned getFrameRegister(const MachineFunction &MF) const override
Debug information queries.
BitVector getReservedRegs(const MachineFunction &MF) const override
constexpr size_t array_lengthof(T(&)[N])
Find the length of an array.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.