Searched refs:HeapType (Results 1 – 8 of 8) sorted by relevance
44 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()
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),
253 assert(static_cast<WebAssembly::HeapType>(MO.getImm()) != in lower()254 WebAssembly::HeapType::Invalid); in lower()
210 def HeapType : Operand<i32> {
609 .addImm(static_cast<int32_t>(WebAssembly::HeapType::Funcref)); in LowerCallResults()
674 auto HeapType = WebAssembly::parseHeapType(Id.getString()); in ParseInstruction() local675 if (HeapType == WebAssembly::HeapType::Invalid) { in ParseInstruction()680 WebAssemblyOperand::IntOp{static_cast<int64_t>(HeapType)})); in ParseInstruction()
262 MCOperand::createImm(int64_t(WebAssembly::HeapType::Invalid))); in getInstruction()