Home
last modified time | relevance | path

Searched refs:ralloc_ctx (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/intel/ds/
Dintel_pps_perf.cc24 , ralloc_ctx {ralloc_context(nullptr)}
46 if (ralloc_ctx) { in ~IntelPerf()
47 ralloc_free(ralloc_ctx); in ~IntelPerf()
86 ctx = intel_perf_new_context(ralloc_ctx); in open()
Dintel_pps_perf.h36 void *ralloc_ctx = nullptr; variable
/third_party/mesa3d/src/util/
Dralloc.c597 create_linear_node(void *ralloc_ctx, unsigned min_size) in create_linear_node() argument
606 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node()
615 node->ralloc_parent = ralloc_ctx; in create_linear_node()
657 linear_alloc_parent(void *ralloc_ctx, unsigned size) in linear_alloc_parent() argument
661 if (unlikely(!ralloc_ctx)) in linear_alloc_parent()
666 node = create_linear_node(ralloc_ctx, size); in linear_alloc_parent()
Dralloc.h549 void *linear_alloc_parent(void *ralloc_ctx, unsigned size);
559 void *linear_zalloc_parent(void *ralloc_ctx, unsigned size);
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dpp.c225 glcpp_preprocess(void *ralloc_ctx, const char **shader, char **info_log, in glcpp_preprocess() argument
250 ralloc_steal(ralloc_ctx, parser->output->buf); in glcpp_preprocess()
Dglcpp.h247 glcpp_preprocess(void *ralloc_ctx, const char **shader, char **info_log,
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_module.c36 dxil_module_init(struct dxil_module *m, void *ralloc_ctx) in dxil_module_init() argument
38 assert(ralloc_ctx); in dxil_module_init()
41 m->ralloc_ctx = ralloc_ctx; in dxil_module_init()
55 m->functions = rzalloc(ralloc_ctx, struct rb_tree); in dxil_module_init()
339 struct dxil_type *ret = rzalloc_size(m->ralloc_ctx, in create_type()
1529 struct dxil_const *ret = ralloc_size(m->ralloc_ctx, in create_const()
1735 ralloc_array(m->ralloc_ctx, struct dxil_value *, num_values); in dxil_module_get_array_const()
1805 struct dxil_gvar *gvar = ralloc_size(m->ralloc_ctx, in add_gvar()
1811 gvar->name = ralloc_strdup(m->ralloc_ctx, name); in add_gvar()
1850 struct dxil_func *func = ralloc_size(m->ralloc_ctx, in add_function()
[all …]
Ddxil_module.h176 void *ralloc_ctx; member
247 dxil_module_init(struct dxil_module *m, void *ralloc_ctx);
Dnir_to_dxil.c448 void *ralloc_ctx; member
1166 uint32_t *const_ints = ralloc_array(ctx->ralloc_ctx, uint32_t, num_members); in emit_global_consts()
1170 ralloc_array(ctx->ralloc_ctx, const struct dxil_value *, num_members); in emit_global_consts()
5340 ctx->defs = rzalloc_array(ctx->ralloc_ctx, struct dxil_def, impl->ssa_alloc); in emit_function()
5345 ctx->phis = _mesa_pointer_hash_table_create(ctx->ralloc_ctx); in emit_function()
5452 ctx->consts = _mesa_pointer_hash_table_create(ctx->ralloc_ctx); in emit_module()
5835 ctx->ralloc_ctx = ralloc_context(NULL); in nir_to_dxil()
5836 if (!ctx->ralloc_ctx) { in nir_to_dxil()
5841 util_dynarray_init(&ctx->srv_metadata_nodes, ctx->ralloc_ctx); in nir_to_dxil()
5842 util_dynarray_init(&ctx->uav_metadata_nodes, ctx->ralloc_ctx); in nir_to_dxil()
[all …]
Ddxil_signature.c553 rec->name = ralloc_strdup(mod->ralloc_ctx, semantic->name); in fill_io_signature()
762 mod->sem_string_table = _mesa_string_buffer_create(mod->ralloc_ctx, 1024); in preprocess_signatures()