Searched refs:alu1 (Results 1 – 4 of 4) sorted by relevance
424 nir_alu_srcs_negative_equal(const nir_alu_instr *alu1, in nir_alu_srcs_negative_equal() argument430 assert(nir_alu_instr_channel_used(alu1, src1, i) == in nir_alu_srcs_negative_equal()434 if (nir_op_infos[alu1->op].input_types[src1] == nir_type_float) { in nir_alu_srcs_negative_equal()435 assert(nir_op_infos[alu1->op].input_types[src1] == in nir_alu_srcs_negative_equal()438 assert(nir_op_infos[alu1->op].input_types[src1] == nir_type_int); in nir_alu_srcs_negative_equal()443 if (alu1->src[src1].abs != alu2->src[src2].abs) in nir_alu_srcs_negative_equal()446 bool parity = alu1->src[src1].negate != alu2->src[src2].negate; in nir_alu_srcs_negative_equal()451 nir_src_as_const_value(alu1->src[src1].src); in nir_alu_srcs_negative_equal()466 if (nir_src_bit_size(alu1->src[src1].src) != in nir_alu_srcs_negative_equal()470 const nir_alu_type full_type = nir_op_infos[alu1->op].input_types[src1] | in nir_alu_srcs_negative_equal()[all …]
103 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in instrs_equal() local106 if (alu1->op != alu2->op) in instrs_equal()109 if (alu1->dest.dest.ssa.bit_size != alu2->dest.dest.ssa.bit_size) in instrs_equal()112 for (unsigned i = 0; i < nir_op_infos[alu1->op].num_inputs; i++) { in instrs_equal()113 if (!alu_srcs_equal(&alu1->src[i], &alu2->src[i])) in instrs_equal()170 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in instr_try_combine() local173 assert(alu1->dest.dest.ssa.bit_size == alu2->dest.dest.ssa.bit_size); in instr_try_combine()174 unsigned alu1_components = alu1->dest.dest.ssa.num_components; in instr_try_combine()182 (total_components > 2 || alu1->dest.dest.ssa.bit_size != 16)) in instr_try_combine()185 if (filter && !filter(&alu1->instr, &alu2->instr, data)) in instr_try_combine()[all …]
1432 bool nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2,1435 bool nir_alu_srcs_negative_equal(const nir_alu_instr *alu1,
96 - nir: Use nir_src_bit_size instead of alu1->dest.dest.ssa.bit_size