llvm::yaml::MachineFrameInfo

Serializable representation of MachineFrameInfo.

Synopsis

Declared in <llvm/CodeGen/MIRYamlMapping.h>

struct MachineFrameInfo;

Description

Doesn't serialize attributes like 'StackAlignment', 'IsStackRealignable' and 'RealignOption' as they are determined by the target and LLVM function attributes. It also doesn't serialize attributes like 'NumFixedObject' and 'HasVarSizedObjects' as they are determined by the frame objects themselves.

Member Functions

NameDescription
operator== Return true if this equals Other.

Data Members

NameDescription
AdjustsStack Whether the function adjusts the stack pointer.
CVBytesOfCalleeSavedRegisters CodeView bytes occupied by callee-saved registers.
FramePointerPolicy Frame-pointer usage policy.
FunctionContext Function context slot reference, if any.
HasCalls Whether the function contains calls.
HasMustTailInVarArgFunc Whether a vararg function contains a musttail call.
HasOpaqueSPAdjustment Whether the function has an opaque SP adjustment.
HasPatchPoint Whether the function has a patch point.
HasStackMap Whether the function has a stack map.
HasTailCall Whether the function has a tail call.
HasVAStart Whether the function calls va_start.
IsCalleeSavedInfoValid Whether callee-saved register info is valid.
IsFrameAddressTaken Whether the frame address is taken.
IsReturnAddressTaken Whether the return address is taken.
LocalFrameSize Size of the local frame area in bytes.
MaxAlignment Maximum alignment of all stack objects.
MaxCallFrameSize ~0u means: not computed yet.
OffsetAdjustment Offset adjustment applied to the stack pointer.
RestorePoints Restore points for callee-saved registers.
SavePoints Save points for callee-saved registers.
StackProtector Stack protector slot reference, if any.
StackSize Total stack size in bytes.