Searched refs:nir_reg (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/lima/ir/gp/ |
D | nir.c | 41 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/ |
D | nir_to_tgsi.c | 288 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/ |
D | nir_to_vir.c | 1846 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/ |
D | vc4_program.c | 1671 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/ |
D | brw_vec4_nir.cpp | 173 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()
|