Home
last modified time | relevance | path

Searched refs:WasmYAML (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h27 namespace WasmYAML {
410 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Table) in LLVM_YAML_IS_SEQUENCE_VECTOR()
411 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Import) in LLVM_YAML_IS_SEQUENCE_VECTOR()
412 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Export) in LLVM_YAML_IS_SEQUENCE_VECTOR()
414 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Limits) in LLVM_YAML_IS_SEQUENCE_VECTOR()
416 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Global) in LLVM_YAML_IS_SEQUENCE_VECTOR()
427 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Comdat) in LLVM_YAML_IS_SEQUENCE_VECTOR()
428 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Tag) in LLVM_YAML_IS_SEQUENCE_VECTOR()
481 template <> struct MappingTraits<WasmYAML::Table> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
573 template <> struct MappingTraits<WasmYAML::Tag> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
H A Dyaml2obj.h39 namespace WasmYAML {
64 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
H A DObjectYAML.h34 std::unique_ptr<WasmYAML::Object> Wasm;
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp21 namespace WasmYAML { namespace
32 IO &IO, WasmYAML::FileHeader &FileHdr) { in mapping()
165 WasmYAML::SectionType SectionType; in mapping()
304 void MappingTraits<WasmYAML::Table>::mapping(IO &IO, WasmYAML::Table &Table) { in mapping()
428 WasmYAML::Opcode Op = Expr.Opcode; in mapping()
480 IO &IO, WasmYAML::ComdatKind &Kind) { in enumeration()
528 void MappingTraits<WasmYAML::Tag>::mapping(IO &IO, WasmYAML::Tag &Tag) { in mapping()
580 IO &IO, WasmYAML::ValueType &Type) { in enumeration()
605 IO &IO, WasmYAML::Opcode &Code) { in enumeration()
618 IO &IO, WasmYAML::TableType &Type) { in enumeration()
[all …]
H A DWasmEmitter.cpp28 WasmWriter(WasmYAML::Object &Obj, yaml::ErrorHandler EH) in WasmWriter()
33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec,
60 WasmYAML::Object &Obj;
248 for (const WasmYAML::ComdatEntry &Entry : C.Entries) { in writeSectionContent()
335 if (auto S = dyn_cast<WasmYAML::DylinkSection>(&Section)) { in writeSectionContent()
355 for (const WasmYAML::Signature &Sig : Section.Signatures) { in writeSectionContent()
374 for (const WasmYAML::Import &Import : Section.Imports) { in writeSectionContent()
418 for (const WasmYAML::Export &Export : Section.Exports) { in writeSectionContent()
448 for (const WasmYAML::Limits &Mem : Section.Memories) in writeSectionContent()
568 auto *CustomSection = cast<WasmYAML::CustomSection>(&Sec); in writeRelocSection()
[all …]
H A DObjectYAML.cpp60 ObjectFile.Wasm.reset(new WasmYAML::Object()); in mapping()
61 MappingTraits<WasmYAML::Object>::mapping(IO, *ObjectFile.Wasm); in mapping()