15#ifndef LLVM_OBJECTYAML_OFFLOADYAML_H
16#define LLVM_OBJECTYAML_OFFLOADYAML_H
24namespace OffloadYAML {
41 std::optional<uint64_t>
Size;
56template <>
struct ScalarEnumerationTraits<object::ImageKind> {
60template <>
struct ScalarEnumerationTraits<object::OffloadKind> {
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
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