llvm::MachineFrameInfo::CreateFixedSpillStackObject

Create a spill slot at a fixed location on the stack. Returns an index with a negative value.

Synopsis

Declared in <llvm/CodeGen/MachineFrameInfo.h>

int
CreateFixedSpillStackObject(
    uint64_t Size,
    int64_t SPOffset,
    bool IsImmutable = false);

Return Value

Frame index with a negative value for the spill slot.

Parameters

NameDescription
SizeSize of the spill slot in bytes.
SPOffsetOffset from the stack pointer on entry.
IsImmutableTrue if the spill slot is immutable.