/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_reorder_uniforms.c | 76 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()
|
D | vc4_opt_copy_propagation.c | 178 movs = ralloc_array(c, struct qinst *, c->num_temps); in qir_opt_copy_propagation()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_liveness.c | 142 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()
|
D | ir3_context.c | 182 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/ |
D | iris_disk_cache.c | 193 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/ |
D | crocus_disk_cache.c | 178 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/ |
D | brw_fs_live_variables.cpp | 278 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()
|
D | brw_vec4_live_variables.cpp | 224 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()
|
D | brw_fs_cse.cpp | 213 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/ |
D | nir_phi_builder.c | 102 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()
|
D | nir_lower_point_size_mov.c | 49 in->state_slots = ralloc_array(in, nir_state_slot, 1); in lower_impl()
|
D | nir_lower_patch_vertices.c | 37 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots); in make_uniform()
|
D | nir_lower_regs_to_ssa.c | 223 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()
|
D | nir_lower_alpha_test.c | 103 var->state_slots = ralloc_array(var, nir_state_slot, 1); in nir_lower_alpha_test()
|
D | nir_lower_pntc_ytransform.c | 52 var->state_slots = ralloc_array(var, nir_state_slot, 1); in get_pntc_transform()
|
D | nir_clone.c | 139 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/ |
D | gl_nir_link_uniform_blocks.c | 197 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()
|
D | ir_clone.cpp | 282 …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/ |
D | pan_perf.c | 88 perf->counter_values = ralloc_array(perf, uint32_t, perf->n_counter_values); in panfrost_perf_init()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_liveness.c | 66 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in liveness_block_update()
|
/third_party/mesa3d/src/util/ |
D | string_buffer.c | 57 str->buf = ralloc_array(str, char, str->capacity); in _mesa_string_buffer_create()
|
D | register_allocate.c | 298 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/ |
D | regalloc.c | 599 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/ |
D | bi_liveness.c | 68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count); in liveness_block_update()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_liveness.c | 83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()
|