Searched refs:HeapType (Results 1 – 7 of 7) sorted by relevance
40 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()
45 enum class HeapType : unsigned { enum54 HeapType parseHeapType(StringRef Type);
15 defm REF_NULL_#rc : I<(outs rc:$res), (ins HeapType:$heaptype),16 (outs), (ins HeapType:$heaptype),
300 assert(static_cast<WebAssembly::HeapType>(MO.getImm()) != in lower()301 WebAssembly::HeapType::Invalid); in lower()
202 def HeapType : Operand<i32> {
644 auto HeapType = WebAssembly::parseHeapType(Id.getString()); in ParseInstruction() local645 if (HeapType == WebAssembly::HeapType::Invalid) { in ParseInstruction()650 WebAssemblyOperand::IntOp{static_cast<int64_t>(HeapType)})); in ParseInstruction()
262 MCOperand::createImm(int64_t(WebAssembly::HeapType::Invalid))); in getInstruction()