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.h104 struct LocalDecl { struct
111 std::vector<LocalDecl> Locals; argument
438 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::LocalDecl) in LLVM_YAML_IS_SEQUENCE_VECTOR()
538 template <> struct MappingTraits<WasmYAML::LocalDecl> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
539 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.cpp540 for (auto &LocalDecl : Func.Locals) { in writeSectionContent() local
541 encodeULEB128(LocalDecl.Count, StringStream); in writeSectionContent()
542 writeUint8(StringStream, LocalDecl.Type); in writeSectionContent()