Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/ds/
Dintel_pps_perf.cc34 , ralloc_ctx {ralloc_context(nullptr)}
61 , ralloc_ctx {o.ralloc_ctx}
69 o.ralloc_ctx = nullptr;
78 std::swap(ralloc_ctx, o.ralloc_ctx); in operator =()
91 if (ralloc_ctx) { in ~IntelPerf()
92 ralloc_free(ralloc_ctx); in ~IntelPerf()
160 ctx = intel_perf_new_context(ralloc_ctx); in open()
Dintel_pps_perf.h47 void *ralloc_ctx = nullptr; variable
/third_party/mesa3d/src/panfrost/bifrost/test/
Dtest-scheduler-predicates.c33 void *ralloc_ctx = ralloc_context(NULL); in main() local
34 bi_builder *b = bit_builder(ralloc_ctx); in main()
87 ralloc_free(ralloc_ctx); in main()
Dtest-constant-fold.c62 void *ralloc_ctx = ralloc_context(NULL); in main() local
63 bi_builder *b = bit_builder(ralloc_ctx); in main()
122 ralloc_free(ralloc_ctx); in main()
Dtest-optimizer.c29 bi_builder *A = bit_builder(ralloc_ctx); \
30 bi_builder *B = bit_builder(ralloc_ctx); \
60 void *ralloc_ctx = ralloc_context(NULL); in main() local
266 ralloc_free(ralloc_ctx); in main()
/third_party/mesa3d/src/util/
Dralloc.c603 create_linear_node(void *ralloc_ctx, unsigned min_size) in create_linear_node() argument
612 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node()
621 node->ralloc_parent = ralloc_ctx; in create_linear_node()
663 linear_alloc_parent(void *ralloc_ctx, unsigned size) in linear_alloc_parent() argument
667 if (unlikely(!ralloc_ctx)) in linear_alloc_parent()
672 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.h246 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()
341 struct dxil_type *ret = rzalloc_size(m->ralloc_ctx, in create_type()
1520 struct dxil_const *ret = ralloc_size(m->ralloc_ctx, in create_const()
1726 ralloc_array(m->ralloc_ctx, struct dxil_value *, num_values); in dxil_module_get_array_const()
1796 struct dxil_gvar *gvar = ralloc_size(m->ralloc_ctx, in add_gvar()
1802 gvar->name = ralloc_strdup(m->ralloc_ctx, name); in add_gvar()
1841 struct dxil_func *func = ralloc_size(m->ralloc_ctx, in add_function()
[all …]
Ddxil_module.h166 void *ralloc_ctx; member
219 dxil_module_init(struct dxil_module *m, void *ralloc_ctx);
Ddxil_signature.c483 mod->inputs[num_inputs].name = ralloc_strdup(mod->ralloc_ctx, in get_input_signature_group()
579 mod->outputs[num_outputs].name = ralloc_strdup(mod->ralloc_ctx, in get_output_signature()
614 mod->sem_string_table = _mesa_string_buffer_create(mod->ralloc_ctx, 1024); in get_signatures()
Dnir_to_dxil.c402 void *ralloc_ctx; member
1067 uint32_t *const_ints = ralloc_array(ctx->ralloc_ctx, uint32_t, num_members); in emit_global_consts()
1071 ralloc_array(ctx->ralloc_ctx, const struct dxil_value *, num_members); in emit_global_consts()
4598 ctx->consts = _mesa_pointer_hash_table_create(ctx->ralloc_ctx); in emit_module()
4630 ctx->mod.basic_block_ids = rzalloc_array(ctx->ralloc_ctx, int, in emit_module()
4639 ctx->defs = rzalloc_array(ctx->ralloc_ctx, struct dxil_def, in emit_module()
4645 ctx->phis = _mesa_pointer_hash_table_create(ctx->ralloc_ctx); in emit_module()
4889 ctx->ralloc_ctx = ralloc_context(NULL); in nir_to_dxil()
4890 if (!ctx->ralloc_ctx) { in nir_to_dxil()
4895 util_dynarray_init(&ctx->srv_metadata_nodes, ctx->ralloc_ctx); in nir_to_dxil()
[all …]