llvm::MachineFrameInfo::CreateSpillStackObject

Create a new statically sized stack object that represents a spill slot, returning a nonnegative identifier to represent it.

Synopsis

Declared in <llvm/CodeGen/MachineFrameInfo.h>

int
CreateSpillStackObject(
    uint64_t Size,
    Align Alignment,
    TargetStackID::Value StackID = TargetStackID::Default);

Return Value

A nonnegative identifier for the new spill slot.

Parameters

NameDescription
SizeSize of the spill slot in bytes.
AlignmentRequired alignment of the spill slot.
StackIDStack identifier for the spill slot.