Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp40 WebAssembly::HeapType WebAssembly::parseHeapType(StringRef Type) { in parseHeapType()
41 return StringSwitch<WebAssembly::HeapType>(Type) in parseHeapType()
42 .Case("extern", WebAssembly::HeapType::Externref) in parseHeapType()
43 .Case("func", WebAssembly::HeapType::Funcref) in parseHeapType()
44 .Default(WebAssembly::HeapType::Invalid); in parseHeapType()
H A DWebAssemblyTypeUtilities.h45 enum class HeapType : unsigned { enum
54 HeapType parseHeapType(StringRef Type);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrRef.td15 defm REF_NULL_#rc : I<(outs rc:$res), (ins HeapType:$heaptype),
16 (outs), (ins HeapType:$heaptype),
H A DWebAssemblyMCInstLower.cpp300 assert(static_cast<WebAssembly::HeapType>(MO.getImm()) != in lower()
301 WebAssembly::HeapType::Invalid); in lower()
H A DWebAssemblyInstrInfo.td202 def HeapType : Operand<i32> {
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp644 auto HeapType = WebAssembly::parseHeapType(Id.getString()); in ParseInstruction() local
645 if (HeapType == WebAssembly::HeapType::Invalid) { in ParseInstruction()
650 WebAssemblyOperand::IntOp{static_cast<int64_t>(HeapType)})); in ParseInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp262 MCOperand::createImm(int64_t(WebAssembly::HeapType::Invalid))); in getInstruction()