13 #ifndef LLVM_LIB_TARGET_RISCV_RISCVREGISTERINFO_H 14 #define LLVM_LIB_TARGET_RISCV_RISCVREGISTERINFO_H 18 #define GET_REGINFO_HEADER 19 #include "RISCVGenRegisterInfo.inc" 34 unsigned PhysReg)
const override;
41 unsigned FIOperandNum,
60 unsigned Kind = 0)
const override {
61 return &RISCV::GPRRegClass;
bool trackLivenessAfterRegAlloc(const MachineFunction &) const override
This class represents lattice values for constants.
bool requiresRegisterScavenging(const MachineFunction &MF) const override
Register getFrameRegister(const MachineFunction &MF) const override
const uint32_t * getNoPreservedMask() const override
BitVector getReservedRegs(const MachineFunction &MF) const override
bool isConstantPhysReg(unsigned PhysReg) const override
RISCVRegisterInfo(unsigned HwMode)
const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const override
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
const uint32_t * getCallPreservedMask(const MachineFunction &MF, CallingConv::ID) const override
bool requiresFrameIndexScavenging(const MachineFunction &MF) const override
void eliminateFrameIndex(MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
bool isAsmClobberable(const MachineFunction &MF, unsigned PhysReg) const override
Wrapper class representing virtual and physical registers.