Home
last modified time | relevance | path

Searched refs:ElemKind (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1684 auto ElemKind = readVaruint32(Ctx); in parseElemSection() local
1686 Segment.ElemKind = parseValType(Ctx, ElemKind); in parseElemSection()
1687 if (Segment.ElemKind != wasm::ValType::FUNCREF && in parseElemSection()
1688 Segment.ElemKind != wasm::ValType::EXTERNREF && in parseElemSection()
1689 Segment.ElemKind != wasm::ValType::EXNREF && in parseElemSection()
1690 Segment.ElemKind != wasm::ValType::OTHERREF) { in parseElemSection()
1695 if (ElemKind != 0) in parseElemSection()
1698 Segment.ElemKind = wasm::ValType::FUNCREF; in parseElemSection()
1702 Segment.ElemKind = ElemType; in parseElemSection()
1704 Segment.ElemKind = wasm::ValType::FUNCREF; in parseElemSection()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp504 if (Segment.ElemKind != uint32_t(wasm::ValType::FUNCREF)) { in writeSectionContent()
505 reportError("unexpected elemkind: " + Twine(Segment.ElemKind)); in writeSectionContent()
508 const uint8_t ElemKind = 0; in writeSectionContent() local
509 writeUint8(OS, ElemKind); in writeSectionContent()
H A DWasmYAML.cpp386 IO.mapOptional("ElemKind", Segment.ElemKind); in mapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h420 ValType ElemKind; member
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h77 ValueType ElemKind; member
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp1028 const uint8_t ElemKind = 0; in writeElemSection() local
1029 W->OS << ElemKind; in writeElemSection()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp4551 BuiltinType::Kind ElemKind) { in GetIntrinsic() argument
4552 switch (ElemKind) { in GetIntrinsic()