LLVM 20.0.0git
|
#include "Target/AMDGPU/R600RegisterInfo.h"
Public Member Functions | |
R600RegisterInfo () | |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
Register | getFrameRegister (const MachineFunction &MF) const override |
unsigned | getHWRegChan (unsigned reg) const |
get the HW encoding for a register's channel. | |
unsigned | getHWRegIndex (unsigned Reg) const |
const TargetRegisterClass * | getCFGStructurizerRegClass (MVT VT) const |
get the register class of the specified type to use in the CFGStructurizer | |
bool | trackLivenessAfterRegAlloc (const MachineFunction &MF) const override |
bool | isPhysRegLiveAcrossClauses (Register Reg) const |
bool | eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
void | reserveRegisterTuples (BitVector &Reserved, unsigned Reg) const |
Static Public Member Functions | |
static unsigned | getSubRegFromChannel (unsigned Channel) |
Definition at line 22 of file R600RegisterInfo.h.
|
inline |
Definition at line 23 of file R600RegisterInfo.h.
|
override |
Definition at line 106 of file R600RegisterInfo.cpp.
References llvm_unreachable.
|
override |
Definition at line 68 of file R600RegisterInfo.cpp.
References CalleeSavedReg.
const TargetRegisterClass * R600RegisterInfo::getCFGStructurizerRegClass | ( | MVT | VT | ) | const |
get the register class of the specified type to use in the CFGStructurizer
Definition at line 85 of file R600RegisterInfo.cpp.
References llvm::MVT::SimpleTy.
|
override |
Definition at line 73 of file R600RegisterInfo.cpp.
Referenced by llvm::R600FrameLowering::getFrameIndexReference().
get the HW encoding for a register's channel.
Definition at line 77 of file R600RegisterInfo.cpp.
References HW_CHAN_SHIFT.
Referenced by llvm::R600InstrInfo::expandPostRAPseudo(), and llvm::R600InstrInfo::fitsConstReadLimitations().
Definition at line 81 of file R600RegisterInfo.cpp.
References GET_REG_INDEX.
Referenced by llvm::R600InstrInfo::expandPostRAPseudo().
|
override |
Definition at line 36 of file R600RegisterInfo.cpp.
References llvm::MachineFunction::getSubtarget(), llvm::Reserved, reserveRegisterTuples(), and TII.
Channel
(e.g. getSubRegFromChannel(0) -> R600::sub0) Definition at line 24 of file R600RegisterInfo.cpp.
References assert().
Referenced by llvm::R600InstrInfo::copyPhysReg(), and llvm::AMDGPUDAGToDAGISel::SelectBuildVector().
Definition at line 93 of file R600RegisterInfo.cpp.
References assert().
Referenced by llvm::R600InstrInfo::isLegalToSplitMBBAt().
Definition at line 113 of file R600RegisterInfo.cpp.
References llvm::Reserved.
Referenced by getReservedRegs().
|
inlineoverride |
Definition at line 42 of file R600RegisterInfo.h.