Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c152 rzalloc_array(c, struct partial_update_state, c->num_temps); in vir_setup_def_use()
322 c->temp_start = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
323 c->temp_end = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
331 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
332 block->defin = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
333 block->defout = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
334 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
335 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
336 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()
Dralloc.h157 #define rzalloc_array(ctx, type, count) \ macro
/external/mesa3d/src/intel/compiler/elk/
Delk_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()
Delk_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()
Delk_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()
Delk_eu.c340 p->store = rzalloc_array(mem_ctx, elk_inst, p->store_size); in elk_init_codegen()
357 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in elk_init_codegen()
361 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in elk_init_codegen()
362 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in elk_init_codegen()
/external/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.c102 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
108 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
/external/mesa3d/src/asahi/compiler/
Dagx_liveness.c55 block->live_in = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
56 block->live_out = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
/external/mesa3d/src/panfrost/compiler/
Dbi_liveness.c55 block->ssa_live_in = rzalloc_array(block, BITSET_WORD, words); in bi_compute_liveness_ssa()
56 block->ssa_live_out = rzalloc_array(block, BITSET_WORD, words); in bi_compute_liveness_ssa()
/external/mesa3d/src/util/
Du_worklist.c35 w->present = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(num_entries)); in u_worklist_init()
36 w->entries = rzalloc_array(mem_ctx, unsigned *, num_entries); in u_worklist_init()
/external/mesa3d/src/panfrost/util/
Dpan_liveness.c122 block->live_in = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
123 block->live_out = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_dead_code_eliminate.cpp84 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in brw_fs_opt_dead_code_eliminate()
85 BITSET_WORD *flag_live = rzalloc_array(NULL, BITSET_WORD, 1); in brw_fs_opt_dead_code_eliminate()
Dbrw_eu.c287 p->store = rzalloc_array(mem_ctx, brw_inst, p->store_size); in brw_init_codegen()
304 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in brw_init_codegen()
308 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
309 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
/external/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()
/external/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()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c277 … dstwrite->pImageInfo = rzalloc_array(ctx, VkDescriptorImageInfo, write->descriptorCount); in lvp_CmdPushDescriptorSet2KHR()
286 … dstwrite->pTexelBufferView = rzalloc_array(ctx, VkBufferView, write->descriptorCount); in lvp_CmdPushDescriptorSet2KHR()
297 … dstwrite->pBufferInfo = rzalloc_array(ctx, VkDescriptorBufferInfo, write->descriptorCount); in lvp_CmdPushDescriptorSet2KHR()
/external/mesa3d/src/compiler/nir/
Dnir_lower_shader_calls.c95 .set = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(size)), in bitset_create()
343 rzalloc_array(fill_defs, nir_def *, remat->size); in remat_chain_ssa_def()
470 rzalloc_array(mem_ctx, nir_def *, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls()
476 rzalloc_array(mem_ctx, nir_def **, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls()
480 rzalloc_array(mem_ctx, const BITSET_WORD *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
483 uint32_t *call_block_indices = rzalloc_array(mem_ctx, uint32_t, num_calls); in spill_ssa_defs_and_lower_shader_calls()
525 rzalloc_array(mem_ctx, BITSET_WORD *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
660 rzalloc_array(fill_defs, nir_def *, num_calls); in spill_ssa_defs_and_lower_shader_calls()
714 .arr = rzalloc_array(mem_ctx, struct nir_phi_builder_value *, in spill_ssa_defs_and_lower_shader_calls()
/external/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()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dnir_to_rc.c267 state->blocks[i].def = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use()
268 state->blocks[i].defin = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use()
269 state->blocks[i].defout = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use()
270 state->blocks[i].use = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use()
271 state->blocks[i].livein = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use()
272 state->blocks[i].liveout = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use()
347 c->liveness = rzalloc_array(c, struct ntr_reg_interval, c->num_temps); in ntr_live_regs()
350 .blocks = rzalloc_array(impl, struct ntr_live_reg_block_state, impl->num_blocks), in ntr_live_regs()
467 unsigned *released = rzalloc_array(c, BITSET_WORD, BITSET_WORDS(c->num_temps)); in ntr_allocate_regs()
2129 c->ssa_temp = rzalloc_array(c, struct ureg_src, impl->ssa_alloc); in ntr_emit_impl()
[all …]

1234