/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 228 ralloc_array(NULL, uint32_t, num_system_values); in iris_disk_cache_retrieve() 239 ralloc_array(NULL, struct brw_shader_reloc, brw->num_relocs); in iris_disk_cache_retrieve() 247 brw->param = ralloc_array(NULL, uint32_t, brw->nr_params); in iris_disk_cache_retrieve() 254 ralloc_array(NULL, struct elk_shader_reloc, elk->num_relocs); in iris_disk_cache_retrieve() 262 elk->param = ralloc_array(NULL, uint32_t, elk->nr_params); in iris_disk_cache_retrieve()
|
/external/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()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_liveness.c | 129 BITSET_WORD *tmp_live = ralloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness_for() 130 live->live_in = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness_for() 131 live->live_out = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness_for()
|
D | ir3_reconvergence.c | 119 ralloc_array(mem_ctx, struct logical_edge, edge_count); in ir3_calc_reconvergence() 121 ralloc_array(mem_ctx, struct block_data, index); in ir3_calc_reconvergence()
|
/external/mesa3d/src/intel/compiler/elk/ |
D | elk_vec4_reg_allocate.cpp | 46 unsigned int *hw_reg_mapping = ralloc_array(NULL, unsigned, this->alloc.count); in reg_allocate_trivial() 116 compiler->vec4_reg_set.classes = ralloc_array(compiler, struct ra_class *, REG_CLASS_COUNT); in elk_vec4_alloc_reg_set() 177 unsigned int *hw_reg_mapping = ralloc_array(g, unsigned, alloc.count); in reg_allocate() 457 float *spill_costs = ralloc_array(NULL, float, this->alloc.count); in choose_spill_reg() 458 bool *no_spill = ralloc_array(NULL, bool, this->alloc.count); in choose_spill_reg()
|
D | elk_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 | elk_fs_cse.cpp | 213 elk_fs_reg *payload = ralloc_array(bld.shader->mem_ctx, elk_fs_reg, in create_copy_instr() 230 elk_fs_reg *payload = ralloc_array(bld.shader->mem_ctx, elk_fs_reg, sources); in create_copy_instr()
|
D | elk_fs_reg_allocate.cpp | 50 unsigned *hw_reg_mapping = ralloc_array(NULL, unsigned, this->alloc.count + 1); in assign_regs_trivial() 128 struct ra_class **classes = ralloc_array(compiler, struct ra_class *, in elk_alloc_reg_set() 331 payload_last_use_ip = ralloc_array(mem_ctx, int, payload_node_count); in elk_fs_reg_alloc() 1181 unsigned *hw_reg_mapping = ralloc_array(NULL, unsigned, fs->alloc.count); in assign_regs()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_const_arrays_to_uniforms.c | 103 ret->elements = ralloc_array(mem_ctx, nir_constant *, ret->num_elements); in rebuild_const_array_initialiser() 114 ret->elements = ralloc_array(mem_ctx, nir_constant *, ret->num_elements); in rebuild_const_array_initialiser() 248 struct var_info *var_infos = ralloc_array(NULL, struct var_info, num_locals); in nir_lower_const_arrays_to_uniforms()
|
D | nir_phi_builder.c | 101 pb->blocks = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create() 110 pb->W = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create()
|
D | nir_clone.c | 135 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone() 156 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone() 175 nvar->members = ralloc_array(nvar, struct nir_variable_data, in nir_variable_clone() 709 nfxn->params = ralloc_array(ns, nir_parameter, fxn->num_params); in nir_function_clone() 729 nfxn->subroutine_types = ralloc_array(ns, const struct glsl_type *, in nir_function_clone() 758 u_printf_info *infos = ralloc_array(mem_ctx, u_printf_info, s->printf_info_count); in clone_printf_info()
|
/external/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 178 ralloc_array(NULL, enum elk_param_builtin, num_system_values); in crocus_disk_cache_retrieve() 185 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in crocus_disk_cache_retrieve()
|
/external/mesa3d/src/util/ |
D | u_printf.c | 332 ralloc_array(mem_ctx, u_printf_info, *printf_info_count); in u_printf_deserialize_info() 338 info->arg_sizes = ralloc_array(mem_ctx, unsigned, info->num_args); in u_printf_deserialize_info() 341 info->strings = ralloc_array(mem_ctx, char, info->string_size); in u_printf_deserialize_info()
|
D | string_buffer.c | 57 str->buf = ralloc_array(str, char, str->capacity); in _mesa_string_buffer_create()
|
D | register_allocate.c | 108 list->elems = ralloc_array(regs->regs, unsigned int, list->cap); in ra_alloc_reg_set() 306 regs->classes[b]->q = ralloc_array(regs, unsigned int, regs->class_count); in ra_set_finalize() 464 regs->classes = ralloc_array(regs->regs, struct ra_class *, class_count); in ra_set_deserialize() 473 class->regs = ralloc_array(class, BITSET_WORD, BITSET_WORDS(reg_count)); in ra_set_deserialize() 480 class->q = ralloc_array(regs->classes[c], unsigned int, class_count); in ra_set_deserialize()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_disk_cache.c | 162 ralloc_array(shader->prog_data.base, enum quniform_contents, ulist_count); in v3d_disk_cache_retrieve() 166 ralloc_array(shader->prog_data.base, uint32_t, ulist_count); in v3d_disk_cache_retrieve()
|
/external/igt-gpu-tools/assembler/ |
D | ralloc.h | 140 #define ralloc_array(ctx, type, count) \ macro
|
D | ralloc.c | 306 ptr = ralloc_array(ctx, char, n + 1); in ralloc_strdup() 325 ptr = ralloc_array(ctx, char, n + 1); in ralloc_strndup()
|
/external/mesa3d/src/panfrost/compiler/ |
D | bi_liveness.c | 88 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in bi_compute_liveness_ssa()
|
/external/mesa3d/src/panfrost/perf/ |
D | pan_perf.c | 105 perf->counter_values = ralloc_array(perf, uint32_t, perf->n_counter_values); in panfrost_perf_init()
|
/external/mesa3d/src/asahi/compiler/ |
D | agx_liveness.c | 82 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in agx_compute_liveness()
|
/external/mesa3d/src/gallium/drivers/lima/ir/gp/ |
D | regalloc.c | 604 ctx.live = ralloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog() 605 ctx.worklist = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog() 606 ctx.stack = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog()
|
/external/mesa3d/src/panfrost/util/ |
D | pan_liveness.c | 82 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_clone.cpp | 275 …copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_type… in clone() 359 c->const_elements = ralloc_array(c, ir_constant *, this->type->length); in clone()
|