Home
last modified time | relevance | path

Searched refs:reg_alloc (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_global_to_local.c86 reg->index = impl->reg_alloc++; in global_to_local()
Dnir_validate.c858 validate_assert(state, reg->index < state->shader->reg_alloc); in prevalidate_reg_decl()
860 validate_assert(state, reg->index < state->impl->reg_alloc); in prevalidate_reg_decl()
1049 BITSET_WORDS(impl->reg_alloc) * in validate_function_impl()
1051 memset(state->regs_found, 0, BITSET_WORDS(impl->reg_alloc) * in validate_function_impl()
1183 BITSET_WORDS(shader->reg_alloc) * in nir_validate_shader()
1185 memset(state.regs_found, 0, BITSET_WORDS(shader->reg_alloc) * in nir_validate_shader()
Dnir_clone.c672 nfi->reg_alloc = fi->reg_alloc; in clone_function_impl()
766 ns->reg_alloc = s->reg_alloc; in nir_shader_clone()
Dnir.c53 shader->reg_alloc = 0; in nir_shader_create()
89 reg->index = shader->reg_alloc++; in nir_global_reg_create()
99 reg->index = impl->reg_alloc++; in nir_local_reg_create()
285 impl->reg_alloc = 0; in nir_function_impl_create_bare()
1076 impl->reg_alloc = index; in nir_index_local_regs()
1086 shader->reg_alloc = index; in nir_index_global_regs()
Dnir_lower_regs_to_ssa.c225 state.values = malloc(impl->reg_alloc * sizeof(*state.values)); in nir_lower_regs_to_ssa_impl()
Dnir.h1614 unsigned reg_alloc; member
1855 unsigned reg_alloc; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_nir.cpp135 nir_locals = ralloc_array(mem_ctx, dst_reg, impl->reg_alloc); in nir_emit_impl()
136 for (unsigned i = 0; i < impl->reg_alloc; i++) { in nir_emit_impl()
Dbrw_fs_nir.cpp249 nir_locals = ralloc_array(mem_ctx, fs_reg, impl->reg_alloc); in nir_emit_impl()
250 for (unsigned i = 0; i < impl->reg_alloc; i++) { in nir_emit_impl()