LLVM  4.0.0
Public Types | Public Attributes | List of all members
llvm::yaml::MachineStackObject Struct Reference

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

#include <MIRYamlMapping.h>

Collaboration diagram for llvm::yaml::MachineStackObject:
[legend]

Public Types

enum  ObjectType { DefaultType, SpillSlot, VariableSized }
 

Public Attributes

UnsignedValue ID
 
StringValue Name
 
ObjectType Type = DefaultType
 
int64_t Offset = 0
 
uint64_t Size = 0
 
unsigned Alignment = 0
 
StringValue CalleeSavedRegister
 
Optional< int64_t > LocalOffset
 
StringValue DebugVar
 
StringValue DebugExpr
 
StringValue DebugLoc
 

Detailed Description

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 185 of file MIRYamlMapping.h.

Member Enumeration Documentation

Enumerator
DefaultType 
SpillSlot 
VariableSized 

Definition at line 186 of file MIRYamlMapping.h.

Member Data Documentation

unsigned llvm::yaml::MachineStackObject::Alignment = 0
StringValue llvm::yaml::MachineStackObject::CalleeSavedRegister
StringValue llvm::yaml::MachineStackObject::DebugExpr
StringValue llvm::yaml::MachineStackObject::DebugLoc
StringValue llvm::yaml::MachineStackObject::DebugVar
UnsignedValue llvm::yaml::MachineStackObject::ID
Optional<int64_t> llvm::yaml::MachineStackObject::LocalOffset
StringValue llvm::yaml::MachineStackObject::Name
int64_t llvm::yaml::MachineStackObject::Offset = 0
uint64_t llvm::yaml::MachineStackObject::Size = 0
ObjectType llvm::yaml::MachineStackObject::Type = DefaultType

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