29 #define GET_REGINFO_TARGET_DESC 30 #include "VEGenRegisterInfo.inc" 46 return CSR_NoRegs_RegMask;
51 Reserved.
set(VE::SX8);
52 Reserved.
set(VE::SX9);
53 Reserved.
set(VE::SX10);
54 Reserved.
set(VE::SX11);
56 Reserved.
set(VE::SX12);
57 Reserved.
set(VE::SX13);
59 Reserved.
set(VE::SX14);
60 Reserved.
set(VE::SX15);
61 Reserved.
set(VE::SX16);
62 Reserved.
set(VE::SX17);
74 unsigned Kind)
const {
75 return &VE::I64RegClass;
80 unsigned FIOperandNum,
int Offset,
unsigned FramePtr) {
89 int SPAdj,
unsigned FIOperandNum,
91 assert(SPAdj == 0 &&
"Unexpected");
105 replaceFI(MF, II, MI, dl, FIOperandNum, Offset, FrameReg);
126 if (getFrameLowering(MF)->hasReservedCallFrame(MF))
const uint32_t * getNoPreservedMask() const override
BitVector getReservedRegs(const MachineFunction &MF) const override
const uint32_t * getCallPreservedMask(const MachineFunction &MF, CallingConv::ID CC) const override
This class represents lattice values for constants.
const DebugLoc & getDebugLoc() const
Returns the debug location id of this MachineInstr.
static void replaceFI(MachineFunction &MF, MachineBasicBlock::iterator II, MachineInstr &MI, const DebugLoc &dl, unsigned FIOperandNum, int Offset, unsigned FramePtr)
Register getFrameRegister(const MachineFunction &MF) const override
virtual bool canRealignStack(const MachineFunction &MF) const
True if the stack can be realigned for the target.
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
int getFrameIndexReference(const MachineFunction &MF, int FI, unsigned &FrameReg) const override
getFrameIndexReference - This method should return the base register and offset used to reference a f...
void ChangeToImmediate(int64_t ImmVal)
ChangeToImmediate - Replace this operand with a new immediate operand of the specified value...
bool canRealignStack(const MachineFunction &MF) const override
const MachineBasicBlock * getParent() const
Representation of each machine instruction.
const MachineFunction * getParent() const
Return the MachineFunction containing this basic block.
void ChangeToRegister(Register Reg, bool isDef, bool isImp=false, bool isKill=false, bool isDead=false, bool isUndef=false, bool isDebug=false)
ChangeToRegister - Replace this operand with a new register operand of the specified value...
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
Code Generation virtual methods...
bool isConstantPhysReg(unsigned PhysReg) const override
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
const MachineOperand & getOperand(unsigned i) const
Wrapper class representing virtual and physical registers.
const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind) const override