Home
last modified time | relevance | path

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

/third_party/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()
112 memcpy(live, succ->live_in, state->bitset_words * sizeof *live); in propagate_across_edge()
137 for (unsigned i = 0; i < state->bitset_words; ++i) { in propagate_across_edge()
148 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_ssa_defs_impl()
150 state.tmp_live = rzalloc_array(impl, BITSET_WORD, state.bitset_words), in nir_live_ssa_defs_impl()
181 state.bitset_words * sizeof(BITSET_WORD)); in nir_live_ssa_defs_impl()
[all …]
/third_party/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c205 vir_live_variables_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_dataflow() argument
215 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_dataflow()
226 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_dataflow()
241 vir_live_variables_defin_defout_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_defin_defout_dataflow() argument
254 for (int i = 0; i < bitset_words; i++) { in vir_live_variables_defin_defout_dataflow()
298 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals() local
324 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
325 block->defin = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
326 block->defout = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
327 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_liveness.c40 BITSET_WORD *tmp_live, unsigned bitset_words) in compute_block_liveness() argument
43 bitset_words * sizeof(BITSET_WORD)); in compute_block_liveness()
75 bitset_words * sizeof(BITSET_WORD)); in compute_block_liveness()
80 for (unsigned j = 0; j < bitset_words; j++) { in compute_block_liveness()
141 unsigned bitset_words = BITSET_WORDS(live->definitions_count); in ir3_calc_liveness() local
142 BITSET_WORD *tmp_live = ralloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
149 rzalloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
151 rzalloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
159 compute_block_liveness(live, block, tmp_live, bitset_words); in ir3_calc_liveness()
/third_party/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()
/third_party/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()
/third_party/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()
236 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
238 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
239 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
240 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
241 block_data[i].liveout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
Dbrw_fs_copy_propagation.cpp112 int bitset_words; member in __anon1372912b0111::fs_copy_prop_dataflow
134 bitset_words = BITSET_WORDS(num_acp); in fs_copy_prop_dataflow()
138 bd[block->num].livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
139 bd[block->num].liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
140 bd[block->num].copy = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
141 bd[block->num].kill = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
142 bd[block->num].undef = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
252 for (int i = 0; i < bitset_words; i++) { in setup_initial_values()
257 for (int i = 0; i < bitset_words; i++) { in setup_initial_values()
293 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
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c42 unsigned bitset_words; member
84 for (unsigned j = 0; j < ctx->bitset_words; j++) in propagate_liveness_block()
89 memcpy(ctx->live, block->live_out, ctx->bitset_words * sizeof(BITSET_WORD)); in propagate_liveness_block()
96 for (unsigned i = 0; i < ctx->bitset_words; i++) { in propagate_liveness_block()
136 for (unsigned j = 0; j < ctx->bitset_words; j++) { in calc_liveness()
214 for (unsigned i = 0; i < ctx->bitset_words; i++) { in calc_interference()
603 ctx.bitset_words = BITSET_WORDS(comp->cur_reg); in gpir_regalloc_prog()
604 ctx.live = ralloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
612 ctx.bitset_words); in gpir_regalloc_prog()
617 block->live_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c259 unsigned bitset_words; member