Home
last modified time | relevance | path

Searched refs:alu1 (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_instr_set.c232 nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2, in nir_alu_srcs_equal() argument
235 if (alu1->src[src1].abs != alu2->src[src2].abs || in nir_alu_srcs_equal()
236 alu1->src[src1].negate != alu2->src[src2].negate) in nir_alu_srcs_equal()
239 for (unsigned i = 0; i < nir_ssa_alu_instr_src_components(alu1, src1); i++) { in nir_alu_srcs_equal()
240 if (alu1->src[src1].swizzle[i] != alu2->src[src2].swizzle[i]) in nir_alu_srcs_equal()
244 return nir_srcs_equal(alu1->src[src1].src, alu2->src[src2].src); in nir_alu_srcs_equal()
261 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in nir_instrs_equal() local
264 if (alu1->op != alu2->op) in nir_instrs_equal()
270 if (alu1->dest.dest.ssa.num_components != alu2->dest.dest.ssa.num_components) in nir_instrs_equal()
273 if (alu1->dest.dest.ssa.bit_size != alu2->dest.dest.ssa.bit_size) in nir_instrs_equal()
[all …]
Dnir.h869 bool nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2,