Lines Matching defs:WasmYAML
1 //===- WasmYAML.h - Wasm YAMLIO implementation ------------------*- C++ -*-===//
23 namespace WasmYAML {
231 } // end namespace WasmYAML
234 LLVM_YAML_IS_SEQUENCE_VECTOR(std::unique_ptr<llvm::WasmYAML::Section>)
235 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Signature)
236 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::ValueType)
237 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Table)
238 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Import)
239 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Export)
240 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::ElemSegment)
241 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Limits)
242 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::DataSegment)
243 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Global)
244 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Function)
245 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::LocalDecl)
246 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Relocation)
252 template <> struct MappingTraits<WasmYAML::FileHeader> {
253 static void mapping(IO &IO, WasmYAML::FileHeader &FileHdr);
256 template <> struct MappingTraits<std::unique_ptr<WasmYAML::Section>> {
257 static void mapping(IO &IO, std::unique_ptr<WasmYAML::Section> &Section);
260 template <> struct MappingTraits<WasmYAML::Object> {
261 static void mapping(IO &IO, WasmYAML::Object &Object);
264 template <> struct MappingTraits<WasmYAML::Import> {
265 static void mapping(IO &IO, WasmYAML::Import &Import);
268 template <> struct MappingTraits<WasmYAML::Export> {
269 static void mapping(IO &IO, WasmYAML::Export &Export);
272 template <> struct MappingTraits<WasmYAML::Global> {
273 static void mapping(IO &IO, WasmYAML::Global &Global);
276 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> {
277 static void enumeration(IO &IO, WasmYAML::SectionType &Type);
280 template <> struct MappingTraits<WasmYAML::Signature> {
281 static void mapping(IO &IO, WasmYAML::Signature &Signature);
284 template <> struct MappingTraits<WasmYAML::Table> {
285 static void mapping(IO &IO, WasmYAML::Table &Table);
288 template <> struct MappingTraits<WasmYAML::Limits> {
289 static void mapping(IO &IO, WasmYAML::Limits &Limits);
292 template <> struct MappingTraits<WasmYAML::Function> {
293 static void mapping(IO &IO, WasmYAML::Function &Function);
296 template <> struct MappingTraits<WasmYAML::Relocation> {
297 static void mapping(IO &IO, WasmYAML::Relocation &Relocation);
300 template <> struct MappingTraits<WasmYAML::LocalDecl> {
301 static void mapping(IO &IO, WasmYAML::LocalDecl &LocalDecl);
308 template <> struct MappingTraits<WasmYAML::DataSegment> {
309 static void mapping(IO &IO, WasmYAML::DataSegment &Segment);
312 template <> struct MappingTraits<WasmYAML::ElemSegment> {
313 static void mapping(IO &IO, WasmYAML::ElemSegment &Segment);
316 template <> struct ScalarEnumerationTraits<WasmYAML::ValueType> {
317 static void enumeration(IO &IO, WasmYAML::ValueType &Type);
320 template <> struct ScalarEnumerationTraits<WasmYAML::ExportKind> {
321 static void enumeration(IO &IO, WasmYAML::ExportKind &Kind);
324 template <> struct ScalarEnumerationTraits<WasmYAML::TableType> {
325 static void enumeration(IO &IO, WasmYAML::TableType &Type);
328 template <> struct ScalarEnumerationTraits<WasmYAML::Opcode> {
329 static void enumeration(IO &IO, WasmYAML::Opcode &Opcode);
332 template <> struct ScalarEnumerationTraits<WasmYAML::RelocType> {
333 static void enumeration(IO &IO, WasmYAML::RelocType &Kind);