15#ifndef LLVM_OBJECTYAML_OFFLOADYAML_H
16#define LLVM_OBJECTYAML_OFFLOADYAML_H
41 std::optional<uint64_t>
Size;
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
OffloadKind
The producer of the associated offloading image.
ImageKind
The type of contents the offloading image contains.
This is an optimization pass for GlobalISel generic memory operations.
std::optional< uint32_t > Flags
std::optional< object::OffloadKind > OffloadKind
std::optional< std::vector< StringEntry > > StringEntries
std::optional< yaml::BinaryRef > Content
std::optional< object::ImageKind > ImageKind
std::optional< uint32_t > Version
std::optional< uint64_t > EntryOffset
std::optional< uint64_t > Size
std::optional< uint64_t > EntrySize
std::vector< Member > Members
static void mapping(IO &IO, OffloadYAML::Binary &O)
static void mapping(IO &IO, OffloadYAML::Binary::Member &M)
static void mapping(IO &IO, OffloadYAML::Binary::StringEntry &M)
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
static void enumeration(IO &IO, object::ImageKind &Value)
static void enumeration(IO &IO, object::OffloadKind &Value)
This class should be specialized by any integral type that converts to/from a YAML scalar where there...