22 int LAO,
unsigned TransAl)
unsigned getNumObjects() const
Return the number of objects.
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted...
Interface to describe a layout of a stack frame on a AMDIL target machine.
TargetRegisterInfo interface that is implemented by all hw codegen targets.
int getObjectIndexBegin() const
Return the minimum frame object index.
bool hasFP(const MachineFunction &MF) const override
hasFP - Return true if the specified function should have a dedicated frame pointer register...
AMDGPUFrameLowering(StackDirection D, unsigned StackAl, int LAO, unsigned TransAl=1)
void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.
unsigned getObjectAlignment(int ObjectIdx) const
Return the alignment of the specified stack object.
Information about stack frame layout on the target.
const SpillSlot * getCalleeSavedSpillSlots(unsigned &NumEntries) const override
getCalleeSavedSpillSlots - This method returns a pointer to an array of pairs, that contains an entry...
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override
unsigned getStackWidth(const MachineFunction &MF) const
MachineFrameInfo * getFrameInfo()
getFrameInfo - Return the frame info object for the current function.
int getFrameIndexOffset(const MachineFunction &MF, int FI) const override
uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align)
Returns the next integer (mod 2**64) that is greater than or equal to Value and is a multiple of Alig...
int64_t getObjectSize(int ObjectIdx) const
Return the size of the specified object.
virtual ~AMDGPUFrameLowering()