Home
last modified time | relevance | path

Searched refs:rzalloc_array (Results 1 – 25 of 89) 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.cpp333 p->store = rzalloc_array(mem_ctx, brw_inst, p->store_size); in brw_init_codegen()
350 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in brw_init_codegen()
354 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
355 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
Dbrw_schedule_instructions.cpp612 this->reg_pressure_in = rzalloc_array(mem_ctx, int, block_count); in instruction_scheduler()
616 this->livein[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
621 this->liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
626 this->hw_liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
629 this->written = rzalloc_array(mem_ctx, bool, grf_count); in instruction_scheduler()
631 this->reads_remaining = rzalloc_array(mem_ctx, int, grf_count); in instruction_scheduler()
633 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()
95 subs[j].types = rzalloc_array(prog, const struct glsl_type *, in read_subroutines()
170 rzalloc_array(prog->data, struct gl_uniform_buffer_variable, in read_buffer_block()
196 rzalloc_array(prog->data, struct gl_uniform_block, in read_buffer_blocks()
200 rzalloc_array(prog->data, struct gl_uniform_block, in read_buffer_blocks()
222 rzalloc_array(glprog, gl_uniform_block *, glprog->sh.NumUniformBlocks); in read_buffer_blocks()
224 rzalloc_array(glprog, gl_uniform_block *, glprog->info.num_ssbos); in read_buffer_blocks()
271 rzalloc_array(prog, gl_active_atomic_buffer, in read_atomic_buffers()
281 rzalloc_array(glprog, gl_active_atomic_buffer *, in read_atomic_buffers()
296 prog->data->AtomicBuffers[i].Uniforms = rzalloc_array(prog, unsigned, in read_atomic_buffers()
[all …]
Dgl_nir_link_atomics.c139 rzalloc_array(NULL, /* ctx */ in find_active_atomic_counters()
202 rzalloc_array(prog->data, struct gl_active_atomic_buffer, num_buffers); in gl_nir_link_assign_atomic_counter_resources()
222 mab->Uniforms = rzalloc_array(prog->data->AtomicBuffers, GLuint, in gl_nir_link_assign_atomic_counter_resources()
271 rzalloc_array(gl_prog, in gl_nir_link_assign_atomic_counter_resources()
Dgl_nir_link_xfb.c100 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
106 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
Dlink_atomics.cpp212 prog->data->AtomicBuffers = rzalloc_array(prog->data, gl_active_atomic_buffer, in link_assign_atomic_counter_resources()
232 mab.Uniforms = rzalloc_array(prog->data->AtomicBuffers, GLuint, in link_assign_atomic_counter_resources()
275 rzalloc_array(gl_prog, gl_active_atomic_buffer *, in link_assign_atomic_counter_resources()
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c109 block->live_in = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
110 block->live_out = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c115 block->live_in = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness()
116 block->live_out = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness()
/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_worklist.c38 w->blocks_present = rzalloc_array(mem_ctx, BITSET_WORD, in nir_block_worklist_init()
40 w->blocks = rzalloc_array(mem_ctx, nir_block *, num_blocks); in nir_block_worklist_init()
Dnir_lower_shader_calls.c94 .set = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(size)), in bitset_create()
331 rzalloc_array(mem_ctx, nir_ssa_def *, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls()
337 rzalloc_array(mem_ctx, nir_ssa_def **, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls()
341 rzalloc_array(mem_ctx, const BITSET_WORD *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
344 uint32_t *call_block_indices = rzalloc_array(mem_ctx, uint32_t, num_calls); in spill_ssa_defs_and_lower_shader_calls()
454 rzalloc_array(mem_ctx, nir_ssa_def *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
507 .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.c604 ctx.registers = rzalloc_array(ctx.mem_ctx, struct reg_info, comp->cur_reg); in gpir_regalloc_prog()
606 ctx.registers[i].conflicts = rzalloc_array(ctx.mem_ctx, BITSET_WORD, in gpir_regalloc_prog()
612 block->live_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
613 block->live_in = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
614 block->def_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
Dnir.c414 comp->node_for_ssa = rzalloc_array(comp, gpir_node *, num_ssa); in gpir_compiler_create()
415 comp->node_for_reg = rzalloc_array(comp, gpir_node *, num_reg); in gpir_compiler_create()
416 comp->reg_for_ssa = rzalloc_array(comp, gpir_reg *, num_ssa); in gpir_compiler_create()
417 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/intel/perf/
Dintel_perf_private.h84 rzalloc_array(perf, struct intel_perf_query_counter, max_counters); in intel_perf_append_query_info()
/third_party/mesa3d/src/compiler/spirv/
Dnir_lower_libclc.c55 nir_ssa_def **params = rzalloc_array(b->shader, nir_ssa_def*, call->num_params); in lower_clc_call_instr()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c476 brw->shader_time.names = rzalloc_array(brw, const char *, max_entries); in brw_init_shader_time()
477 brw->shader_time.ids = rzalloc_array(brw, int, max_entries); in brw_init_shader_time()
478 brw->shader_time.types = rzalloc_array(brw, enum shader_time_shader_type, in brw_init_shader_time()
480 brw->shader_time.cumulative = rzalloc_array(brw, struct shader_times, in brw_init_shader_time()

1234