Searched refs:src_alu (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_vec_to_movs.c | 161 nir_alu_instr *src_alu = in try_coalesce() local 164 if (has_replicated_dest(src_alu)) { in try_coalesce() 175 if (nir_op_infos[src_alu->op].output_size != 0) in try_coalesce() 181 for (unsigned j = 0; j < nir_op_infos[src_alu->op].num_inputs; j++) in try_coalesce() 182 if (nir_op_infos[src_alu->op].input_sizes[j] != 0) in try_coalesce() 188 for (unsigned j = 0; j < nir_op_infos[src_alu->op].num_inputs; j++) in try_coalesce() 190 swizzles[j][i] = src_alu->src[j].swizzle[i]; in try_coalesce() 199 vec->src[i].src.ssa != &src_alu->dest.dest.ssa) in try_coalesce() 207 if (data->cb && !data->cb(&src_alu->instr, write_mask, data->data)) in try_coalesce() 217 if (has_replicated_dest(src_alu)) { in try_coalesce() [all …]
|
D | nir_search_helpers.h | 282 nir_alu_instr *src_alu = in is_not_fmul() local 285 if (src_alu == NULL) in is_not_fmul() 288 if (src_alu->op == nir_op_fneg) in is_not_fmul() 289 return is_not_fmul(ht, src_alu, 0, 0, NULL); in is_not_fmul() 291 return src_alu->op != nir_op_fmul && src_alu->op != nir_op_fmulz; in is_not_fmul() 298 nir_alu_instr *src_alu = in is_fmul() local 301 if (src_alu == NULL) in is_fmul() 304 if (src_alu->op == nir_op_fneg) in is_fmul() 305 return is_fmul(ht, src_alu, 0, 0, NULL); in is_fmul() 307 return src_alu->op == nir_op_fmul || src_alu->op == nir_op_fmulz; in is_fmul() [all …]
|
D | nir_lower_phis_to_scalar.c | 63 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in is_phi_src_scalarizable() local 70 return nir_op_infos[src_alu->op].output_size == 0 || in is_phi_src_scalarizable() 71 nir_op_is_vec(src_alu->op); in is_phi_src_scalarizable()
|
D | nir_lower_int_to_float.c | 75 nir_alu_instr *src_alu = nir_src_as_alu_instr(alu->src[0].src); in lower_alu_instr() local 76 if (src_alu) { in lower_alu_instr() 77 switch (src_alu->op) { in lower_alu_instr()
|
D | nir_opt_gcm.c | 175 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in is_src_scalarizable() local 182 return nir_op_infos[src_alu->op].output_size == 0 || in is_src_scalarizable() 183 src_alu->op == nir_op_vec2 || in is_src_scalarizable() 184 src_alu->op == nir_op_vec3 || in is_src_scalarizable() 185 src_alu->op == nir_op_vec4; in is_src_scalarizable()
|
D | nir_search.c | 82 nir_alu_instr *src_alu = nir_instr_as_alu(src.ssa->parent_instr); in src_is_type() local 83 nir_alu_type output_type = nir_op_infos[src_alu->op].output_type; in src_is_type() 86 switch (src_alu->op) { in src_is_type() 90 return src_is_type(src_alu->src[0].src, nir_type_bool) && in src_is_type() 91 src_is_type(src_alu->src[1].src, nir_type_bool); in src_is_type() 93 return src_is_type(src_alu->src[0].src, nir_type_bool); in src_is_type()
|
D | nir_split_vars.c | 1181 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in get_non_self_referential_store_comps() local 1183 if (src_alu->op == nir_op_mov) { in get_non_self_referential_store_comps() 1187 if (src_is_load_deref(src_alu->src[0].src, store->src[0])) { in get_non_self_referential_store_comps() 1189 if (src_alu->src[0].swizzle[i] == i) in get_non_self_referential_store_comps() 1193 } else if (nir_op_is_vec(src_alu->op)) { in get_non_self_referential_store_comps() 1197 for (unsigned i = 0; i < nir_op_infos[src_alu->op].num_inputs; i++) { in get_non_self_referential_store_comps() 1198 if (src_is_load_deref(src_alu->src[i].src, store->src[0]) && in get_non_self_referential_store_comps() 1199 src_alu->src[i].swizzle[0] == i) in get_non_self_referential_store_comps()
|