Home
last modified time | relevance | path

Searched refs:rzalloc_array (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c152 rzalloc_array(c, struct partial_update_state, c->num_temps); in vir_setup_def_use()
315 c->temp_start = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
316 c->temp_end = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
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()
328 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
329 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp265 var_from_vgrf = rzalloc_array(mem_ctx, int, num_vgrfs); in fs_live_variables()
271 vgrf_from_var = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
279 end = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
292 block_data = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); 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()
301 block_data[i].defout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
Dbrw_vec4_live_variables.cpp234 block_data = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); 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_dead_code_eliminate.cpp82 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
83 BITSET_WORD *flag_live = rzalloc_array(NULL, BITSET_WORD, 1); in dead_code_eliminate()
Dbrw_vec4_dead_code_eliminate.cpp46 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
47 BITSET_WORD *flag_live = rzalloc_array(NULL, BITSET_WORD, 1); in dead_code_eliminate()
Dbrw_fs_copy_propagation.cpp123 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_copy_prop_dataflow()
132 acp = rzalloc_array(mem_ctx, struct acp_entry *, 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()
Dbrw_eu.c334 p->store = rzalloc_array(mem_ctx, brw_inst, p->store_size); in brw_init_codegen()
351 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in brw_init_codegen()
355 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
356 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
Dbrw_schedule_instructions.cpp616 this->reg_pressure_in = rzalloc_array(mem_ctx, int, block_count); in instruction_scheduler()
620 this->livein[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
625 this->liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
630 this->hw_liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
633 this->written = rzalloc_array(mem_ctx, bool, grf_count); in instruction_scheduler()
635 this->reads_remaining = rzalloc_array(mem_ctx, int, grf_count); in instruction_scheduler()
637 this->hw_reads_remaining = rzalloc_array(mem_ctx, int, hw_reg_count); in instruction_scheduler()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c295 c->temp_start = rzalloc_array(c, int, c->num_temps); in qir_calculate_live_intervals()
296 c->temp_end = rzalloc_array(c, int, c->num_temps); in qir_calculate_live_intervals()
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()
Dvc4_qir_schedule.c278 state.last_temp_write = rzalloc_array(mem_ctx, struct schedule_node *, in calculate_forward_deps()
398 state.last_temp_write = rzalloc_array(mem_ctx, struct schedule_node *, in calculate_reverse_deps()
681 state->temp_writes = rzalloc_array(state, uint32_t, c->num_temps); in qir_schedule_instructions_block()
682 state->temp_live = rzalloc_array(state, BITSET_WORD, in qir_schedule_instructions_block()
/third_party/mesa3d/src/compiler/glsl/
Dserialize.cpp86 subs = rzalloc_array(prog, struct gl_subroutine_function, in read_subroutines()
96 subs[j].types = rzalloc_array(prog, const struct glsl_type *, in read_subroutines()
172 rzalloc_array(prog->data, struct gl_uniform_buffer_variable, in read_buffer_block()
198 rzalloc_array(prog->data, struct gl_uniform_block, in read_buffer_blocks()
202 rzalloc_array(prog->data, struct gl_uniform_block, in read_buffer_blocks()
224 rzalloc_array(glprog, gl_uniform_block *, glprog->sh.NumUniformBlocks); in read_buffer_blocks()
226 rzalloc_array(glprog, gl_uniform_block *, glprog->info.num_ssbos); in read_buffer_blocks()
273 rzalloc_array(prog, gl_active_atomic_buffer, in read_atomic_buffers()
283 rzalloc_array(glprog, gl_active_atomic_buffer *, in read_atomic_buffers()
298 prog->data->AtomicBuffers[i].Uniforms = rzalloc_array(prog, unsigned, in read_atomic_buffers()
[all …]
Dgl_nir_link_atomics.c141 rzalloc_array(NULL, /* ctx */ in find_active_atomic_counters()
204 rzalloc_array(prog->data, struct gl_active_atomic_buffer, num_buffers); in gl_nir_link_assign_atomic_counter_resources()
224 mab->Uniforms = rzalloc_array(prog->data->AtomicBuffers, GLuint, in gl_nir_link_assign_atomic_counter_resources()
273 rzalloc_array(gl_prog, in gl_nir_link_assign_atomic_counter_resources()
Dgl_nir_link_xfb.c103 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
109 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c106 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()
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c76 block->live_in = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
77 block->live_out = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
/third_party/mesa3d/src/util/
Du_worklist.c39 w->present = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(num_entries)); in u_worklist_init()
40 w->entries = rzalloc_array(mem_ctx, unsigned *, num_entries); in u_worklist_init()
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c128 block->live_in = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
129 block->live_out = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_shader_calls.c94 .set = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(size)), in bitset_create()
334 rzalloc_array(mem_ctx, nir_ssa_def *, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls()
340 rzalloc_array(mem_ctx, nir_ssa_def **, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls()
344 rzalloc_array(mem_ctx, const BITSET_WORD *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
347 uint32_t *call_block_indices = rzalloc_array(mem_ctx, uint32_t, num_calls); in spill_ssa_defs_and_lower_shader_calls()
457 rzalloc_array(mem_ctx, nir_ssa_def *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
510 .arr = rzalloc_array(mem_ctx, struct nir_phi_builder_value *, in spill_ssa_defs_and_lower_shader_calls()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c609 ctx.registers = rzalloc_array(ctx.mem_ctx, struct reg_info, comp->cur_reg); in gpir_regalloc_prog()
611 ctx.registers[i].conflicts = rzalloc_array(ctx.mem_ctx, BITSET_WORD, in gpir_regalloc_prog()
617 block->live_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
618 block->live_in = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
619 block->def_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
Dnir.c411 comp->node_for_ssa = rzalloc_array(comp, gpir_node *, num_ssa); in gpir_compiler_create()
412 comp->node_for_reg = rzalloc_array(comp, gpir_node *, num_reg); in gpir_compiler_create()
413 comp->reg_for_ssa = rzalloc_array(comp, gpir_reg *, num_ssa); in gpir_compiler_create()
414 comp->reg_for_reg = rzalloc_array(comp, gpir_reg *, num_reg); in gpir_compiler_create()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_liveness.c149 rzalloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
151 rzalloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
/third_party/mesa3d/src/mesa/program/
Dprogramopt.c73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in insert_mvp_dp4_code()
141 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in insert_mvp_mad_code()
273 newInst = rzalloc_array(fprog, struct prog_instruction, newLen); in _mesa_append_fog_code()
/third_party/mesa3d/src/intel/perf/
Dintel_perf_private.h84 rzalloc_array(perf, struct intel_perf_query_counter, max_counters); in intel_perf_append_query_info()
Dintel_perf_setup.h40 query->counters = rzalloc_array(query, struct intel_perf_query_counter, ncounters); in intel_query_alloc()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dregalloc.c507 instr->live_mask = rzalloc_array(comp, uint8_t, in ppir_regalloc_reset_liveness_info()
512 instr->live_set = rzalloc_array(comp, BITSET_WORD, comp->reg_num); in ppir_regalloc_reset_liveness_info()
516 instr->live_internal = rzalloc_array(comp, BITSET_WORD, comp->reg_num); in ppir_regalloc_reset_liveness_info()

1234