Searched refs:LocalDecl (Results 1 – 4 of 4) sorted by relevance
89 struct LocalDecl { struct96 std::vector<LocalDecl> Locals; argument334 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::LocalDecl) in LLVM_YAML_IS_SEQUENCE_VECTOR()418 template <> struct MappingTraits<WasmYAML::LocalDecl> { in LLVM_YAML_IS_SEQUENCE_VECTOR()419 static void mapping(IO &IO, WasmYAML::LocalDecl &LocalDecl); in LLVM_YAML_IS_SEQUENCE_VECTOR()
265 WasmYAML::LocalDecl LocalDecl; in dump() local266 LocalDecl.Type = Local.Type; in dump()267 LocalDecl.Count = Local.Count; in dump()268 Function.Locals.push_back(LocalDecl); in dump()
279 void MappingTraits<WasmYAML::LocalDecl>::mapping( in mapping()280 IO &IO, WasmYAML::LocalDecl &LocalDecl) { in mapping() argument281 IO.mapRequired("Type", LocalDecl.Type); in mapping()282 IO.mapRequired("Count", LocalDecl.Count); in mapping()
401 for (auto &LocalDecl : Func.Locals) { in writeSectionContent() local402 encodeULEB128(LocalDecl.Count, StringStream); in writeSectionContent()403 writeUint8(StringStream, LocalDecl.Type); in writeSectionContent()