Home | History | Annotate | Download | only in spirv

Lines Matching full:case

111       /* We don't handle the case where src1 is transposed but not src0, since
112 * the general case only uses individual components of src1 so the
160 case SpvOpFNegate: {
168 case SpvOpFAdd: {
177 case SpvOpFSub: {
186 case SpvOpTranspose:
190 case SpvOpMatrixTimesScalar:
199 case SpvOpVectorTimesMatrix:
200 case SpvOpMatrixTimesVector:
201 case SpvOpMatrixTimesMatrix:
223 case SpvOpSNegate: return nir_op_ineg;
224 case SpvOpFNegate: return nir_op_fneg;
225 case SpvOpNot: return nir_op_inot;
226 case SpvOpIAdd: return nir_op_iadd;
227 case SpvOpFAdd: return nir_op_fadd;
228 case SpvOpISub: return nir_op_isub;
229 case SpvOpFSub: return nir_op_fsub;
230 case SpvOpIMul: return nir_op_imul;
231 case SpvOpFMul: return nir_op_fmul;
232 case SpvOpUDiv: return nir_op_udiv;
233 case SpvOpSDiv: return nir_op_idiv;
234 case SpvOpFDiv: return nir_op_fdiv;
235 case SpvOpUMod: return nir_op_umod;
236 case SpvOpSMod: return nir_op_imod;
237 case SpvOpFMod: return nir_op_fmod;
238 case SpvOpSRem: return nir_op_irem;
239 case SpvOpFRem: return nir_op_frem;
241 case SpvOpShiftRightLogical: return nir_op_ushr;
242 case SpvOpShiftRightArithmetic: return nir_op_ishr;
243 case SpvOpShiftLeftLogical: return nir_op_ishl;
244 case SpvOpLogicalOr: return nir_op_ior;
245 case SpvOpLogicalEqual: return nir_op_ieq;
246 case SpvOpLogicalNotEqual: return nir_op_ine;
247 case SpvOpLogicalAnd: return nir_op_iand;
248 case SpvOpLogicalNot: return nir_op_inot;
249 case SpvOpBitwiseOr: return nir_op_ior;
250 case SpvOpBitwiseXor: return nir_op_ixor;
251 case SpvOpBitwiseAnd: return nir_op_iand;
252 case SpvOpSelect: return nir_op_bcsel;
253 case SpvOpIEqual: return nir_op_ieq;
255 case SpvOpBitFieldInsert: return nir_op_bitfield_insert;
256 case SpvOpBitFieldSExtract: return nir_op_ibitfield_extract;
257 case SpvOpBitFieldUExtract: return nir_op_ubitfield_extract;
258 case SpvOpBitReverse: return nir_op_bitfield_reverse;
259 case SpvOpBitCount: return nir_op_bit_count;
265 case SpvOpFOrdEqual: return nir_op_feq;
266 case SpvOpFUnordEqual: return nir_op_feq;
267 case SpvOpINotEqual: return nir_op_ine;
268 case SpvOpFOrdNotEqual: return nir_op_fne;
269 case SpvOpFUnordNotEqual: return nir_op_fne;
270 case SpvOpULessThan: return nir_op_ult;
271 case SpvOpSLessThan: return nir_op_ilt;
272 case SpvOpFOrdLessThan: return nir_op_flt;
273 case SpvOpFUnordLessThan: return nir_op_flt;
274 case SpvOpUGreaterThan: *swap = true; return nir_op_ult;
275 case SpvOpSGreaterThan: *swap = true; return nir_op_ilt;
276 case SpvOpFOrdGreaterThan: *swap = true; return nir_op_flt;
277 case SpvOpFUnordGreaterThan: *swap = true; return nir_op_flt;
278 case SpvOpULessThanEqual: *swap = true; return nir_op_uge;
279 case SpvOpSLessThanEqual: *swap = true; return nir_op_ige;
280 case SpvOpFOrdLessThanEqual: *swap = true; return nir_op_fge;
281 case SpvOpFUnordLessThanEqual: *swap = true; return nir_op_fge;
282 case SpvOpUGreaterThanEqual: return nir_op_uge;
283 case SpvOpSGreaterThanEqual: return nir_op_ige;
284 case SpvOpFOrdGreaterThanEqual: return nir_op_fge;
285 case SpvOpFUnordGreaterThanEqual: return nir_op_fge;
288 case SpvOpBitcast: return nir_op_imov;
289 case SpvOpUConvert:
290 case SpvOpQuantizeToF16: return nir_op_fquantize2f16;
291 case SpvOpConvertFToU:
292 case SpvOpConvertFToS:
293 case SpvOpConvertSToF:
294 case SpvOpConvertUToF:
295 case SpvOpSConvert:
296 case SpvOpFConvert:
300 case SpvOpDPdx: return nir_op_fddx;
301 case SpvOpDPdy: return nir_op_fddy;
302 case SpvOpDPdxFine: return nir_op_fddx_fine;
303 case SpvOpDPdyFine: return nir_op_fddy_fine;
304 case SpvOpDPdxCoarse: return nir_op_fddx_coarse;
305 case SpvOpDPdyCoarse: return nir_op_fddy_coarse;
354 case SpvOpAny:
360 case 2: op = nir_op_bany_inequal2; break;
361 case 3: op = nir_op_bany_inequal3; break;
362 case 4: op = nir_op_bany_inequal4; break;
371 case SpvOpAll:
377 case 2: op = nir_op_ball_iequal2; break;
378 case 3: op = nir_op_ball_iequal3; break;
379 case 4: op = nir_op_ball_iequal4; break;
388 case SpvOpOuterProduct: {
396 case SpvOpDot:
400 case SpvOpIAddCarry:
406 case SpvOpISubBorrow:
412 case SpvOpUMulExtended:
418 case SpvOpSMulExtended:
424 case SpvOpFwidth:
429 case SpvOpFwidthFine:
434 case SpvOpFwidthCoarse:
440 case SpvOpVectorTimesScalar:
445 case SpvOpIsNan:
449 case SpvOpIsInf:
454 case SpvOpFUnordEqual:
455 case SpvOpFUnordNotEqual:
456 case SpvOpFUnordLessThan:
457 case SpvOpFUnordGreaterThan:
458 case SpvOpFUnordLessThanEqual:
459 case SpvOpFUnordGreaterThanEqual: {
480 case SpvOpFOrdEqual:
481 case SpvOpFOrdNotEqual:
482 case SpvOpFOrdLessThan:
483 case SpvOpFOrdGreaterThan:
484 case SpvOpFOrdLessThanEqual:
485 case SpvOpFOrdGreaterThanEqual: {