|
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 271 of file MIRYamlMapping.h.
| Enumerator | |
|---|---|
| DefaultType | |
| SpillSlot | |
| VariableSized | |
Definition at line 272 of file MIRYamlMapping.h.
|
inline |
Definition at line 288 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 279 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| StringValue llvm::yaml::MachineStackObject::CalleeSavedRegister |
Definition at line 281 of file MIRYamlMapping.h.
Referenced by operator==().
| bool llvm::yaml::MachineStackObject::CalleeSavedRestored = true |
Definition at line 282 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::DebugExpr |
Definition at line 285 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::DebugLoc |
Definition at line 286 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::DebugVar |
Definition at line 284 of file MIRYamlMapping.h.
Referenced by operator==().
| UnsignedValue llvm::yaml::MachineStackObject::ID |
Definition at line 273 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| std::optional<int64_t> llvm::yaml::MachineStackObject::LocalOffset |
Definition at line 283 of file MIRYamlMapping.h.
Referenced by operator==().
| StringValue llvm::yaml::MachineStackObject::Name |
Definition at line 274 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| int64_t llvm::yaml::MachineStackObject::Offset = 0 |
Definition at line 277 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| uint64_t llvm::yaml::MachineStackObject::Size = 0 |
Definition at line 278 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| TargetStackID::Value llvm::yaml::MachineStackObject::StackID |
Definition at line 280 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().
| ObjectType llvm::yaml::MachineStackObject::Type = DefaultType |
Definition at line 276 of file MIRYamlMapping.h.
Referenced by convertStackObjects(), and operator==().