23 int LAO,
unsigned TransAl)
76 unsigned &FrameReg)
const {
95 OffsetBytes =
alignTo(OffsetBytes, 4);
AMDGPU specific subclass of TargetSubtarget.
unsigned getNumObjects() const
Return the number of objects.
uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew=0)
Returns the next integer (mod 2**64) that is greater than or equal to Value and is a multiple of Alig...
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
static GCRegistry::Add< StatepointGC > D("statepoint-example","an example strategy for statepoint")
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted...
Interface to describe a layout of a stack frame on an AMDGPU target.
TargetRegisterInfo interface that is implemented by all hw codegen targets.
int getObjectIndexBegin() const
Return the minimum frame object index.
MachineFrameInfo & getFrameInfo()
getFrameInfo - Return the frame info object for the current function.
AMDGPUFrameLowering(StackDirection D, unsigned StackAl, int LAO, unsigned TransAl=1)
unsigned getObjectAlignment(int ObjectIdx) const
Return the alignment of the specified stack object.
Information about stack frame layout on the target.
unsigned getStackWidth(const MachineFunction &MF) const
unsigned getFrameRegister(const MachineFunction &MF) const override
int getFrameIndexReference(const MachineFunction &MF, int FI, unsigned &FrameReg) const override
~AMDGPUFrameLowering() override
int64_t getObjectSize(int ObjectIdx) const
Return the size of the specified object.