/third_party/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 | 443 unsigned temp_count,
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_liveness.c | 58 liveness_block_update(bi_block *blk, unsigned temp_count) in liveness_block_update() argument 64 for (unsigned i = 0; i < temp_count; ++i) in liveness_block_update() 68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count); in liveness_block_update() 69 memcpy(live, blk->live_out, temp_count); in liveness_block_update() 72 bi_liveness_ins_update(live, ins, temp_count); in liveness_block_update() 76 for (unsigned i = 0; (i < temp_count) && !progress; ++i) in liveness_block_update() 94 unsigned temp_count = bi_max_temp(ctx); in bi_compute_liveness() local 106 block->live_in = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness() 107 block->live_out = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness() 119 if (liveness_block_update(blk, temp_count)) { in bi_compute_liveness()
|
D | bi_opt_dce.c | 33 unsigned temp_count = bi_max_temp(ctx); in bi_opt_dead_code_eliminate() local 38 uint8_t *live = rzalloc_array(block, uint8_t, temp_count); in bi_opt_dead_code_eliminate() 41 for (unsigned i = 0; i < temp_count; ++i) in bi_opt_dead_code_eliminate() 61 if (index < temp_count && !(live[index] & bi_writemask(ins, d))) in bi_opt_dead_code_eliminate() 70 bi_liveness_ins_update(live, ins, temp_count); in bi_opt_dead_code_eliminate()
|
D | bi_validate.c | 42 unsigned temp_count = bi_max_temp(ctx); in bi_validate_initialization() local 46 for (unsigned i = 0; i < temp_count; ++i) { in bi_validate_initialization()
|
D | bi_helper_invocations.c | 228 unsigned temp_count = bi_max_temp(ctx); in bi_analyze_helper_requirements() local 229 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in bi_analyze_helper_requirements()
|
D | bi_pressure_schedule.c | 340 unsigned temp_count = bi_max_temp(ctx); in bi_pressure_schedule() local 342 uint8_t *live = ralloc_array(memctx, uint8_t, temp_count); in bi_pressure_schedule() 347 .max = temp_count, in bi_pressure_schedule()
|
/third_party/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 | midgard_ra.c | 174 size_t sz = BITSET_WORDS(ctx->temp_count) * sizeof(BITSET_WORD); in mir_lower_special_reads() 229 unsigned spill_idx = ctx->temp_count; in mir_lower_special_reads() 231 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_lower_special_reads() 342 if (ins->dest < ctx->temp_count) in mir_compute_interference() 375 if (ins_a->dest >= ctx->temp_count) continue; in mir_compute_interference() 380 if (ins_b->dest >= ctx->temp_count) continue; in mir_compute_interference() 391 uint16_t *live = mem_dup(_blk->live_out, ctx->temp_count * sizeof(uint16_t)); in mir_compute_interference() 399 if (dest < ctx->temp_count) { in mir_compute_interference() 400 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_compute_interference() 411 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_compute_interference() [all …]
|
D | mir_promote_uniforms.c | 170 mir_count_live(uint16_t *live, unsigned temp_count) in mir_count_live() argument 174 for (unsigned i = 0; i < temp_count; ++i) in mir_count_live() 190 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in mir_estimate_pressure() 193 unsigned count = mir_count_live(live, ctx->temp_count); in mir_estimate_pressure() 195 mir_liveness_ins_update(live, ins, ctx->temp_count); in mir_estimate_pressure() 241 BITSET_WORD *bset = calloc(BITSET_WORDS(ctx->temp_count), sizeof(BITSET_WORD)); in mir_special_indices() 256 if (idx < ctx->temp_count) in mir_special_indices() 326 if (ins->dest < ctx->temp_count) in midgard_promote_uniforms()
|
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 | 471 if (ctx->temp_count) in mir_compute_temp_count() 481 ctx->temp_count = max_dest; in mir_compute_temp_count()
|
D | compiler.h | 288 int temp_count; member
|
D | midgard_schedule.c | 1432 unsigned node_count = ctx->temp_count + 1; in schedule_block() 1548 if (src >= ctx->temp_count) in mir_lower_blend_input()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_pass.c | 50 uint32_t temp_count; member 55 .temp_count = 0, 247 pvr_pds_fragment_program_params.temp_count, in pvr_load_op_create()
|
/third_party/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()
|
/third_party/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
|