Searched refs:orig_cmp (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_comparison_pre.c139 rewrite_compare_instruction(nir_builder *bld, nir_alu_instr *orig_cmp, argument
142 void *const mem_ctx = ralloc_parent(orig_cmp);
144 bld->cursor = nir_before_instr(&orig_cmp->instr);
158 nir_ssa_def *const a = nir_ssa_for_alu_src(bld, orig_cmp, 0);
159 nir_ssa_def *const b = nir_ssa_for_alu_src(bld, orig_cmp, 1);
169 ? nir_build_alu(bld, orig_cmp->op, zero, fadd, NULL, NULL)
170 : nir_build_alu(bld, orig_cmp->op, fadd, zero, NULL, NULL);
187 mov_cmp->dest.write_mask = orig_cmp->dest.write_mask;
189 orig_cmp->dest.dest.ssa.num_components,
190 orig_cmp
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_comparison_pre.c137 rewrite_compare_instruction(nir_builder *bld, nir_alu_instr *orig_cmp, argument
140 bld->cursor = nir_before_instr(&orig_cmp->instr);
154 nir_ssa_def *const a = nir_ssa_for_alu_src(bld, orig_cmp, 0);
155 nir_ssa_def *const b = nir_ssa_for_alu_src(bld, orig_cmp, 1);
165 ? nir_build_alu(bld, orig_cmp->op, zero, fadd, NULL, NULL)
166 : nir_build_alu(bld, orig_cmp->op, fadd, zero, NULL, NULL);
183 mov_cmp->dest.write_mask = orig_cmp->dest.write_mask;
185 orig_cmp->dest.dest.ssa.num_components,
186 orig_cmp->dest.dest.ssa.bit_size, NULL);
191 nir_ssa_def_rewrite_uses(&orig_cmp
[all...]

Completed in 3 milliseconds