15#ifndef LLVM_OBJECTYAML_WASMYAML_H
16#define LLVM_OBJECTYAML_WASMYAML_H
224 return C &&
C->Name ==
"dylink.0";
242 return C &&
C->Name ==
"name";
255 return C &&
C->Name ==
"linking";
270 return C &&
C->Name ==
"producers";
275 std::vector<ProducerEntry>
SDKs;
283 return C &&
C->Name ==
"target_features";
459 static void mapping(
IO &
IO, std::unique_ptr<WasmYAML::Section> &Section);
527 static void enumeration(
IO &
IO, WasmYAML::FeaturePolicyPrefix &Prefix);
Analysis containing CSE Info
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
#define LLVM_YAML_STRONG_TYPEDEF(_base, _type)
YAML I/O does conversion based on types. But often native data types are just a typedef of built in i...
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.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
@ Export
Export information to summary.
@ Import
Import information from summary.
@ Global
Append to llvm.global_dtors.
PointerUnion< const Value *, const PseudoSourceValue * > ValueType
Implement std::hash so that hash_code can be used in STL containers.
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< StringRef > RuntimePath
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::optional< uint8_t > HeaderSecSizeEncodingLen
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
static void mapping(IO &IO, WasmYAML::ComdatEntry &ComdatEntry)
static void mapping(IO &IO, WasmYAML::Comdat &Comdat)
static void mapping(IO &IO, WasmYAML::DataSegment &Segment)
static void mapping(IO &IO, WasmYAML::DylinkExportInfo &Info)
static void mapping(IO &IO, WasmYAML::DylinkImportInfo &Info)
static void mapping(IO &IO, WasmYAML::ElemSegment &Segment)
static void mapping(IO &IO, WasmYAML::Export &Export)
static void mapping(IO &IO, WasmYAML::FeatureEntry &FeatureEntry)
static void mapping(IO &IO, WasmYAML::Function &Function)
static void mapping(IO &IO, WasmYAML::Global &Global)
static void mapping(IO &IO, WasmYAML::Import &Import)
static void mapping(IO &IO, WasmYAML::InitExpr &Expr)
static void mapping(IO &IO, WasmYAML::InitFunction &Init)
static void mapping(IO &IO, WasmYAML::Limits &Limits)
static void mapping(IO &IO, WasmYAML::LocalDecl &LocalDecl)
static void mapping(IO &IO, WasmYAML::NameEntry &NameEntry)
static void mapping(IO &IO, WasmYAML::Object &Object)
static void mapping(IO &IO, WasmYAML::ProducerEntry &ProducerEntry)
static void mapping(IO &IO, WasmYAML::Relocation &Relocation)
static void mapping(IO &IO, WasmYAML::SegmentInfo &SegmentInfo)
static void mapping(IO &IO, WasmYAML::Signature &Signature)
static void mapping(IO &IO, WasmYAML::SymbolInfo &Info)
static void mapping(IO &IO, WasmYAML::Table &Table)
static void mapping(IO &IO, std::unique_ptr< WasmYAML::Section > &Section)
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
static void bitset(IO &IO, WasmYAML::LimitFlags &Value)
static void bitset(IO &IO, WasmYAML::SegmentFlags &Value)
static void bitset(IO &IO, WasmYAML::SymbolFlags &Value)
This class should be specialized by any integer type that is a union of bit values and the YAML repre...
static void enumeration(IO &IO, WasmYAML::ComdatKind &Kind)
static void enumeration(IO &IO, WasmYAML::ExportKind &Kind)
static void enumeration(IO &IO, WasmYAML::FeaturePolicyPrefix &Prefix)
static void enumeration(IO &IO, WasmYAML::Opcode &Opcode)
static void enumeration(IO &IO, WasmYAML::RelocType &Kind)
static void enumeration(IO &IO, WasmYAML::SectionType &Type)
static void enumeration(IO &IO, WasmYAML::SymbolKind &Kind)
static void enumeration(IO &IO, WasmYAML::TableType &Type)
static void enumeration(IO &IO, WasmYAML::ValueType &Type)
This class should be specialized by any integral type that converts to/from a YAML scalar where there...