Home
last modified time | relevance | path

Searched refs:nir_reg (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c41 static gpir_reg *reg_for_nir_reg(gpir_compiler *comp, nir_register *nir_reg) in reg_for_nir_reg() argument
43 unsigned index = nir_reg->index; in reg_for_nir_reg()
88 static void register_node_reg(gpir_block *block, gpir_node *node, nir_reg_dest *nir_reg) in register_node_reg() argument
90 block->comp->node_for_reg[nir_reg->reg->index] = node; in register_node_reg()
93 snprintf(node->name, sizeof(node->name), "reg%d", nir_reg->reg->index); in register_node_reg()
96 store->reg = reg_for_nir_reg(block->comp, nir_reg->reg); in register_node_reg()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c288 foreach_list_typed(nir_register, nir_reg, node, list) { in ntt_setup_registers()
290 if (nir_reg->num_array_elems == 0) { in ntt_setup_registers()
291 uint32_t write_mask = BITFIELD_MASK(nir_reg->num_components); in ntt_setup_registers()
292 if (nir_reg->bit_size == 64) { in ntt_setup_registers()
293 if (nir_reg->num_components > 2) { in ntt_setup_registers()
295 nir_reg->num_components, nir_reg->index); in ntt_setup_registers()
303 decl = ureg_DECL_array_temporary(c->ureg, nir_reg->num_array_elems, in ntt_setup_registers()
306 c->reg_temp[nir_reg->index] = decl; in ntt_setup_registers()
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c1846 foreach_list_typed(nir_register, nir_reg, node, list) { in ntq_setup_registers()
1847 unsigned array_len = MAX2(nir_reg->num_array_elems, 1); in ntq_setup_registers()
1850 nir_reg->num_components); in ntq_setup_registers()
1852 _mesa_hash_table_insert(c->def_ht, nir_reg, qregs); in ntq_setup_registers()
1854 for (int i = 0; i < array_len * nir_reg->num_components; i++) in ntq_setup_registers()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1671 foreach_list_typed(nir_register, nir_reg, node, list) { in ntq_setup_registers()
1672 unsigned array_len = MAX2(nir_reg->num_array_elems, 1); in ntq_setup_registers()
1675 nir_reg->num_components); in ntq_setup_registers()
1677 _mesa_hash_table_insert(c->def_ht, nir_reg, qregs); in ntq_setup_registers()
1679 for (int i = 0; i < array_len * nir_reg->num_components; i++) in ntq_setup_registers()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp173 dst_reg_for_nir_reg(vec4_visitor *v, nir_register *nir_reg, in dst_reg_for_nir_reg() argument
178 reg = v->nir_locals[nir_reg->index]; in dst_reg_for_nir_reg()
179 if (nir_reg->bit_size == 64) in dst_reg_for_nir_reg()