llvm::StackOffset

StackOffset holds a fixed and a scalable offset in bytes.

Synopsis

Declared in <llvm/Support/TypeSize.h>

class StackOffset;

Member Functions

NameDescription
StackOffset [constructor]Construct a zero fixed and scalable stack offset.
getFixed Returns the fixed component of the stack.
getScalable Returns the scalable component of the stack.
operator+ Add fixed and scalable components of RHS to this offset.
operator+= Add fixed and scalable components of RHS into this offset.
operator- Unary minus operators
operator-= Subtract fixed and scalable components of RHS from this offset in place.
operator bool Return true if either the fixed or scalable component is non-zero.
operator== Return true if both fixed and scalable components equal those of RHS.
operator!= Return true if either component differs from that of RHS.

Static Member Functions

NameDescription
get Construct a stack offset from fixed and scalable components.
getFixed Construct a stack offset with only a fixed component.
getScalable Construct a stack offset with only a scalable (vscale-dependent) component.