LLVM: llvm::yaml::MachineStackObject Struct Reference (original) (raw)

Serializable representation of stack object from the MachineFrameInfo class. More...

#include "[llvm/CodeGen/MIRYamlMapping.h](MIRYamlMapping%5F8h%5Fsource.html)"

Public Types
enum ObjectType { DefaultType, SpillSlot, VariableSized }
Public Attributes
UnsignedValue ID
StringValue Name
ObjectType Type = DefaultType
int64_t Offset = 0
uint64_t Size = 0
MaybeAlign Alignment = std::nullopt
TargetStackID::Value StackID
StringValue CalleeSavedRegister
bool CalleeSavedRestored = true
std::optional< int64_t > LocalOffset
StringValue DebugVar
StringValue DebugExpr
StringValue DebugLoc

Serializable representation of stack object from the MachineFrameInfo class.

The flags 'isImmutable' and 'isAliased' aren't serialized, as they are determined by the object's type and frame information flags. Dead stack objects aren't serialized.

The 'isPreallocated' flag is determined by the local offset.

Definition at line 245 of file MIRYamlMapping.h.

ObjectType

operator==()

Definition at line 262 of file MIRYamlMapping.h.

References Alignment, CalleeSavedRegister, CalleeSavedRestored, DebugExpr, DebugLoc, DebugVar, ID, LocalOffset, Name, Offset, llvm::Other, Size, StackID, and Type.

Alignment

MaybeAlign llvm::yaml::MachineStackObject::Alignment = std::nullopt

CalleeSavedRegister

StringValue llvm::yaml::MachineStackObject::CalleeSavedRegister

CalleeSavedRestored

bool llvm::yaml::MachineStackObject::CalleeSavedRestored = true

DebugExpr

DebugLoc

DebugVar

ID

LocalOffset

std::optional<int64_t> llvm::yaml::MachineStackObject::LocalOffset

Name

Offset

int64_t llvm::yaml::MachineStackObject::Offset = 0

Size

uint64_t llvm::yaml::MachineStackObject::Size = 0

StackID

Type

ObjectType llvm::yaml::MachineStackObject::Type = DefaultType


The documentation for this struct was generated from the following file: