Home
last modified time | relevance | path

Searched refs:num_array_elems (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_locals_to_regs.c116 reg->num_array_elems = array_size > 1 ? array_size : 0; in get_reg_for_deref()
140 if (src.reg.reg->num_array_elems == 0) in get_deref_reg_src()
Dnir_validate.c163 validate_assert(state, (src->reg.reg->num_array_elems == 0 || in validate_reg_src()
164 src->reg.base_offset < src->reg.reg->num_array_elems) && in validate_reg_src()
168 validate_assert(state, src->reg.reg->num_array_elems != 0); in validate_reg_src()
276 validate_assert(state, (dest->reg->num_array_elems == 0 || in validate_reg_dest()
277 dest->base_offset < dest->reg->num_array_elems) && in validate_reg_dest()
281 validate_assert(state, dest->reg->num_array_elems != 0); in validate_reg_dest()
Dnir_print.c98 if (reg->num_array_elems != 0) in print_register_decl()
99 fprintf(fp, "[%u]", reg->num_array_elems); in print_register_decl()
129 if (src->reg->num_array_elems != 0) { in print_reg_src()
144 if (dest->reg->num_array_elems != 0) { in print_reg_dest()
Dnir_lower_regs_to_ssa.c233 if (reg->num_array_elems != 0 || reg->is_packed) { in nir_lower_regs_to_ssa_impl()
Dnir_from_ssa.c459 reg->num_array_elems = 0; in create_reg_for_ssa_def()
709 reg->num_array_elems = 0; in resolve_parallel_copy()
Dnir_clone.c199 nreg->num_array_elems = reg->num_array_elems; in clone_register()
Dnir_serialize.c212 blob_write_uint32(ctx->blob, reg->num_array_elems); in write_register()
227 reg->num_array_elems = blob_read_uint32(ctx->blob); in read_register()
Dnir.h382 unsigned num_array_elems; /** < size of array (0 for no array) */ member
Dnir.c79 reg->num_array_elems = 0; in reg_create()
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c178 assert(reg->num_array_elems == 0); in ntq_store_dest()
226 assert(reg->num_array_elems == 0); in ntq_get_src()
1395 unsigned array_len = MAX2(nir_reg->num_array_elems, 1); in ntq_setup_registers()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c212 assert(reg->num_array_elems == 0); in ntq_store_dest()
260 assert(reg->num_array_elems == 0); in ntq_get_dest()
277 assert(reg->num_array_elems == 0); in ntq_get_src()
1680 unsigned array_len = MAX2(nir_reg->num_array_elems, 1); in ntq_setup_registers()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp64 reg->num_array_elems == 0 ? 1 : reg->num_array_elems; in nir_emit_impl()
Dbrw_fs_nir.cpp330 reg->num_array_elems == 0 ? 1 : reg->num_array_elems; in nir_emit_impl()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c391 reg->num_array_elems = array_size; in ttn_emit_declaration()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c305 arr->length = reg->num_components * MAX2(1, reg->num_array_elems); in declare_array()