15 #ifndef LLVM_OBJECTYAML_WASMYAML_H 16 #define LLVM_OBJECTYAML_WASMYAML_H 31 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, TableType)
32 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, SignatureForm)
33 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, ExportKind)
34 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, Opcode)
35 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, RelocType)
38 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, SegmentFlags)
39 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, LimitFlags)
40 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, ComdatKind)
41 LLVM_YAML_STRONG_TYPEDEF(
uint32_t, FeaturePolicyPrefix)
202 return C &&
C->Name ==
"dylink";
217 return C &&
C->Name ==
"name";
228 return C &&
C->Name ==
"linking";
243 return C &&
C->Name ==
"producers";
248 std::vector<ProducerEntry>
SDKs;
256 return C &&
C->Name ==
"target_features";
400 LLVM_YAML_IS_SEQUENCE_VECTOR(std::unique_ptr<llvm::WasmYAML::Section>)
431 static void mapping(IO &IO, std::unique_ptr<WasmYAML::Section> &
Section);
450 template <>
struct ScalarBitSetTraits<WasmYAML::LimitFlags> {
451 static void bitset(IO &IO, WasmYAML::LimitFlags &
Value);
458 template <>
struct ScalarEnumerationTraits<WasmYAML::
SymbolKind> {
462 template <>
struct ScalarBitSetTraits<WasmYAML::SegmentFlags> {
463 static void bitset(IO &IO, WasmYAML::SegmentFlags &
Value);
466 template <>
struct ScalarEnumerationTraits<WasmYAML::
SectionType> {
498 template <>
struct ScalarEnumerationTraits<WasmYAML::FeaturePolicyPrefix> {
499 static void enumeration(IO &IO, WasmYAML::FeaturePolicyPrefix &
Prefix);
534 template <>
struct ScalarEnumerationTraits<WasmYAML::ComdatKind> {
535 static void enumeration(IO &IO, WasmYAML::ComdatKind &
Kind);
546 template <>
struct ScalarEnumerationTraits<WasmYAML::
ValueType> {
550 template <>
struct ScalarEnumerationTraits<WasmYAML::ExportKind> {
551 static void enumeration(IO &IO, WasmYAML::ExportKind &
Kind);
554 template <>
struct ScalarEnumerationTraits<WasmYAML::TableType> {
555 static void enumeration(IO &IO, WasmYAML::TableType &
Type);
558 template <>
struct ScalarEnumerationTraits<WasmYAML::Opcode> {
559 static void enumeration(IO &IO, WasmYAML::Opcode &Opcode);
562 template <>
struct ScalarEnumerationTraits<WasmYAML::RelocType> {
563 static void enumeration(IO &IO, WasmYAML::RelocType &
Kind);
573 #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.
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
std::vector< std::unique_ptr< Section > > Sections
FeaturePolicyPrefix Prefix
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)
std::vector< ValueType > ReturnTypes
std::vector< SegmentInfo > SegmentInfos
static bool classof(const Section *S)
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
static bool classof(const Section *S)
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
std::vector< FeatureEntry > Features
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 or more pointer types, with the discriminator in the low bit of the poin...