Searched refs:LocalDecl (Results 1 – 4 of 4) sorted by relevance
103 struct LocalDecl { struct110 std::vector<LocalDecl> Locals; argument436 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::LocalDecl) in LLVM_YAML_IS_SEQUENCE_VECTOR()536 template <> struct MappingTraits<WasmYAML::LocalDecl> { in LLVM_YAML_IS_SEQUENCE_VECTOR()537 static void mapping(IO &IO, WasmYAML::LocalDecl &LocalDecl); in LLVM_YAML_IS_SEQUENCE_VECTOR()
357 WasmYAML::LocalDecl LocalDecl; in dump() local358 LocalDecl.Type = Local.Type; in dump()359 LocalDecl.Count = Local.Count; in dump()360 Function.Locals.push_back(LocalDecl); in dump()
363 void MappingTraits<WasmYAML::LocalDecl>::mapping(364 IO &IO, WasmYAML::LocalDecl &LocalDecl) { in mapping() 365 IO.mapRequired("Type", LocalDecl.Type); in mapping() argument 366 IO.mapRequired("Count", LocalDecl.Count); in mapping()
532 for (auto &LocalDecl : Func.Locals) { in writeSectionContent() local 533 encodeULEB128(LocalDecl.Count, StringStream); in writeSectionContent() 534 writeUint8(StringStream, LocalDecl.Type); in writeSectionContent()