Home
last modified time | relevance | path

Searched refs:ssa_alloc (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_liveness.c148 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_ssa_defs_impl()
247 const unsigned bitset_words = BITSET_WORDS(impl->ssa_alloc); in nir_get_live_ssa_defs()
379 impl->ssa_alloc); in nir_live_ssa_defs_per_instr()
382 for (int i = 0; i < impl->ssa_alloc; i++) in nir_live_ssa_defs_per_instr()
387 BITSET_FOREACH_SET(index, block->live_in, impl->ssa_alloc) { in nir_live_ssa_defs_per_instr()
408 BITSET_FOREACH_SET(index, block->live_out, impl->ssa_alloc) { in nir_live_ssa_defs_per_instr()
Dnir_lower_int_to_float.c130 float_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
132 int_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
Dnir_opt_cse.c46 _mesa_set_resize(instr_set, impl->ssa_alloc); in nir_opt_cse_impl()
Dnir_validate.c292 validate_assert(state, def->index < state->impl->ssa_alloc); in validate_ssa_def()
1538 validate_assert(state, def->index < state->impl->ssa_alloc); in validate_ssa_def_dominance()
1553 validate_assert(state, src->ssa->index < state->impl->ssa_alloc); in validate_src_dominance()
1597 _mesa_set_resize(state->ssa_srcs, impl->ssa_alloc); in validate_function_impl()
1624 BITSET_WORD, BITSET_WORDS(impl->ssa_alloc)); in validate_function_impl()
1625 memset(state->ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * in validate_function_impl()
1795 BITSET_WORDS(func->impl->ssa_alloc)); in nir_validate_ssa_dominance()
1796 memset(state.ssa_defs_found, 0, BITSET_WORDS(func->impl->ssa_alloc) * in nir_validate_ssa_dominance()
Dnir_opt_dce.c223 BITSET_WORDS(impl->ssa_alloc)); in nir_opt_dce_impl()
Dnir_lower_shader_calls.c325 const unsigned num_ssa_defs = impl->ssa_alloc; in spill_ssa_defs_and_lower_shader_calls()
987 struct brw_bitset remat = bitset_create(mem_ctx, impl->ssa_alloc); in lower_resume()
Dnir.c461 impl->ssa_alloc = 0; in nir_function_impl_create_bare()
1009 def->index = impl->ssa_alloc++; in add_ssa_def_cb()
1623 def->index = impl->ssa_alloc++; in nir_ssa_def_init()
2045 impl->ssa_alloc = index; in nir_index_ssa_defs()
Dnir_loop_analyze.c1323 impl->ssa_alloc); in initialize_loop_info_state()
1325 BITSET_WORDS(impl->ssa_alloc)); in initialize_loop_info_state()
Dnir_search.c916 if (!util_dynarray_resize(&states, uint16_t, impl->ssa_alloc)) { in nir_algebraic_impl()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.h87 return src->is_ssa ? src->ssa->index : (src->reg.reg->index + impl->ssa_alloc); in src_index()
94 return dest->is_ssa ? dest->ssa.index : (dest->reg.reg->index + impl->ssa_alloc); in dest_index()
Detnaviv_compiler_nir_ra.c135 unsigned max_nodes = impl->ssa_alloc + impl->reg_alloc; in etna_ra_assign()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_opt_copy_prop.c51 bi_index *replacement = calloc(sizeof(bi_index), ((ctx->ssa_alloc + 1) << 2)); in bi_opt_copy_prop()
Dbi_opt_mod_props.c140 bi_instr **lut = calloc(sizeof(bi_instr *), ((ctx->ssa_alloc + 1) << 2)); in bi_opt_mod_prop_forward()
244 unsigned count = ((ctx->ssa_alloc + 1) << 2); in bi_opt_mod_prop_backward()
Dbi_opt_cse.c157 bi_index *replacement = calloc(sizeof(bi_index), ((ctx->ssa_alloc + 1) << 2)); in bi_opt_cse()
Dcompiler.h630 unsigned ssa_alloc; member
689 return (MAX2(ctx->reg_alloc, ctx->ssa_alloc) + 2) << 1; in bi_max_temp()
695 return bi_get_index(ctx->ssa_alloc++, false, 0); in bi_temp()
Dbifrost_compile.c3739 ctx->ssa_alloc += func->impl->ssa_alloc; in bifrost_compile_shader_nir()
/third_party/mesa3d/src/panfrost/midgard/
Dcompiler.h450 return (ctx->func->impl->ssa_alloc + ctx->temp_alloc++) << 1; in make_compiler_temp()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c454 gpir_compiler *comp = gpir_compiler_create(prog, func->reg_alloc, func->ssa_alloc); in gpir_compile_nir()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp450 ctx->program->allocateRange(impl->ssa_alloc); in init_context()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c882 ppir_compiler *comp = ppir_compiler_create(prog, func->reg_alloc, func->ssa_alloc); in ppir_compile_nir()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c2403 BITSET_FOREACH_SET(index, block->live_out, BITSET_WORDS(c->impl->ssa_alloc)) { in ntt_emit_block()
2444 c->ssa_temp = rzalloc_array(c, struct ureg_src, impl->ssa_alloc); in ntt_emit_impl()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1473 ctx->alloc += func->impl->ssa_alloc; in agx_compile_shader_nir()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp68 nir_ssa_values = ralloc_array(mem_ctx, dst_reg, impl->ssa_alloc); in nir_emit_impl()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c4096 sizeof(SpvId), entry->ssa_alloc); in nir_to_spirv()
4099 ctx.num_defs = entry->ssa_alloc; in nir_to_spirv()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c4640 entry->ssa_alloc); in emit_module()
4643 ctx->num_defs = entry->ssa_alloc; in emit_module()

12