sun::abi::EnumLayout

sun::abi::EnumLayout

struct · Source (opens in a new tab)

struct sun::abi::EnumLayout

Describes tagged enum storage and the matching views of its payloads.

Public Functions

build

public · function · static · Source (opens in a new tab)

EnumLayout sun::abi::EnumLayout::build(llvm::LLVMContext &context, const llvm::DataLayout &layout, const std::vector< std::vector< llvm::Type * > > &payloads)

Builds a common tag area and storage large enough for every variant.

Related: EnumLayout

Public Fields

storage

public · variable · Source (opens in a new tab)

llvm::StructType* sun::abi::EnumLayout::storage

No documentation comment.

variants

public · variable · Source (opens in a new tab)

std::vector<llvm::StructType*> sun::abi::EnumLayout::variants

No documentation comment.