/external/mesa3d/src/panfrost/util/ |
D | pan_liveness.c | 62 liveness_block_live_out(pan_block *blk, unsigned temp_count) in liveness_block_live_out() argument 65 for (unsigned i = 0; i < temp_count; ++i) in liveness_block_live_out() 76 pan_block *blk, unsigned temp_count, in liveness_block_update() argument 81 liveness_block_live_out(blk, temp_count); in liveness_block_update() 83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update() 84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t)); in liveness_block_update() 87 callback(live, (void *) ins, temp_count); in liveness_block_update() 91 for (unsigned i = 0; (i < temp_count) && !progress; ++i) in liveness_block_update() 110 unsigned temp_count, in pan_compute_liveness() argument 128 block->live_in = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness() [all …]
|
D | pan_ir.h | 187 unsigned temp_count,
|
/external/mesa3d/src/panfrost/midgard/ |
D | midgard_helper_invocations.c | 163 mir_helper_block_update(BITSET_WORD *deps, pan_block *_block, unsigned temp_count) in mir_helper_block_update() argument 170 if (ins->dest >= temp_count || !BITSET_TEST(deps, ins->dest)) in mir_helper_block_update() 175 if (ins->src[s] >= temp_count) in mir_helper_block_update() 191 unsigned temp_count = ctx->temp_count; in mir_analyze_helper_requirements() local 192 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in mir_analyze_helper_requirements() 199 if (ins->dest >= ctx->temp_count) continue; in mir_analyze_helper_requirements() 203 if (ins->src[s] < temp_count) in mir_analyze_helper_requirements() 224 bool progress = mir_helper_block_update(deps, blk, temp_count); in mir_analyze_helper_requirements() 241 if (ins->dest >= ctx->temp_count) continue; in mir_analyze_helper_requirements()
|
D | mir_promote_uniforms.c | 67 mir_count_live(uint16_t *live, unsigned temp_count) in mir_count_live() argument 71 for (unsigned i = 0; i < temp_count; ++i) in mir_count_live() 87 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in mir_estimate_pressure() 90 unsigned count = mir_count_live(live, ctx->temp_count); in mir_estimate_pressure() 92 mir_liveness_ins_update(live, ins, ctx->temp_count); in mir_estimate_pressure() 138 BITSET_WORD *bset = calloc(BITSET_WORDS(ctx->temp_count), sizeof(BITSET_WORD)); in mir_special_indices() 153 if (idx < ctx->temp_count) in mir_special_indices() 191 if (ins->dest < ctx->temp_count) in midgard_promote_uniforms()
|
D | midgard_ra.c | 174 size_t sz = BITSET_WORDS(ctx->temp_count) * sizeof(BITSET_WORD); in mir_lower_special_reads() 226 unsigned spill_idx = ctx->temp_count; in mir_lower_special_reads() 228 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_lower_special_reads() 339 if (ins->dest < ctx->temp_count) in mir_compute_interference() 350 uint16_t *live = mem_dup(_blk->live_out, ctx->temp_count * sizeof(uint16_t)); in mir_compute_interference() 358 if (dest < ctx->temp_count) { in mir_compute_interference() 359 for (unsigned i = 0; i < ctx->temp_count; ++i) in mir_compute_interference() 367 mir_liveness_ins_update(live, ins, ctx->temp_count); in mir_compute_interference() 402 if (!ctx->temp_count) in allocate_registers() 408 struct lcra_state *l = lcra_alloc_equations(ctx->temp_count + 1, 5); in allocate_registers() [all …]
|
D | midgard_opt_dce.c | 36 if (ins->dest >= ctx->temp_count) in can_cull_mask() 74 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in midgard_opt_dead_code_eliminate_block() 93 mir_liveness_ins_update(live, ins, ctx->temp_count); in midgard_opt_dead_code_eliminate_block()
|
D | midgard_liveness.c | 56 pan_compute_liveness(&ctx->blocks, ctx->temp_count, mir_liveness_ins_update_wrap); in mir_compute_liveness() 84 if (pan_liveness_get(block->base.live_out, src, ctx->temp_count)) in mir_is_live_after()
|
D | mir_squeeze.c | 46 temp = ctx->temp_count++; in find_or_allocate_temp() 64 ctx->temp_count = 0; in mir_squeeze_index()
|
D | mir.c | 455 if (ctx->temp_count) in mir_compute_temp_count() 465 ctx->temp_count = max_dest; in mir_compute_temp_count()
|
D | compiler.h | 291 int temp_count; member
|
D | midgard_schedule.c | 1353 unsigned node_count = ctx->temp_count + 1; in schedule_block()
|
/external/mesa3d/src/panfrost/bifrost/ |
D | bi_opt_dce.c | 32 unsigned temp_count = bi_max_temp(ctx); in bi_opt_dead_code_eliminate() local 37 uint16_t *live = mem_dup(block->base.live_out, temp_count * sizeof(uint16_t)); in bi_opt_dead_code_eliminate() 47 bi_liveness_ins_update(live, ins, temp_count); in bi_opt_dead_code_eliminate()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_emit.c | 1114 unsigned temp_count = MAX2(code->num_temporaries, 1); in r300_emit_vs_state() local 1118 unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count, 5); in r300_emit_vs_state()
|
/external/mesa3d/docs/relnotes/ |
D | 19.3.0.rst | 382 - pan/midgard: Calculate temp_count for liveness
|
D | 19.1.0.rst | 568 - panfrost/midgard: Fix RA when temp_count = 0
|