Home
last modified time | relevance | path

Searched refs:bitset_words (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c228 vir_live_variables_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_dataflow() argument
238 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_dataflow()
249 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_dataflow()
264 vir_live_variables_defin_defout_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_defin_defout_dataflow() argument
277 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_defin_defout_dataflow()
321 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals() local
347 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
348 block->defin = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
349 block->defout = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
350 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_liveness.c46 unsigned bitset_words; member
62 state->bitset_words); in init_liveness_block()
63 memset(block->live_in, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
66 state->bitset_words); in init_liveness_block()
67 memset(block->live_out, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
114 memcpy(live, succ->live_in, state->bitset_words * sizeof *live); in propagate_across_edge()
139 for (unsigned i = 0; i < state->bitset_words; ++i) { in propagate_across_edge()
150 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_ssa_defs_impl()
152 state.tmp_live = rzalloc_array(impl, BITSET_WORD, state.bitset_words), in nir_live_ssa_defs_impl()
183 state.bitset_words * sizeof(BITSET_WORD)); in nir_live_ssa_defs_impl()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_liveness.c41 unsigned bitset_words; member
58 state->bitset_words); in init_liveness_block()
59 memset(block->live_in, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
62 state->bitset_words); in init_liveness_block()
63 memset(block->live_out, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
113 for (unsigned i = 0; i < state->bitset_words; ++i) { in propagate_across_edge()
165 state.bitset_words = BITSET_WORDS(state.num_defs); in etna_live_defs()
185 state.bitset_words * sizeof(BITSET_WORD)); in etna_live_defs()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c224 qir_live_variables_dataflow(struct vc4_compile *c, int bitset_words) in qir_live_variables_dataflow() argument
234 for (int i = 0; i < bitset_words; i++) { in qir_live_variables_dataflow()
245 for (int i = 0; i < bitset_words; i++) { in qir_live_variables_dataflow()
288 int bitset_words = BITSET_WORDS(c->num_temps); in qir_calculate_live_intervals() local
304 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
305 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
306 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
307 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
312 while (qir_live_variables_dataflow(c, bitset_words)) in qir_calculate_live_intervals()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp169 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
186 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
217 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
238 for (int w = 0; w < bitset_words; w++) { in compute_start_end()
294 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
296 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
297 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
298 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
299 block_data[i].liveout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
300 block_data[i].defin = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
[all …]
Dbrw_vec4_live_variables.cpp157 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
174 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
234 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
236 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
237 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
238 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
239 block_data[i].liveout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
Dbrw_fs_copy_propagation.cpp111 int bitset_words; member in __anon9822d1e10111::fs_copy_prop_dataflow
133 bitset_words = BITSET_WORDS(num_acp); in fs_copy_prop_dataflow()
137 bd[block->num].livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
138 bd[block->num].liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
139 bd[block->num].copy = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
140 bd[block->num].kill = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
141 bd[block->num].undef = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
251 for (int i = 0; i < bitset_words; i++) { in setup_initial_values()
256 for (int i = 0; i < bitset_words; i++) { in setup_initial_values()
292 for (int i = 0; i < bitset_words; i++) { in run()
[all …]
Dbrw_fs_live_variables.h113 int bitset_words; variable
Dbrw_vec4_live_variables.h82 int bitset_words; variable
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c49 unsigned bitset_words, num_nodes_and_regs; member
91 for (unsigned j = 0; j < ctx->bitset_words; j++) in propagate_liveness_block()
96 memcpy(ctx->live, block->live_out, ctx->bitset_words * sizeof(BITSET_WORD)); in propagate_liveness_block()
103 for (unsigned i = 0; i < ctx->bitset_words; i++) { in propagate_liveness_block()
143 for (unsigned j = 0; j < ctx->bitset_words; j++) { in calc_liveness()
244 for (unsigned i = 0; i < ctx->bitset_words; i++) { in calc_interference()
490 ctx.bitset_words = BITSET_WORDS(ctx.num_nodes_and_regs); in gpir_regalloc_prog()
491 ctx.live = ralloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
499 ctx.bitset_words); in gpir_regalloc_prog()
504 block->live_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_ra.c664 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_block_compute_live_ranges() local
671 bd->def = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
672 bd->use = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
673 bd->livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
674 bd->liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
781 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_compute_livein_liveout() local
788 for (unsigned i = 0; i < bitset_words; i++) { in ra_compute_livein_liveout()
811 for (unsigned i = 0; i < bitset_words; i++) { in ra_compute_livein_liveout()