Home
last modified time | relevance | path

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

1234

/external/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.cpp232 block_data = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); 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_dead_code_eliminate.cpp81 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
82 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.cpp122 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_copy_prop_dataflow()
131 acp = rzalloc_array(mem_ctx, struct acp_entry *, 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()
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.cpp561 this->reg_pressure_in = rzalloc_array(mem_ctx, int, block_count); in instruction_scheduler()
565 this->livein[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
570 this->liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
575 this->hw_liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
578 this->written = rzalloc_array(mem_ctx, bool, grf_count); in instruction_scheduler()
580 this->reads_remaining = rzalloc_array(mem_ctx, int, grf_count); in instruction_scheduler()
582 this->hw_reads_remaining = rzalloc_array(mem_ctx, int, hw_reg_count); in instruction_scheduler()
/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c338 c->temp_start = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
339 c->temp_end = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
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()
351 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
352 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
/external/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()
/external/igt-gpu-tools/assembler/
Dbrw_eu.c193 p->store = rzalloc_array(mem_ctx, struct brw_instruction, p->store_size); in brw_init_compile()
211 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in brw_init_compile()
215 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_compile()
216 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_compile()
/external/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()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c225 rzalloc_array(ctx->mem_ctx, BITSET_WORD, ctx->comp->cur_index); in calc_interference()
496 ctx.registers = rzalloc_array(ctx.mem_ctx, struct reg_info, ctx.num_nodes_and_regs); in gpir_regalloc_prog()
498 ctx.registers[i].conflicts = rzalloc_array(ctx.mem_ctx, BITSET_WORD, in gpir_regalloc_prog()
504 block->live_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
505 block->live_in = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
506 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()
/external/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_phi_builder.c110 pb->work = rzalloc_array(pb, unsigned, pb->num_blocks); in nir_phi_builder_create()
279 nir_block **preds = rzalloc_array(pb, nir_block *, num_blocks); in nir_phi_builder_finish()
Dnir_liveness.c152 state.tmp_live = rzalloc_array(impl, BITSET_WORD, state.bitset_words), in nir_live_ssa_defs_impl()
322 liveness->defs = rzalloc_array(liveness, nir_liveness_bounds, in nir_live_ssa_defs_per_instr()
/external/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()
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Dregalloc.c569 block->live_in = rzalloc_array(comp, in ppir_regalloc_reset_liveness_info()
580 block->live_out = rzalloc_array(comp, in ppir_regalloc_reset_liveness_info()
593 instr->live_in = rzalloc_array(comp, in ppir_regalloc_reset_liveness_info()
604 instr->live_internal = rzalloc_array(comp, in ppir_regalloc_reset_liveness_info()
615 instr->live_out = rzalloc_array(comp, in ppir_regalloc_reset_liveness_info()
/external/mesa3d/src/freedreno/ir3/
Dir3_ra.c523 ctx->instrd = rzalloc_array(NULL, struct ir3_ra_instr_data, n); in ra_init()
583 ctx->def = rzalloc_array(ctx->g, unsigned, ctx->alloc_count); in ra_init()
584 ctx->use = rzalloc_array(ctx->g, unsigned, ctx->alloc_count); in ra_init()
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()
890 rzalloc_array(bd, BITSET_WORD, BITSET_WORDS(ctx->alloc_count)); in ra_calc_block_live_values()
/external/mesa3d/src/intel/perf/
Dgen_perf_private.h82 rzalloc_array(perf, struct gen_perf_query_counter, max_counters); in gen_perf_append_query_info()
/external/mesa3d/src/compiler/spirv/
Dnir_lower_libclc.c51 nir_ssa_def **params = rzalloc_array(b->shader, nir_ssa_def*, call->num_params); in lower_clc_call_instr()

1234