Home
last modified time | relevance | path

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

123

/external/mesa3d/src/nouveau/compiler/nak/
Drepair_ssa.rs26 ssa_alloc: &mut SSAValueAllocator, in get_ssa_or_phi()
48 ssa_alloc, phi_alloc, blocks, needs_src, *p_idx, ssa, in get_ssa_or_phi()
62 let phi_ssa = ssa_alloc.alloc(ssa.file()); in get_ssa_or_phi()
155 let ssa_alloc = &mut self.ssa_alloc; in repair_ssa() localVariable
173 ssa_alloc, in repair_ssa()
185 let new_ssa = ssa_alloc.alloc(ssa.file()); in repair_ssa()
212 ssa_alloc, in repair_ssa()
Dopt_bar_prop.rs129 ssa_alloc: &mut SSAValueAllocator, in add_phi_recur()
139 let bar = ssa_alloc.alloc(RegFile::Bar); in add_phi_recur()
147 ssa_alloc, phi_map, needs_bar, *src_phi, *src_ssa, in add_phi_recur()
155 ssa_alloc: &mut SSAValueAllocator, in try_add_phi()
166 self.add_phi_recur(ssa_alloc, phi_map, &mut seen, phi, ssa); in try_add_phi()
202 self.try_add_phi(&mut f.ssa_alloc, &phi_map, phi, ssa); in run()
Dto_cssa.rs335 let tmp = self.ssa_alloc.alloc(file); in to_cssa()
361 let tmp = self.ssa_alloc.alloc(file); in to_cssa()
375 let tmp = self.ssa_alloc.alloc(file); in to_cssa()
Dfrom_nir.rs3276 ssa_alloc: &mut SSAValueAllocator, in parse_block()
3281 let mut b = SSAInstrBuilder::new(sm, ssa_alloc); in parse_block()
3538 ssa_alloc: &mut SSAValueAllocator, in parse_if()
3542 self.parse_cf_list(ssa_alloc, phi_map, ni.iter_then_list()); in parse_if()
3543 self.parse_cf_list(ssa_alloc, phi_map, ni.iter_else_list()); in parse_if()
3553 ssa_alloc: &mut SSAValueAllocator, in parse_loop()
3557 self.parse_cf_list(ssa_alloc, phi_map, nl.iter_body()); in parse_loop()
3569 ssa_alloc: &mut SSAValueAllocator, in parse_cf_list()
3577 self.parse_block(ssa_alloc, phi_map, nb); in parse_cf_list()
3581 self.parse_if(ssa_alloc, phi_map, ni); in parse_cf_list()
[all …]
/external/mesa3d/src/panfrost/compiler/
Dbi_ra.c281 block->live_in = rzalloc_array(block, uint8_t, ctx->ssa_alloc); in bi_compute_liveness_ra()
282 block->live_out = rzalloc_array(block, uint8_t, ctx->ssa_alloc); in bi_compute_liveness_ra()
294 if (liveness_block_update(blk, ctx->ssa_alloc)) { in bi_compute_liveness_ra()
433 uint8_t *live = mem_dup(blk->live_out, ctx->ssa_alloc); in bi_compute_interference()
435 bi_mark_interference(blk, l, live, blk->reg_live_out, ctx->ssa_alloc, in bi_compute_interference()
445 struct lcra_state *l = lcra_alloc_equations(ctx->ssa_alloc); in bi_allocate_registers()
786 bi_index *remap = calloc(ctx->ssa_alloc, sizeof(bi_index)); in bi_lower_vector()
835 uint8_t *live = rzalloc_array(block, uint8_t, ctx->ssa_alloc); in bi_lower_vector()
838 for (unsigned i = 0; i < ctx->ssa_alloc; ++i) in bi_lower_vector()
923 unsigned *map = rzalloc_array(ctx, unsigned, ctx->ssa_alloc); in squeeze_index()
[all …]
Dbi_pressure_schedule.c60 calloc(ctx->ssa_alloc, sizeof(struct sched_node *)); in create_dag()
242 BITSET_WORDS(ctx->ssa_alloc) * sizeof(BITSET_WORD)); in pressure_schedule_block()
252 BITSET_WORDS(ctx->ssa_alloc) * sizeof(BITSET_WORD)); in pressure_schedule_block()
292 ralloc_array(memctx, BITSET_WORD, BITSET_WORDS(ctx->ssa_alloc)); in bi_pressure_schedule()
Dbi_opt_copy_prop.c48 bi_instr **collects = calloc(sizeof(bi_instr *), ctx->ssa_alloc); in bi_opt_copy_prop()
77 bi_index *replacement = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_opt_copy_prop()
Dbi_validate.c45 for (unsigned i = 0; i < ctx->ssa_alloc; ++i) { in bi_validate_initialization()
114 uint8_t *width = calloc(ctx->ssa_alloc, sizeof(uint8_t)); in bi_validate_width()
Dbi_liveness.c46 unsigned words = BITSET_WORDS(ctx->ssa_alloc); in bi_compute_liveness_ssa()
Dbi_opt_dce.c37 calloc(BITSET_WORDS(ctx->ssa_alloc), sizeof(BITSET_WORD)); in bi_opt_dce()
Dbi_opt_cse.c152 bi_index *replacement = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_opt_cse()
Dbi_helper_invocations.c257 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), ctx->ssa_alloc); in bi_analyze_helper_requirements()
Dbi_opt_mod_props.c198 bi_instr **lut = calloc(sizeof(bi_instr *), ctx->ssa_alloc); in bi_opt_mod_prop_forward()
402 unsigned count = ctx->ssa_alloc; in bi_opt_mod_prop_backward()
Dbi_lower_swizzle.c285 BITSET_WORD *replicates_16 = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_lower_swizzle()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_nir_type_csel.c33 calloc(BITSET_WORDS(impl->ssa_alloc), sizeof(BITSET_WORD)); in midgard_nir_type_csel()
Dcompiler.h453 return (ctx->func->impl->ssa_alloc + ctx->temp_alloc++) << 1; in make_compiler_temp()
459 return ((ctx->func->impl->ssa_alloc + ctx->temp_alloc++) << 1) | PAN_IS_REG; in make_compiler_temp_reg()
/external/mesa3d/src/compiler/nir/
Dnir_opt_cse.c41 _mesa_set_resize(instr_set, impl->ssa_alloc); in nir_opt_cse_impl()
Dnir_liveness.c133 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_defs_impl()
231 const unsigned bitset_words = BITSET_WORDS(impl->ssa_alloc); in nir_get_live_defs()
Dnir_lower_int_to_float.c265 float_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
267 int_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
Dnir_validate.c225 validate_assert(state, def->index < state->impl->ssa_alloc); in validate_def()
1578 validate_assert(state, def->index < state->impl->ssa_alloc); in validate_ssa_def_dominance()
1591 validate_assert(state, src->ssa->index < state->impl->ssa_alloc); in validate_src_dominance()
1649 BITSET_WORD, BITSET_WORDS(impl->ssa_alloc)); in validate_function_impl()
1650 memset(state->ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * sizeof(BITSET_WORD)); in validate_function_impl()
1676 memset(state->ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * sizeof(BITSET_WORD)); in validate_function_impl()
1829 BITSET_WORDS(impl->ssa_alloc)); in nir_validate_ssa_dominance()
1830 memset(state.ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * sizeof(BITSET_WORD)); in nir_validate_ssa_dominance()
Dnir_opt_preamble.c754 ctx.states = calloc(impl->ssa_alloc, sizeof(*ctx.states)); in nir_opt_preamble()
916 ctx.reconstructed_defs = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_opt_preamble()
939 unsigned max_index = impl->ssa_alloc; in nir_opt_preamble()
Dnir_lower_reg_intrinsics_to_ssa.c145 impl->ssa_alloc); in nir_lower_reg_intrinsics_to_ssa_impl()
/external/mesa3d/src/nouveau/compiler/
Dnak_nir_lower_cf.c458 new_impl->ssa_alloc = old_impl->ssa_alloc; in lower_cf_func()
/external/mesa3d/src/imagination/pco/
Dpco_trans_nir.c824 func->next_ssa = impl->ssa_alloc; in trans_func()
831 rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(impl->ssa_alloc)); in trans_func()
833 rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(impl->ssa_alloc)); in trans_func()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_ra.c139 unsigned max_nodes = impl->ssa_alloc; in etna_ra_assign()

123