LLVM 20.0.0git
|
Serializable representation of stack object from the MachineFrameInfo class. More...
#include "llvm/CodeGen/MIRYamlMapping.h"
Public Types | |
enum | ObjectType { DefaultType , SpillSlot , VariableSized } |
Public Member Functions | |
bool | operator== (const MachineStackObject &Other) const |
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.
Enumerator | |
---|---|
DefaultType | |
SpillSlot | |
VariableSized |
Definition at line 246 of file MIRYamlMapping.h.
|
inline |
Definition at line 262 of file MIRYamlMapping.h.
References Alignment, CalleeSavedRegister, CalleeSavedRestored, DebugExpr, DebugVar, LocalOffset, Name, Offset, llvm::Other, Size, and StackID.
MaybeAlign llvm::yaml::MachineStackObject::Alignment = std::nullopt |
Definition at line 253 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects(), and operator==().
StringValue llvm::yaml::MachineStackObject::CalleeSavedRegister |
Definition at line 255 of file MIRYamlMapping.h.
Referenced by operator==().
Definition at line 256 of file MIRYamlMapping.h.
Referenced by operator==().
StringValue llvm::yaml::MachineStackObject::DebugExpr |
Definition at line 259 of file MIRYamlMapping.h.
Referenced by operator==().
StringValue llvm::yaml::MachineStackObject::DebugLoc |
Definition at line 260 of file MIRYamlMapping.h.
StringValue llvm::yaml::MachineStackObject::DebugVar |
Definition at line 258 of file MIRYamlMapping.h.
Referenced by operator==().
UnsignedValue llvm::yaml::MachineStackObject::ID |
Definition at line 247 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects().
std::optional<int64_t> llvm::yaml::MachineStackObject::LocalOffset |
Definition at line 257 of file MIRYamlMapping.h.
Referenced by operator==().
StringValue llvm::yaml::MachineStackObject::Name |
Definition at line 248 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects(), and operator==().
int64_t llvm::yaml::MachineStackObject::Offset = 0 |
Definition at line 251 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects(), and operator==().
uint64_t llvm::yaml::MachineStackObject::Size = 0 |
Definition at line 252 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects(), and operator==().
TargetStackID::Value llvm::yaml::MachineStackObject::StackID |
Definition at line 254 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects(), and operator==().
ObjectType llvm::yaml::MachineStackObject::Type = DefaultType |
Definition at line 250 of file MIRYamlMapping.h.
Referenced by llvm::MIRPrinter::convertStackObjects().