|
LLVM 23.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 256 of file MIRYamlMapping.h.
| Enumerator | |
|---|---|
| DefaultType | |
| SpillSlot | |
| VariableSized | |
Definition at line 257 of file MIRYamlMapping.h.
|
inline |
Definition at line 273 of file MIRYamlMapping.h.
References Alignment, CalleeSavedRegister, CalleeSavedRestored, DebugExpr, DebugLoc, DebugVar, ID, LocalOffset, Name, Offset, llvm::Other, Size, StackID, and Type.
| MaybeAlign llvm::yaml::MachineStackObject::Alignment = std::nullopt |
Definition at line 264 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| StringValue llvm::yaml::MachineStackObject::CalleeSavedRegister |
Definition at line 266 of file MIRYamlMapping.h.
Referenced by operator==().
| bool llvm::yaml::MachineStackObject::CalleeSavedRestored = true |
Definition at line 267 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::DebugExpr |
Definition at line 270 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::DebugLoc |
Definition at line 271 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::DebugVar |
Definition at line 269 of file MIRYamlMapping.h.
Referenced by operator==().
| UnsignedValue llvm::yaml::MachineStackObject::ID |
Definition at line 258 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| std::optional<int64_t> llvm::yaml::MachineStackObject::LocalOffset |
Definition at line 268 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::Name |
Definition at line 259 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| int64_t llvm::yaml::MachineStackObject::Offset = 0 |
Definition at line 262 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| uint64_t llvm::yaml::MachineStackObject::Size = 0 |
Definition at line 263 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| TargetStackID::Value llvm::yaml::MachineStackObject::StackID |
Definition at line 265 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| ObjectType llvm::yaml::MachineStackObject::Type = DefaultType |
Definition at line 261 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().