Lines Matching refs:opnds
76 const opnd_t *opnd1 = &data->opnds[0]; in check_result_for_binary()
77 const opnd_t *opnd2 = &data->opnds[1]; in check_result_for_binary()
203 opnd_t *opnds = data->opnds; in test_shift() local
208 for (unsigned amount = 0; amount < bitsof_irtype(opnds[0].type); ++amount) { in test_shift()
209 opnds[1].value.u8 = amount; in test_shift()
212 num_input_bits = bitsof_irtype(opnds[0].type); in test_shift()
215 opnds[0].vbits = onehot_vbits(i, bitsof_irtype(opnds[0].type)); in test_shift()
216 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_shift()
230 num_input_bits = bitsof_irtype(opnds[1].type); in test_shift()
233 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_shift()
234 opnds[1].vbits = onehot_vbits(i, bitsof_irtype(opnds[1].type)); in test_shift()
284 opnd_t *opnds = data->opnds; in test_and() local
292 num_input_bits = bitsof_irtype(opnds[0].type); in test_and()
295 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); in test_and()
296 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_and()
297 opnds[1].value = all_bits_zero_value(bitsof_irtype(opnds[1].type)); in test_and()
306 num_input_bits = bitsof_irtype(opnds[1].type); in test_and()
309 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); in test_and()
310 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_and()
311 opnds[0].value = all_bits_zero_value(bitsof_irtype(opnds[0].type)); in test_and()
324 num_input_bits = bitsof_irtype(opnds[0].type); in test_and()
327 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); in test_and()
328 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_and()
329 opnds[1].value = all_bits_one_value(bitsof_irtype(opnds[1].type)); in test_and()
338 num_input_bits = bitsof_irtype(opnds[1].type); in test_and()
341 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); in test_and()
342 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_and()
343 opnds[0].value = all_bits_one_value(bitsof_irtype(opnds[0].type)); in test_and()
358 opnd_t *opnds = data->opnds; in test_or() local
366 num_input_bits = bitsof_irtype(opnds[0].type); in test_or()
368 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_or()
369 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_or()
370 opnds[1].value = all_bits_one_value(bitsof_irtype(opnds[1].type)); in test_or()
373 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); in test_or()
382 num_input_bits = bitsof_irtype(opnds[1].type); in test_or()
384 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_or()
385 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_or()
386 opnds[0].value = all_bits_one_value(bitsof_irtype(opnds[0].type)); in test_or()
389 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); in test_or()
402 num_input_bits = bitsof_irtype(opnds[0].type); in test_or()
404 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_or()
405 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_or()
406 opnds[1].value = all_bits_zero_value(bitsof_irtype(opnds[1].type)); in test_or()
409 opnds[0].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[0].type)); in test_or()
418 num_input_bits = bitsof_irtype(opnds[1].type); in test_or()
420 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_or()
421 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_or()
422 opnds[0].value = all_bits_zero_value(bitsof_irtype(opnds[0].type)); in test_or()
425 opnds[1].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[1].type)); in test_or()
440 opnd_t *opnds = data->opnds; in test_binary_op() local
469 num_input_bits = bitsof_irtype(opnds[i].type); in test_binary_op()
470 opnds[0].vbits = defined_vbits(bitsof_irtype(opnds[0].type)); in test_binary_op()
471 opnds[1].vbits = defined_vbits(bitsof_irtype(opnds[1].type)); in test_binary_op()
475 memset(&opnds[1].value, 0xff, sizeof opnds[1].value); in test_binary_op()
490 opnds[1].value.u64 = 1; in test_binary_op()
493 opnds[i].vbits = onehot_vbits(bitpos, bitsof_irtype(opnds[i].type)); in test_binary_op()