16 #ifndef LLVM_OBJECTYAML_WASMYAML_H 17 #define LLVM_OBJECTYAML_WASMYAML_H 32 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, TableType)
33 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, SignatureForm)
34 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, ExportKind)
35 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, Opcode)
36 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, RelocType)
37 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, SymbolFlags)
39 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, SegmentFlags)
40 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, LimitFlags)
41 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, ComdatKind)
191 return C &&
C->Name ==
"dylink";
206 return C &&
C->Name ==
"name";
217 return C &&
C->Name ==
"linking";
355 LLVM_YAML_IS_SEQUENCE_VECTOR(std::unique_ptr<llvm::WasmYAML::Section>)
384 static void mapping(IO &IO, std::unique_ptr<WasmYAML::Section> &
Section);
403 template <>
struct ScalarBitSetTraits<WasmYAML::LimitFlags> {
404 static void bitset(IO &IO, WasmYAML::LimitFlags &
Value);
407 template <>
struct ScalarBitSetTraits<WasmYAML::SymbolFlags> {
408 static void bitset(IO &IO, WasmYAML::SymbolFlags &
Value);
411 template <>
struct ScalarEnumerationTraits<WasmYAML::
SymbolKind> {
415 template <>
struct ScalarBitSetTraits<WasmYAML::SegmentFlags> {
416 static void bitset(IO &IO, WasmYAML::SegmentFlags &
Value);
419 template <>
struct ScalarEnumerationTraits<WasmYAML::
SectionType> {
475 template <>
struct ScalarEnumerationTraits<WasmYAML::ComdatKind> {
476 static void enumeration(IO &IO, WasmYAML::ComdatKind &
Kind);
487 template <>
struct ScalarEnumerationTraits<WasmYAML::
ValueType> {
491 template <>
struct ScalarEnumerationTraits<WasmYAML::ExportKind> {
492 static void enumeration(IO &IO, WasmYAML::ExportKind &
Kind);
495 template <>
struct ScalarEnumerationTraits<WasmYAML::TableType> {
496 static void enumeration(IO &IO, WasmYAML::TableType &
Type);
499 template <>
struct ScalarEnumerationTraits<WasmYAML::Opcode> {
500 static void enumeration(IO &IO, WasmYAML::Opcode &Opcode);
503 template <>
struct ScalarEnumerationTraits<WasmYAML::RelocType> {
504 static void enumeration(IO &IO, WasmYAML::RelocType &
Kind);
514 #endif // LLVM_OBJECTYAML_WASMYAML_H std::vector< InitFunction > InitFunctions
static bool classof(const Section *S)
std::vector< Comdat > Comdats
std::vector< Relocation > Relocations
std::vector< Limits > Memories
static bool classof(const Section *S)
static bool classof(const Section *S)
std::vector< Signature > Signatures
This class represents lattice values for constants.
std::vector< std::unique_ptr< Section > > Sections
static bool classof(const Section *S)
static bool classof(const Section *S)
wasm::WasmInitExpr InitExpr
std::vector< Import > Imports
static bool classof(const Section *S)
wasm::WasmInitExpr Offset
CustomSection(StringRef Name)
amdgpu Simplify well known AMD library false Value Value const Twine & Name
std::vector< SegmentInfo > SegmentInfos
std::vector< SymbolInfo > SymbolTable
static bool classof(const Section *S)
static bool classof(const Section *S)
std::vector< Function > Functions
static bool classof(const Section *S)
static bool classof(const Section *S)
Analysis containing CSE Info
std::vector< ComdatEntry > Entries
Import information from summary.
The instances of the Type class are immutable: once they are created, they are never changed...
static bool classof(const Section *S)
std::vector< Export > Exports
Section(SectionType SecType)
std::vector< uint32_t > FunctionTypes
static bool classof(const Section *S)
static bool classof(const Section *S)
std::vector< Table > Tables
static bool classof(const Section *S)
std::vector< ElemSegment > Segments
Specialized YAMLIO scalar type for representing a binary blob.
std::vector< Event > Events
std::vector< uint32_t > Functions
std::vector< StringRef > Needed
static bool classof(const Section *S)
std::vector< DataSegment > Segments
wasm::WasmDataReference DataRef
LLVM_NODISCARD std::enable_if<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type >::type dyn_cast(const Y &Val)
std::vector< ValueType > ParamTypes
SymbolKind
Duplicate copy of the above enum, but using the official CV names.
std::vector< LocalDecl > Locals
std::vector< NameEntry > FunctionNames
static bool classof(const Section *S)
std::vector< Global > Globals
LLVM Value Representation.
wasm::WasmInitExpr Offset
StringRef - Represent a constant reference to a string, i.e.
SectionType
These are the section type and attributes fields.
A discriminated union of two pointer types, with the discriminator in the low bit of the pointer...