Lines Matching refs:WebAssembly
54 if (WebAssembly::isWasmVarAddressSpace(Global->getAddressSpace()) && in GetGlobalAddressSymbol()
65 wasm::ValType Type = WebAssembly::toValType(VTs[0]); in GetGlobalAddressSymbol()
160 if (RC == &WebAssembly::I32RegClass) in getType()
162 if (RC == &WebAssembly::I64RegClass) in getType()
164 if (RC == &WebAssembly::F32RegClass) in getType()
166 if (RC == &WebAssembly::F64RegClass) in getType()
168 if (RC == &WebAssembly::V128RegClass) in getType()
170 if (RC == &WebAssembly::EXTERNREFRegClass) in getType()
172 if (RC == &WebAssembly::FUNCREFRegClass) in getType()
218 if (Info.OperandType == WebAssembly::OPERAND_TYPEINDEX) { in lower()
232 if (WebAssembly::isCallIndirect(MI->getOpcode())) in lower()
237 if (MI->getOpcode() == WebAssembly::RET_CALL_INDIRECT) in lower()
242 } else if (Info.OperandType == WebAssembly::OPERAND_SIGNATURE) { in lower()
243 auto BT = static_cast<WebAssembly::BlockType>(MO.getImm()); in lower()
244 assert(BT != WebAssembly::BlockType::Invalid); in lower()
245 if (BT == WebAssembly::BlockType::Multivalue) { in lower()
252 } else if (Info.OperandType == WebAssembly::OPERAND_HEAPTYPE) { in lower()
253 assert(static_cast<WebAssembly::HeapType>(MO.getImm()) != in lower()
254 WebAssembly::HeapType::Invalid); in lower()
321 auto StackOpcode = WebAssembly::getStackOpcode(RegOpcode); in removeRegisterOperands()