Lines Matching refs:ralloc_ctx
36 dxil_module_init(struct dxil_module *m, void *ralloc_ctx)
38 assert(ralloc_ctx);
41 m->ralloc_ctx = ralloc_ctx;
55 m->functions = rzalloc(ralloc_ctx, struct rb_tree);
339 struct dxil_type *ret = rzalloc_size(m->ralloc_ctx,
1529 struct dxil_const *ret = ralloc_size(m->ralloc_ctx,
1735 ralloc_array(m->ralloc_ctx, struct dxil_value *, num_values);
1805 struct dxil_gvar *gvar = ralloc_size(m->ralloc_ctx,
1811 gvar->name = ralloc_strdup(m->ralloc_ctx, name);
1850 struct dxil_func *func = ralloc_size(m->ralloc_ctx,
1875 struct dxil_func_def *def = ralloc_size(m->ralloc_ctx, sizeof(struct dxil_func_def));
1885 def->basic_block_ids = rzalloc_array(m->ralloc_ctx, int,
1916 as = ralloc_size(m->ralloc_ctx, sizeof(struct attrib_set));
2124 uint64_t *value_ids = ralloc_array(m->ralloc_ctx, uint64_t, num_values);
2288 struct dxil_mdnode *ret = rzalloc_size(m->ralloc_ctx,
2449 struct dxil_named_node *n = ralloc_size(m->ralloc_ctx,
2598 struct dxil_instr *ret = ralloc_size(m->ralloc_ctx,