Home
last modified time | relevance | path

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

12

/external/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp259 var_from_vgrf = rzalloc_array(mem_ctx, int, num_vgrfs); in fs_live_variables()
265 vgrf_from_var = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
273 end = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
279 block_data= rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_live_variables()
283 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
284 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
285 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
286 block_data[i].liveout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
287 block_data[i].defin = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
288 block_data[i].defout = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in fs_live_variables()
Dbrw_vec4_live_variables.cpp190 block_data = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in vec4_live_variables()
194 block_data[i].def = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
195 block_data[i].use = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
196 block_data[i].livein = rzalloc_array(mem_ctx, BITSET_WORD, bitset_words); in vec4_live_variables()
197 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_fs_copy_propagation.cpp120 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_copy_prop_dataflow()
129 acp = rzalloc_array(mem_ctx, struct acp_entry *, num_acp); in fs_copy_prop_dataflow()
135 bd[block->num].livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
136 bd[block->num].liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
137 bd[block->num].copy = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
138 bd[block->num].kill = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
139 bd[block->num].undef = rzalloc_array(bd, BITSET_WORD, bitset_words); in fs_copy_prop_dataflow()
Dbrw_vec4_dead_code_eliminate.cpp47 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
48 BITSET_WORD *flag_live = rzalloc_array(NULL, BITSET_WORD, 1); in dead_code_eliminate()
Dbrw_eu.c306 p->store = rzalloc_array(mem_ctx, brw_inst, p->store_size); in brw_init_codegen()
323 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in brw_init_codegen()
327 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
328 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_codegen()
Dbrw_schedule_instructions.cpp444 this->reg_pressure_in = rzalloc_array(mem_ctx, int, block_count); in instruction_scheduler()
448 this->livein[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
453 this->liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
458 this->hw_liveout[i] = rzalloc_array(mem_ctx, BITSET_WORD, in instruction_scheduler()
461 this->written = rzalloc_array(mem_ctx, bool, grf_count); in instruction_scheduler()
463 this->reads_remaining = rzalloc_array(mem_ctx, int, grf_count); in instruction_scheduler()
465 this->hw_reads_remaining = rzalloc_array(mem_ctx, int, hw_reg_count); in instruction_scheduler()
/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c319 c->temp_start = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
320 c->temp_end = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals()
328 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
329 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
330 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
331 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.c309 c->temp_start = rzalloc_array(c, int, c->num_temps); in qir_calculate_live_intervals()
310 c->temp_end = rzalloc_array(c, int, c->num_temps); in qir_calculate_live_intervals()
318 block->def = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
319 block->use = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
320 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
321 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
Dvc4_qir_schedule.c299 state.last_temp_write = rzalloc_array(mem_ctx, struct schedule_node *, in calculate_forward_deps()
419 state.last_temp_write = rzalloc_array(mem_ctx, struct schedule_node *, in calculate_reverse_deps()
708 state.temp_writes = rzalloc_array(mem_ctx, uint32_t, c->num_temps); in qir_schedule_instructions_block()
709 state.temp_live = rzalloc_array(mem_ctx, BITSET_WORD, in qir_schedule_instructions_block()
/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->info.num_ubos); 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 …]
Dlink_atomics.cpp210 prog->data->AtomicBuffers = rzalloc_array(prog->data, gl_active_atomic_buffer, in link_assign_atomic_counter_resources()
230 mab.Uniforms = rzalloc_array(prog->data->AtomicBuffers, GLuint, in link_assign_atomic_counter_resources()
273 rzalloc_array(gl_prog, gl_active_atomic_buffer *, in link_assign_atomic_counter_resources()
Dlink_uniforms.cpp1363 prog->data->UniformStorage = rzalloc_array(prog->data, in link_assign_uniform_storage()
1366 data = rzalloc_array(prog->data->UniformStorage, in link_assign_uniform_storage()
1369 rzalloc_array(prog->data->UniformStorage, in link_assign_uniform_storage()
1407 rzalloc_array(shader->Program, gl_bindless_sampler, in link_assign_uniform_storage()
1418 rzalloc_array(shader->Program, gl_bindless_image, in link_assign_uniform_storage()
/external/mesa3d/src/util/
Dregister_allocate.c197 regs->regs = rzalloc_array(regs, struct ra_reg, count); in ra_alloc_reg_set()
200 regs->regs[i].conflicts = rzalloc_array(regs->regs, BITSET_WORD, in ra_alloc_reg_set()
316 class->regs = rzalloc_array(class, BITSET_WORD, BITSET_WORDS(regs->count)); in ra_alloc_reg_class()
425 g->nodes = rzalloc_array(g, struct ra_node, count); in ra_alloc_interference_graph()
428 g->stack = rzalloc_array(g, unsigned int, count); in ra_alloc_interference_graph()
432 g->nodes[i].adjacency = rzalloc_array(g, BITSET_WORD, bitset_count); in ra_alloc_interference_graph()
Dset.c123 ht->table = rzalloc_array(ht, struct set_entry, ht->size); in _mesa_set_create()
218 table = rzalloc_array(ht, struct set_entry, in set_rehash()
Dhash_table.c131 ht->table = rzalloc_array(ht, struct hash_entry, ht->size); in _mesa_hash_table_create()
270 table = rzalloc_array(ht, struct hash_entry, in _mesa_hash_table_rehash()
Dralloc.h157 #define rzalloc_array(ctx, type, count) \ macro
/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()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_ra.c138 q_values[i + off] = rzalloc_array(q_values, unsigned, total_class_count); in build_q_values()
599 ctx->instrd = rzalloc_array(NULL, struct ir3_ra_instr_data, n); in ra_init()
629 ctx->def = rzalloc_array(ctx->g, unsigned, ctx->alloc_count); in ra_init()
630 ctx->use = rzalloc_array(ctx->g, unsigned, ctx->alloc_count); in ra_init()
681 bd->def = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
682 bd->use = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
683 bd->livein = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
684 bd->liveout = rzalloc_array(bd, BITSET_WORD, bitset_words); in ra_block_compute_live_ranges()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c347 state.set[s].used = rzalloc_array(mem_ctx, BITSET_WORD, words); in anv_nir_apply_pipeline_layout()
348 state.set[s].surface_offsets = rzalloc_array(mem_ctx, uint8_t, count); in anv_nir_apply_pipeline_layout()
349 state.set[s].sampler_offsets = rzalloc_array(mem_ctx, uint8_t, count); in anv_nir_apply_pipeline_layout()
350 state.set[s].image_offsets = rzalloc_array(mem_ctx, uint8_t, count); in anv_nir_apply_pipeline_layout()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp197 stage_prog_data->param = rzalloc_array(mem_ctx, uint32_t, nr_params); in brw_nir_setup_glsl_uniforms()
224 stage_prog_data->param = rzalloc_array(mem_ctx, uint32_t, nr_params); in brw_nir_setup_arb_uniforms()
Dbrw_program.c472 brw->shader_time.names = rzalloc_array(brw, const char *, max_entries); in brw_init_shader_time()
473 brw->shader_time.ids = rzalloc_array(brw, int, max_entries); in brw_init_shader_time()
474 brw->shader_time.types = rzalloc_array(brw, enum shader_time_shader_type, in brw_init_shader_time()
476 brw->shader_time.cumulative = rzalloc_array(brw, struct shader_times, in brw_init_shader_time()
Dbrw_disk_cache.c97 prog_data->param = rzalloc_array(NULL, uint32_t, prog_data->nr_params); in read_blob_program_data()
102 prog_data->pull_param = rzalloc_array(NULL, uint32_t, in read_blob_program_data()
/external/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()
Dprogram.c376 newInst = rzalloc_array(prog, struct prog_instruction, newLen); in _mesa_insert_instructions()
426 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen); in _mesa_delete_instructions()

12