Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_liveness.c47 unsigned bitset_words; member
73 state->bitset_words); in init_liveness_block()
74 memset(block->live_in, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
77 state->bitset_words); in init_liveness_block()
78 memset(block->live_out, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
124 NIR_VLA(BITSET_WORD, live, state->bitset_words); in propagate_across_edge()
125 memcpy(live, succ->live_in, state->bitset_words * sizeof *live); in propagate_across_edge()
150 for (unsigned i = 0; i < state->bitset_words; ++i) { in propagate_across_edge()
178 state.bitset_words = BITSET_WORDS(state.num_ssa_defs); in nir_live_ssa_defs_impl()
198 state.bitset_words * sizeof(BITSET_WORD)); in nir_live_ssa_defs_impl()
/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c248 vir_live_variables_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_dataflow() argument
258 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_dataflow()
269 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_dataflow()
312 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals() local
328 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
329 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
330 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
331 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
336 while (vir_live_variables_dataflow(c, bitset_words)) in vir_calculate_live_intervals()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c238 qir_live_variables_dataflow(struct vc4_compile *c, int bitset_words) in qir_live_variables_dataflow() argument
248 for (int i = 0; i < bitset_words; i++) { in qir_live_variables_dataflow()
259 for (int i = 0; i < bitset_words; i++) { in qir_live_variables_dataflow()
302 int bitset_words = BITSET_WORDS(c->num_temps); in qir_calculate_live_intervals() local
318 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
319 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
320 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
321 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
326 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()
281 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
283 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
284 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
285 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
286 block_data[i].liveout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
287 block_data[i].defin = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
288 block_data[i].defout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
Dbrw_vec4_live_variables.cpp146 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
163 for (int i = 0; i < bitset_words; i++) { in compute_live_variables()
192 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
194 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
195 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
196 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
197 block_data[i].liveout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
Dbrw_fs_copy_propagation.cpp109 int bitset_words; member in __anon30ebc3c30111::fs_copy_prop_dataflow
131 bitset_words = BITSET_WORDS(num_acp); in fs_copy_prop_dataflow()
135 bd[block->num].livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
136 bd[block->num].liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
137 bd[block->num].copy = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
138 bd[block->num].kill = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
139 bd[block->num].undef = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
193 for (int i = 0; i < bitset_words; i++) { in setup_initial_values()
198 for (int i = 0; i < bitset_words; i++) { in setup_initial_values()
234 for (int i = 0; i < bitset_words; i++) { in run()
[all …]
Dbrw_fs_live_variables.h102 int bitset_words; variable
Dbrw_vec4_live_variables.h70 int bitset_words; variable
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_ra.c661 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_block_compute_live_ranges() local
681 bd->def = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
682 bd->use = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
683 bd->livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
684 bd->liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
828 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_compute_livein_liveout() local
835 for (unsigned i = 0; i < bitset_words; i++) { in ra_compute_livein_liveout()
855 for (unsigned i = 0; i < bitset_words; i++) { in ra_compute_livein_liveout()