Home
last modified time | relevance | path

Searched refs:ralloc_array (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_reorder_uniforms.c76 uint32_t *uniform_data = ralloc_array(c, uint32_t, next_uniform); in qir_reorder_uniforms()
78 ralloc_array(c, enum quniform_contents, next_uniform); in qir_reorder_uniforms()
Dvc4_opt_copy_propagation.c178 movs = ralloc_array(c, struct qinst *, c->num_temps); in qir_opt_copy_propagation()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_liveness.c142 BITSET_WORD *tmp_live = ralloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
143 live->live_in = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
144 live->live_out = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
Dir3_context.c182 ralloc_array(ctx->def_ht, struct ir3_instruction *, n); in ir3_get_dst_ssa()
195 value = ralloc_array(ctx, struct ir3_instruction *, n); in ir3_get_dst()
222 ralloc_array(ctx, struct ir3_instruction *, num_components); in ir3_get_src()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c193 ralloc_array(NULL, enum brw_param_builtin, num_system_values); in iris_disk_cache_retrieve()
203 ralloc_array(NULL, struct brw_shader_reloc, prog_data->num_relocs); in iris_disk_cache_retrieve()
214 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in iris_disk_cache_retrieve()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c178 ralloc_array(NULL, enum brw_param_builtin, num_system_values); in crocus_disk_cache_retrieve()
188 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in crocus_disk_cache_retrieve()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp278 start = ralloc_array(mem_ctx, int, num_vars); in fs_live_variables()
285 vgrf_start = ralloc_array(mem_ctx, int, num_vgrfs); in fs_live_variables()
286 vgrf_end = ralloc_array(mem_ctx, int, num_vgrfs); in fs_live_variables()
Dbrw_vec4_live_variables.cpp224 start = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
225 end = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
Dbrw_fs_cse.cpp213 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, in create_copy_instr()
230 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, sources); in create_copy_instr()
/third_party/mesa3d/src/compiler/nir/
Dnir_phi_builder.c102 pb->blocks = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create()
111 pb->W = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create()
Dnir_lower_point_size_mov.c49 in->state_slots = ralloc_array(in, nir_state_slot, 1); in lower_impl()
Dnir_lower_patch_vertices.c37 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots); in make_uniform()
Dnir_lower_regs_to_ssa.c223 state.values = ralloc_array(dead_ctx, struct nir_phi_builder_value *, in nir_lower_regs_to_ssa_impl()
229 BITSET_WORD *defs = ralloc_array(dead_ctx, BITSET_WORD, block_set_words); in nir_lower_regs_to_ssa_impl()
Dnir_lower_alpha_test.c103 var->state_slots = ralloc_array(var, nir_state_slot, 1); in nir_lower_alpha_test()
Dnir_lower_pntc_ytransform.c52 var->state_slots = ralloc_array(var, nir_state_slot, 1); in get_pntc_transform()
Dnir_clone.c139 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone()
160 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
172 nvar->members = ralloc_array(nvar, struct nir_variable_data, in nir_variable_clone()
716 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c197 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()
617 ralloc_array(linked, struct gl_uniform_block *, num_ubo_blocks); in gl_nir_link_uniform_blocks()
633 ralloc_array(linked, struct gl_uniform_block *, num_ssbo_blocks); in gl_nir_link_uniform_blocks()
Dir_clone.cpp282 …copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_type… in clone()
365 c->const_elements = ralloc_array(c, ir_constant *, this->type->length); in clone()
/third_party/mesa3d/src/panfrost/perf/
Dpan_perf.c88 perf->counter_values = ralloc_array(perf, uint32_t, perf->n_counter_values); in panfrost_perf_init()
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c66 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in liveness_block_update()
/third_party/mesa3d/src/util/
Dstring_buffer.c57 str->buf = ralloc_array(str, char, str->capacity); in _mesa_string_buffer_create()
Dregister_allocate.c298 regs->classes[b]->q = ralloc_array(regs, unsigned int, regs->class_count); in ra_set_finalize()
451 regs->classes = ralloc_array(regs->regs, struct ra_class *, class_count); in ra_set_deserialize()
460 class->regs = ralloc_array(class, BITSET_WORD, BITSET_WORDS(reg_count)); in ra_set_deserialize()
467 class->q = ralloc_array(regs->classes[c], unsigned int, class_count); in ra_set_deserialize()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c599 ctx.live = ralloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
600 ctx.worklist = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog()
601 ctx.stack = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count); in liveness_block_update()
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()

12345