Searched refs:temp_count (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/panfrost/util/
H A Dpan_liveness.c62 liveness_block_live_out(pan_block *blk, unsigned temp_count) argument
65 for (unsigned i = 0; i < temp_count; ++i)
76 pan_block *blk, unsigned temp_count,
81 liveness_block_live_out(blk, temp_count);
83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count);
84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t));
87 callback(live, (void *) ins, temp_count);
91 for (unsigned i = 0; (i < temp_count) && !progress; ++i)
110 unsigned temp_count,
128 block->live_in = rzalloc_array(block, uint16_t, temp_count);
75 liveness_block_update(pan_block * blk,unsigned temp_count,pan_liveness_update callback) argument
108 pan_compute_liveness(struct list_head * blocks,unsigned temp_count,pan_liveness_update callback) argument
[all...]
H A Dpan_ir.h326 unsigned temp_count,
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_liveness.c58 liveness_block_update(bi_block *blk, unsigned temp_count) argument
64 for (unsigned i = 0; i < temp_count; ++i)
68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count);
69 memcpy(live, blk->live_out, temp_count);
72 bi_liveness_ins_update(live, (bi_instr *) ins, temp_count);
76 for (unsigned i = 0; (i < temp_count) && !progress; ++i)
97 unsigned temp_count = bi_max_temp(ctx); local in function:bi_compute_liveness
115 block->live_in = rzalloc_array(block, uint8_t, temp_count);
116 block->live_out = rzalloc_array(block, uint8_t, temp_count);
132 bool progress = liveness_block_update(blk, temp_count);
[all...]
H A Dbi_validate.c42 unsigned temp_count = bi_max_temp(ctx); local in function:bi_validate_initialization
47 for (unsigned i = 0; i < temp_count; ++i) {
H A Dbi_opt_dce.c33 unsigned temp_count = bi_max_temp(ctx); local in function:bi_opt_dead_code_eliminate
39 uint8_t *live = rzalloc_array(block, uint8_t, temp_count);
42 for (unsigned i = 0; i < temp_count; ++i)
52 if (index < temp_count && !(live[index] & bi_writemask(ins, d)))
61 bi_liveness_ins_update(live, ins, temp_count);
H A Dbi_helper_invocations.c230 unsigned temp_count = bi_max_temp(ctx); local in function:bi_analyze_helper_requirements
231 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count));
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_helper_invocations.c163 mir_helper_block_update(BITSET_WORD *deps, pan_block *_block, unsigned temp_count) argument
170 if (ins->dest >= temp_count || !BITSET_TEST(deps, ins->dest))
175 if (ins->src[s] >= temp_count)
191 unsigned temp_count = ctx->temp_count; local in function:mir_analyze_helper_requirements
192 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count));
199 if (ins->dest >= ctx->temp_count) continue;
203 if (ins->src[s] < temp_count)
224 bool progress = mir_helper_block_update(deps, blk, temp_count);
241 if (ins->dest >= ctx->temp_count) continu
[all...]
H A Dmidgard_opt_dce.c36 if (ins->dest >= ctx->temp_count)
74 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t));
93 mir_liveness_ins_update(live, ins, ctx->temp_count);
H A Dmidgard_liveness.c56 pan_compute_liveness(&ctx->blocks, ctx->temp_count, mir_liveness_ins_update_wrap);
84 if (pan_liveness_get(block->base.live_out, src, ctx->temp_count))
H A Dmir_promote_uniforms.c170 mir_count_live(uint16_t *live, unsigned temp_count) argument
174 for (unsigned i = 0; i < temp_count; ++i)
190 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t));
193 unsigned count = mir_count_live(live, ctx->temp_count);
195 mir_liveness_ins_update(live, ins, ctx->temp_count);
241 BITSET_WORD *bset = calloc(BITSET_WORDS(ctx->temp_count), sizeof(BITSET_WORD));
256 if (idx < ctx->temp_count)
326 if (ins->dest < ctx->temp_count)
H A Dmir_squeeze.c46 temp = ctx->temp_count++;
64 ctx->temp_count = 0;
H A Dmidgard_ra.c174 size_t sz = BITSET_WORDS(ctx->temp_count) * sizeof(BITSET_WORD);
229 unsigned spill_idx = ctx->temp_count;
231 for (unsigned i = 0; i < ctx->temp_count; ++i) {
342 if (ins->dest < ctx->temp_count)
353 uint16_t *live = mem_dup(_blk->live_out, ctx->temp_count * sizeof(uint16_t));
361 if (dest < ctx->temp_count) {
362 for (unsigned i = 0; i < ctx->temp_count; ++i) {
373 for (unsigned i = 0; i < ctx->temp_count; ++i) {
378 lcra_add_node_interference(l, ctx->temp_count + j,
386 mir_liveness_ins_update(live, ins, ctx->temp_count);
[all...]
H A Dmir.c456 /* Before squashing, calculate ctx->temp_count just by observing the MIR */
461 if (ctx->temp_count)
471 ctx->temp_count = max_dest;
H A Dcompiler.h288 int temp_count; member in struct:compiler_context
H A Dmidgard_schedule.c1432 unsigned node_count = ctx->temp_count + 1;
1548 if (src >= ctx->temp_count)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/midgard/
H A Dmidgard_compile.c490 int temp_count; member in struct:compiler_context
1061 temp = ctx->temp_count++;
2132 ins->registers.src1_reg = dealias_register(ctx, g, args.src0, ctx->temp_count);
2146 ins->registers.src2_reg = dealias_register(ctx, g, args.src1, ctx->temp_count);
2149 ins->registers.out_reg = dealias_register(ctx, g, args.dest, ctx->temp_count);
2161 ins->load_store.reg = dealias_register(ctx, g, ssa_arg, ctx->temp_count);
2217 if (!ctx->temp_count)
2221 int nodes = ctx->temp_count;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_emit.c1111 unsigned temp_count = MAX2(code->num_temporaries, 1); local in function:r300_emit_vs_state
1115 unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count, 5);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_emit.c1114 unsigned temp_count = MAX2(code->num_temporaries, 1); local in function:r300_emit_vs_state
1118 unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count, 5);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.3.0.rst382 - pan/midgard: Calculate temp_count for liveness
H A D19.1.0.rst568 - panfrost/midgard: Fix RA when temp_count = 0

Completed in 31 milliseconds