17 void XCoreFunctionInfo::anchor() { }
20 if (CachedEStackSize == -1) {
32 return CachedEStackSize > 0xf000;
49 LRSpillSlotSet =
true;
62 FPSpillSlotSet =
true;
77 EHSpillSlotSet =
true;
int createLRSpillSlot(MachineFunction &MF)
unsigned getSpillAlignment(const TargetRegisterClass &RC) const
Return the minimum required alignment for a spill slot for a register of this class.
const Function * getFunction() const
getFunction - Return the LLVM function that this machine code represents
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
bool isVarArg() const
isVarArg - Return true if this function takes a variable number of arguments.
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted...
unsigned estimateStackSize(const MachineFunction &MF) const
Estimate and return the size of the stack frame.
int createFPSpillSlot(MachineFunction &MF)
MachineFrameInfo & getFrameInfo()
getFrameInfo - Return the frame info object for the current function.
const int * createEHSpillSlot(MachineFunction &MF)
int CreateFixedObject(uint64_t Size, int64_t SPOffset, bool Immutable, bool isAliased=false)
Create a new object at a fixed location on the stack.
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
bool isLargeFrame(const MachineFunction &MF) const
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
constexpr char Align[]
Key for Kernel::Arg::Metadata::mAlign.
int CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS, const AllocaInst *Alloca=nullptr)
Create a new statically sized stack object, returning a nonnegative identifier to represent it...
virtual const TargetRegisterInfo * getRegisterInfo() const
getRegisterInfo - If register information is available, return it.
unsigned getSpillSize(const TargetRegisterClass &RC) const
Return the size in bytes of the stack slot allocated to hold a spilled copy of a register from class ...