15#ifndef LLVM_OBJECTYAML_WASMYAML_H
16#define LLVM_OBJECTYAML_WASMYAML_H
221 auto C = dyn_cast<CustomSection>(S);
222 return C &&
C->Name ==
"dylink.0";
238 auto C = dyn_cast<CustomSection>(S);
239 return C &&
C->Name ==
"name";
251 auto C = dyn_cast<CustomSection>(S);
252 return C &&
C->Name ==
"linking";
266 auto C = dyn_cast<CustomSection>(S);
267 return C &&
C->Name ==
"producers";
272 std::vector<ProducerEntry>
SDKs;
279 auto C = dyn_cast<CustomSection>(S);
280 return C &&
C->Name ==
"target_features";
456 static void mapping(IO &IO, std::unique_ptr<WasmYAML::Section> &Section);
475template <>
struct ScalarBitSetTraits<WasmYAML::LimitFlags> {
476 static void bitset(IO &IO, WasmYAML::LimitFlags &
Value);
479template <>
struct ScalarBitSetTraits<WasmYAML::SymbolFlags> {
480 static void bitset(IO &IO, WasmYAML::SymbolFlags &
Value);
483template <>
struct ScalarEnumerationTraits<WasmYAML::SymbolKind> {
484 static void enumeration(IO &IO, WasmYAML::SymbolKind &Kind);
487template <>
struct ScalarBitSetTraits<WasmYAML::SegmentFlags> {
488 static void bitset(IO &IO, WasmYAML::SegmentFlags &
Value);
491template <>
struct ScalarEnumerationTraits<WasmYAML::SectionType> {
492 static void enumeration(IO &IO, WasmYAML::SectionType &
Type);
523template <>
struct ScalarEnumerationTraits<WasmYAML::FeaturePolicyPrefix> {
524 static void enumeration(IO &IO, WasmYAML::FeaturePolicyPrefix &Prefix);
559template <>
struct ScalarEnumerationTraits<WasmYAML::ComdatKind> {
560 static void enumeration(IO &IO, WasmYAML::ComdatKind &Kind);
571template <>
struct ScalarEnumerationTraits<WasmYAML::
ValueType> {
572 static void enumeration(IO &IO, WasmYAML::ValueType &
Type);
575template <>
struct ScalarEnumerationTraits<WasmYAML::ExportKind> {
576 static void enumeration(IO &IO, WasmYAML::ExportKind &Kind);
579template <>
struct ScalarEnumerationTraits<WasmYAML::TableType> {
580 static void enumeration(IO &IO, WasmYAML::TableType &
Type);
583template <>
struct ScalarEnumerationTraits<WasmYAML::Opcode> {
584 static void enumeration(IO &IO, WasmYAML::Opcode &Opcode);
587template <>
struct ScalarEnumerationTraits<WasmYAML::RelocType> {
588 static void enumeration(IO &IO, WasmYAML::RelocType &Kind);
Analysis containing CSE Info
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
#define LLVM_YAML_STRONG_TYPEDEF(_base, _type)
StringRef - Represent a constant reference to a string, i.e.
The instances of the Type class are immutable: once they are created, they are never changed.
LLVM Value Representation.
Specialized YAMLIO scalar type for representing a binary blob.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
@ Export
Export information to summary.
@ Import
Import information from summary.
@ Global
Append to llvm.global_dtors.
std::vector< Function > Functions
static bool classof(const Section *S)
std::vector< ComdatEntry > Entries
static bool classof(const Section *S)
CustomSection(StringRef Name)
static bool classof(const Section *S)
std::vector< DataSegment > Segments
static bool classof(const Section *S)
std::vector< DylinkImportInfo > ImportInfo
std::vector< StringRef > Needed
std::vector< DylinkExportInfo > ExportInfo
static bool classof(const Section *S)
std::vector< ElemSegment > Segments
static bool classof(const Section *S)
std::vector< uint32_t > Functions
static bool classof(const Section *S)
std::vector< Export > Exports
FeaturePolicyPrefix Prefix
std::vector< uint32_t > FunctionTypes
static bool classof(const Section *S)
std::vector< LocalDecl > Locals
static bool classof(const Section *S)
std::vector< Global > Globals
std::vector< Import > Imports
static bool classof(const Section *S)
wasm::WasmInitExprMVP Inst
std::vector< InitFunction > InitFunctions
std::vector< SymbolInfo > SymbolTable
std::vector< SegmentInfo > SegmentInfos
static bool classof(const Section *S)
std::vector< Comdat > Comdats
std::vector< Limits > Memories
static bool classof(const Section *S)
std::vector< NameEntry > DataSegmentNames
static bool classof(const Section *S)
std::vector< NameEntry > FunctionNames
std::vector< NameEntry > GlobalNames
std::vector< std::unique_ptr< Section > > Sections
Section(SectionType SecType)
std::vector< Relocation > Relocations
std::vector< ValueType > ReturnTypes
std::vector< ValueType > ParamTypes
static bool classof(const Section *S)
wasm::WasmDataReference DataRef
static bool classof(const Section *S)
std::vector< Table > Tables
std::vector< FeatureEntry > Features
static bool classof(const Section *S)
static bool classof(const Section *S)
std::vector< Signature > Signatures