Home
last modified time | relevance | path

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

12345

/external/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c228 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/
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()
/external/mesa3d/src/freedreno/ir3/
Dir3_liveness.c129 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()
Dir3_reconvergence.c119 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/
Delk_vec4_reg_allocate.cpp46 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()
Delk_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()
Delk_fs_cse.cpp213 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()
Delk_fs_reg_allocate.cpp50 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/
Dnir_lower_const_arrays_to_uniforms.c103 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()
Dnir_phi_builder.c101 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()
Dnir_clone.c135 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/
Dcrocus_disk_cache.c178 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/
Du_printf.c332 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()
Dstring_buffer.c57 str->buf = ralloc_array(str, char, str->capacity); in _mesa_string_buffer_create()
Dregister_allocate.c108 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/
Dv3d_disk_cache.c162 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/
Dralloc.h140 #define ralloc_array(ctx, type, count) \ macro
Dralloc.c306 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/
Dbi_liveness.c88 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in bi_compute_liveness_ssa()
/external/mesa3d/src/panfrost/perf/
Dpan_perf.c105 perf->counter_values = ralloc_array(perf, uint32_t, perf->n_counter_values); in panfrost_perf_init()
/external/mesa3d/src/asahi/compiler/
Dagx_liveness.c82 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in agx_compute_liveness()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c604 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/
Dpan_liveness.c82 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()
/external/mesa3d/src/compiler/glsl/
Dir_clone.cpp275 …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()

12345