/aosp_15_r20/external/mesa3d/src/broadcom/compiler/ |
H A D | vir_live_variables.c | 152 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()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_qir_live_variables.c | 295 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()
|
H A D | vc4_qir_schedule.c | 278 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()
|
/aosp_15_r20/external/mesa3d/src/compiler/glsl/ |
H A D | serialize.cpp | 86 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 …]
|
H A D | gl_nir_link_atomics.c | 141 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()
|
H A D | gl_nir_link_xfb.c | 102 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources() 108 rzalloc_array(xfb_prog, in gl_nir_link_assign_xfb_resources()
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/ |
H A D | elk_vec4_live_variables.cpp | 234 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()
|
H A D | elk_fs_dead_code_eliminate.cpp | 82 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()
|
H A D | elk_eu.c | 325 p->store = rzalloc_array(mem_ctx, elk_inst, p->store_size); in elk_init_codegen() 342 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in elk_init_codegen() 346 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in elk_init_codegen() 347 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in elk_init_codegen()
|
H A D | elk_vec4_dead_code_eliminate.cpp | 46 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()
|
/aosp_15_r20/external/igt-gpu-tools/assembler/ |
H A D | brw_eu.c | 193 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()
|
/aosp_15_r20/external/mesa3d/src/asahi/compiler/ |
H A D | agx_opt_promote_constants.c | 84 uint64_t *values = rzalloc_array(memctx, uint64_t, ctx->alloc); in pass() 88 rzalloc_array(memctx, BITSET_WORD, BITSET_WORDS(ctx->alloc)); in pass() 116 rzalloc_array(memctx, struct constant_info *, nr_nodes); in pass()
|
H A D | agx_liveness.c | 55 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()
|
H A D | agx_spill.c | 1126 uint8_t *channels = rzalloc_array(memctx, uint8_t, ctx->alloc); in agx_spill() 1127 dist_t *next_uses = rzalloc_array(memctx, dist_t, ctx->alloc); in agx_spill() 1128 enum agx_size *sizes = rzalloc_array(memctx, enum agx_size, ctx->alloc); in agx_spill() 1129 agx_instr **remat = rzalloc_array(memctx, agx_instr *, ctx->alloc); in agx_spill() 1146 rzalloc_array(memctx, struct spill_block, ctx->num_blocks); in agx_spill()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | regalloc.c | 609 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()
|
/aosp_15_r20/external/mesa3d/src/intel/perf/i915/ |
H A D | intel_perf.c | 137 …config->flex_regs = rzalloc_array(config, struct intel_perf_query_register_prog, config->n_flex_re… in i915_perf_load_configurations() 139 …config->mux_regs = rzalloc_array(config, struct intel_perf_query_register_prog, config->n_mux_regs… in i915_perf_load_configurations() 141 …config->b_counter_regs = rzalloc_array(config, struct intel_perf_query_register_prog, config->n_b_… in i915_perf_load_configurations()
|
/aosp_15_r20/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_shader_calls.c | 94 .set = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(size)), in bitset_create() 340 rzalloc_array(fill_defs, nir_def *, remat->size); in remat_chain_ssa_def() 467 rzalloc_array(mem_ctx, nir_def *, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls() 473 rzalloc_array(mem_ctx, nir_def **, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls() 477 rzalloc_array(mem_ctx, const BITSET_WORD *, num_calls); in spill_ssa_defs_and_lower_shader_calls() 480 uint32_t *call_block_indices = rzalloc_array(mem_ctx, uint32_t, num_calls); in spill_ssa_defs_and_lower_shader_calls() 522 rzalloc_array(mem_ctx, BITSET_WORD *, num_calls); in spill_ssa_defs_and_lower_shader_calls() 657 rzalloc_array(fill_defs, nir_def *, num_calls); in spill_ssa_defs_and_lower_shader_calls() 711 .arr = rzalloc_array(mem_ctx, struct nir_phi_builder_value *, in spill_ssa_defs_and_lower_shader_calls()
|
/aosp_15_r20/external/mesa3d/src/panfrost/compiler/ |
H A D | bi_liveness.c | 55 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()
|
/aosp_15_r20/external/mesa3d/src/util/ |
H A D | u_worklist.c | 35 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()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | nir_to_rc.c | 251 state->blocks[i].def = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use() 252 state->blocks[i].defin = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use() 253 state->blocks[i].defout = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use() 254 state->blocks[i].use = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use() 255 state->blocks[i].livein = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use() 256 state->blocks[i].liveout = rzalloc_array(state->blocks, uint8_t, c->num_temps); in ntr_live_reg_setup_def_use() 331 c->liveness = rzalloc_array(c, struct ntr_reg_interval, c->num_temps); in ntr_live_regs() 334 .blocks = rzalloc_array(impl, struct ntr_live_reg_block_state, impl->num_blocks), in ntr_live_regs() 451 unsigned *released = rzalloc_array(c, BITSET_WORD, BITSET_WORDS(c->num_temps)); in ntr_allocate_regs() 2103 c->ssa_temp = rzalloc_array(c, struct ureg_src, impl->ssa_alloc); in ntr_emit_impl() [all …]
|
/aosp_15_r20/external/mesa3d/src/panfrost/util/ |
H A D | pan_liveness.c | 122 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()
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | brw_fs_dead_code_eliminate.cpp | 108 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in brw_fs_opt_dead_code_eliminate() 109 BITSET_WORD *flag_live = rzalloc_array(NULL, BITSET_WORD, 1); in brw_fs_opt_dead_code_eliminate()
|
/aosp_15_r20/external/mesa3d/src/freedreno/ir3/ |
H A D | ir3_ra_predicates.c | 445 live->live_defs = rzalloc_array(ctx, struct live_def, ctx->num_regs); in init_block_liveness() 482 live->live_in_defs = rzalloc_array(ctx, struct live_def, ctx->num_regs); in init_block_liveness() 527 rzalloc_array(ctx, struct block_liveness, ctx->liveness->block_count); in ir3_ra_predicates()
|
H A D | ir3_liveness.c | 136 rzalloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness_for() 138 rzalloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness_for()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | regalloc.c | 507 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()
|