Home
last modified time | relevance | path

Searched refs:LocalDecl (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h103 struct LocalDecl { struct
110 std::vector<LocalDecl> Locals; argument
436 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()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp364 void MappingTraits<WasmYAML::LocalDecl>::mapping( in mapping()
365 IO &IO, WasmYAML::LocalDecl &LocalDecl) { in mapping() argument
366 IO.mapRequired("Type", LocalDecl.Type); in mapping()
367 IO.mapRequired("Count", LocalDecl.Count); in mapping()
H A DWasmEmitter.cpp532 for (auto &LocalDecl : Func.Locals) { in writeSectionContent() local
533 encodeULEB128(LocalDecl.Count, StringStream); in writeSectionContent()
534 writeUint8(StringStream, LocalDecl.Type); in writeSectionContent()