Lines Matching full:webassembly
1 //=- WebAssemblyMCCodeEmitter.cpp - Convert WebAssembly code to machine code -//
80 if (MI.getOpcode() == WebAssembly::BR_TABLE_I32_S || in encodeInstruction()
81 MI.getOpcode() == WebAssembly::BR_TABLE_I64_S) in encodeInstruction()
83 if (MI.getOpcode() == WebAssembly::BR_TABLE_I32 || in encodeInstruction()
84 MI.getOpcode() == WebAssembly::BR_TABLE_I64) in encodeInstruction()
99 case WebAssembly::OPERAND_I32IMM: in encodeInstruction()
102 case WebAssembly::OPERAND_OFFSET32: in encodeInstruction()
105 case WebAssembly::OPERAND_I64IMM: in encodeInstruction()
108 case WebAssembly::OPERAND_SIGNATURE: in encodeInstruction()
109 case WebAssembly::OPERAND_HEAPTYPE: in encodeInstruction()
112 case WebAssembly::OPERAND_VEC_I8IMM: in encodeInstruction()
115 case WebAssembly::OPERAND_VEC_I16IMM: in encodeInstruction()
118 case WebAssembly::OPERAND_VEC_I32IMM: in encodeInstruction()
121 case WebAssembly::OPERAND_VEC_I64IMM: in encodeInstruction()
124 case WebAssembly::OPERAND_GLOBAL: in encodeInstruction()
135 if (Info.OperandType == WebAssembly::OPERAND_F32IMM) { in encodeInstruction()
141 assert(Info.OperandType == WebAssembly::OPERAND_F64IMM); in encodeInstruction()
151 case WebAssembly::OPERAND_I32IMM: in encodeInstruction()
152 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i32); in encodeInstruction()
154 case WebAssembly::OPERAND_I64IMM: in encodeInstruction()
155 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i64); in encodeInstruction()
158 case WebAssembly::OPERAND_FUNCTION32: in encodeInstruction()
159 case WebAssembly::OPERAND_TABLE: in encodeInstruction()
160 case WebAssembly::OPERAND_OFFSET32: in encodeInstruction()
161 case WebAssembly::OPERAND_SIGNATURE: in encodeInstruction()
162 case WebAssembly::OPERAND_TYPEINDEX: in encodeInstruction()
163 case WebAssembly::OPERAND_GLOBAL: in encodeInstruction()
164 case WebAssembly::OPERAND_EVENT: in encodeInstruction()
165 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i32); in encodeInstruction()
167 case WebAssembly::OPERAND_OFFSET64: in encodeInstruction()
168 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i64); in encodeInstruction()