Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp44 WebAssembly::HeapType WebAssembly::parseHeapType(StringRef Type) { in parseHeapType()
45 return StringSwitch<WebAssembly::HeapType>(Type) in parseHeapType()
46 .Case("extern", WebAssembly::HeapType::Externref) in parseHeapType()
47 .Case("func", WebAssembly::HeapType::Funcref) in parseHeapType()
48 .Default(WebAssembly::HeapType::Invalid); in parseHeapType()
H A DWebAssemblyTypeUtilities.h45 enum class HeapType : unsigned { enum
54 HeapType parseHeapType(StringRef Type);
/freebsd-13.1/contrib/llvm-project/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.cpp253 assert(static_cast<WebAssembly::HeapType>(MO.getImm()) != in lower()
254 WebAssembly::HeapType::Invalid); in lower()
H A DWebAssemblyInstrInfo.td210 def HeapType : Operand<i32> {
H A DWebAssemblyISelLowering.cpp609 .addImm(static_cast<int32_t>(WebAssembly::HeapType::Funcref)); in LowerCallResults()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp674 auto HeapType = WebAssembly::parseHeapType(Id.getString()); in ParseInstruction() local
675 if (HeapType == WebAssembly::HeapType::Invalid) { in ParseInstruction()
680 WebAssemblyOperand::IntOp{static_cast<int64_t>(HeapType)})); in ParseInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp262 MCOperand::createImm(int64_t(WebAssembly::HeapType::Invalid))); in getInstruction()