24 unsigned DynamicVGPRBlockSize =
26 return std::min(ST.getAddressableNumArchVGPRs(),
27 ST.getAddressableNumVGPRs(DynamicVGPRBlockSize));
AMD GCN specific subclass of TargetSubtarget.
static bool isSupportedBitWidth(unsigned Bits)
static unsigned getNumIndexableVGPRs(const MachineFunction &MF)
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
Ty * getInfo()
getInfo - Keep track of various per-function pieces of information for backends that would like to do...
friend class MachineFunction
This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which inter...
const VLdStIdxOpcodeInfo * getVLdStIdxOpcodeInfoByKey(unsigned BitWidth, bool IsStore, bool IsGPRIdx)
This is an optimization pass for GlobalISel generic memory operations.