llvm::LegalizerHelper::createStackTemporary

Create a stack temporary of Bytes bytes with Alignment.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/LegalizerHelper.h>

MachineInstrBuilder
createStackTemporary(
    TypeSize Bytes,
    Align Alignment,
    MachinePointerInfo& PtrInfo);

Return Value

Builder for the frame-index address of the temporary.

Parameters

NameDescription
BytesSize of the temporary in bytes.
AlignmentRequired alignment of the temporary.
PtrInfoFilled with pointer info for the created frame index.