LLVM  6.0.0svn
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::yaml::MachineStackObject Struct Reference

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

#include "llvm/CodeGen/MIRYamlMapping.h"

Collaboration diagram for llvm::yaml::MachineStackObject:
Collaboration graph

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
unsigned Alignment = 0
uint8_t StackID = 0
StringValue CalleeSavedRegister
bool CalleeSavedRestored = true
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 206 of file MIRYamlMapping.h.

Member Enumeration Documentation

◆ ObjectType


Definition at line 207 of file MIRYamlMapping.h.

Member Function Documentation

◆ operator==()

bool llvm::yaml::MachineStackObject::operator== ( const MachineStackObject Other) const

Member Data Documentation

◆ Alignment

unsigned llvm::yaml::MachineStackObject::Alignment = 0

◆ CalleeSavedRegister

StringValue llvm::yaml::MachineStackObject::CalleeSavedRegister

◆ CalleeSavedRestored

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

◆ DebugExpr

StringValue llvm::yaml::MachineStackObject::DebugExpr

◆ DebugLoc

StringValue llvm::yaml::MachineStackObject::DebugLoc

◆ DebugVar

StringValue llvm::yaml::MachineStackObject::DebugVar

◆ ID

UnsignedValue llvm::yaml::MachineStackObject::ID

◆ LocalOffset

Optional<int64_t> llvm::yaml::MachineStackObject::LocalOffset

◆ Name

StringValue llvm::yaml::MachineStackObject::Name

◆ Offset

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

◆ Size

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

◆ StackID

uint8_t llvm::yaml::MachineStackObject::StackID = 0

◆ Type

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

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