/external/mesa3d/src/nouveau/compiler/nak/ |
D | repair_ssa.rs | 26 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()
|
D | opt_bar_prop.rs | 129 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()
|
D | to_cssa.rs | 335 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()
|
D | from_nir.rs | 3276 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/ |
D | bi_ra.c | 281 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 …]
|
D | bi_pressure_schedule.c | 60 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()
|
D | bi_opt_copy_prop.c | 48 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()
|
D | bi_validate.c | 45 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()
|
D | bi_liveness.c | 46 unsigned words = BITSET_WORDS(ctx->ssa_alloc); in bi_compute_liveness_ssa()
|
D | bi_opt_dce.c | 37 calloc(BITSET_WORDS(ctx->ssa_alloc), sizeof(BITSET_WORD)); in bi_opt_dce()
|
D | bi_opt_cse.c | 152 bi_index *replacement = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_opt_cse()
|
D | bi_helper_invocations.c | 257 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), ctx->ssa_alloc); in bi_analyze_helper_requirements()
|
D | bi_opt_mod_props.c | 198 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()
|
D | bi_lower_swizzle.c | 285 BITSET_WORD *replicates_16 = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_lower_swizzle()
|
/external/mesa3d/src/panfrost/midgard/ |
D | midgard_nir_type_csel.c | 33 calloc(BITSET_WORDS(impl->ssa_alloc), sizeof(BITSET_WORD)); in midgard_nir_type_csel()
|
D | compiler.h | 453 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/ |
D | nir_opt_cse.c | 41 _mesa_set_resize(instr_set, impl->ssa_alloc); in nir_opt_cse_impl()
|
D | nir_liveness.c | 133 .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()
|
D | nir_lower_int_to_float.c | 265 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()
|
D | nir_validate.c | 225 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()
|
D | nir_opt_preamble.c | 754 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()
|
D | nir_lower_reg_intrinsics_to_ssa.c | 145 impl->ssa_alloc); in nir_lower_reg_intrinsics_to_ssa_impl()
|
/external/mesa3d/src/nouveau/compiler/ |
D | nak_nir_lower_cf.c | 458 new_impl->ssa_alloc = old_impl->ssa_alloc; in lower_cf_func()
|
/external/mesa3d/src/imagination/pco/ |
D | pco_trans_nir.c | 824 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/ |
D | etnaviv_compiler_nir_ra.c | 139 unsigned max_nodes = impl->ssa_alloc; in etna_ra_assign()
|