Home
last modified time | relevance | path

Searched refs:ralloc_parent (Results 1 – 25 of 71) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dlower_tess_level.cpp120 new_tess_level_outer_var = ir->clone(ralloc_parent(ir), NULL); in visit()
137 new_tess_level_inner_var = ir->clone(ralloc_parent(ir), NULL); in visit()
216 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_tess_level_array()
238 void *mem_ctx = ralloc_parent(array_deref); in handle_rvalue()
254 void *mem_ctx = ralloc_parent(ir); in fix_lhs()
315 void *ctx = ralloc_parent(ir); in visit_leave()
385 void *ctx = ralloc_parent(ir); in visit_leave()
Dir_builder.cpp51 void *mem_ctx = ralloc_parent(lhs.val); in assign()
82 void *mem_ctx = ralloc_parent(retval.val); in ret()
89 void *mem_ctx = ralloc_parent(a.val); in swizzle()
102 void *mem_ctx = ralloc_parent(a.val); in swizzle_for_size()
183 void *mem_ctx = ralloc_parent(a.val); in expr()
191 void *mem_ctx = ralloc_parent(a.val); in expr()
199 void *mem_ctx = ralloc_parent(a.val); in expr()
614 void *mem_ctx = ralloc_parent(a.val); in bitfield_insert()
625 void *mem_ctx = ralloc_parent(condition.val); in if_tree()
640 void *mem_ctx = ralloc_parent(condition.val); in if_tree()
Dlower_blend_equation_advanced.cpp56 void *mem_ctx = ralloc_parent(src); in blend_overlay()
84 void *mem_ctx = ralloc_parent(src); in blend_colordodge()
99 void *mem_ctx = ralloc_parent(src); in blend_colorburn()
114 void *mem_ctx = ralloc_parent(src); in blend_hardlight()
128 void *mem_ctx = ralloc_parent(src); in blend_softlight()
164 void *mem_ctx = ralloc_parent(src); in blend_exclusion()
191 void *mem_ctx = ralloc_parent(c); in lumv3()
272 return equal(mode, new(ralloc_parent(mode)) ir_constant(unsigned(q))); in is_mode()
433 void *mem_ctx = ralloc_parent(var); in deref_output()
474 void *mem_ctx = ralloc_parent(sh->ir); in lower_blend_equation_advanced()
Dlower_distance.cpp169 *new_var = ir->clone(ralloc_parent(ir), NULL); in visit()
229 void *ctx = ralloc_parent(old_index); in create_indices()
351 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_distance_vec8()
357 return new(ralloc_parent(ir)) in lower_distance_vec8()
384 void *mem_ctx = ralloc_parent(array_deref); in handle_rvalue()
402 void *mem_ctx = ralloc_parent(ir); in fix_lhs()
456 void *ctx = ralloc_parent(ir); in visit_leave()
532 void *ctx = ralloc_parent(ir); in visit_leave()
Dopt_constant_folding.cpp104 (*rvalue)->constant_expression_value(ralloc_parent(*rvalue)); in ir_constant_fold()
193 ir_constant *const_val = ir->constant_expression_value(ralloc_parent(ir)); in visit_enter()
197 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dopt_if_simplification.cpp88 ir->condition->constant_expression_value(ralloc_parent(ir)); in visit_leave()
120 ir->condition = new(ralloc_parent(ir->condition)) in visit_leave()
Dopt_function_inlining.cpp85 void *ctx = ralloc_parent(ir); in replace_return_with_assignment()
116 void *ctx = ralloc_parent(deref); in visit_enter()
149 void *ctx = ralloc_parent(this); in generate_inline()
377 *deref = this->repl->clone(ralloc_parent(*deref), NULL); in replace_deref()
Dlower_subroutine.cpp65 void *mem_ctx = ralloc_parent(call); in call_clone()
85 void *mem_ctx = ralloc_parent(ir); in visit_leave()
Dlower_variable_index_to_cond_assign.cpp140 *rvalue = this->value->clone(ralloc_parent(*rvalue), NULL); in handle_rvalue()
237 this->mem_ctx = ralloc_parent(index); in switch_generator()
433 void *const mem_ctx = ralloc_parent(base_ir); in convert_dereference_array()
515 *pir = new(ralloc_parent(base_ir)) ir_dereference_variable(var); in handle_rvalue()
Dlower_int64.cpp142 void *const mem_ctx = ralloc_parent(first_inst); in lower_64bit_integer_instructions()
250 void *const mem_ctx = ralloc_parent(compacted_result); in compact_destination()
262 void *const mem_ctx = ralloc_parent(ir); in lower_op_to_function_call()
Dlower_vec_index_to_cond_assign.cpp154 return convert_vec_index_to_cond_assign(ralloc_parent(ir), in convert_vector_extract_to_cond_assign()
163 return convert_vec_index_to_cond_assign(ralloc_parent(ir), in convert_vector_extract_to_cond_assign()
Dlower_vector_derefs.cpp78 void *mem_ctx = ralloc_parent(ir); in visit_enter()
190 void *mem_ctx = ralloc_parent(deref); in handle_rvalue()
Dloop_unroll.cpp104 !ir->array_index->constant_expression_value(ralloc_parent(ir))) { in visit_enter()
180 void *const mem_ctx = ralloc_parent(ir); in simple_unroll()
287 void *const mem_ctx = ralloc_parent(ir); in complex_unroll()
Dlower_vec_index_to_swizzle.cpp66 void *mem_ctx = ralloc_parent(expr); in handle_rvalue()
Dopt_conditional_discard.cpp78 void *ctx = ralloc_parent(ir); in visit_leave()
Dir_expression_flattening.cpp75 void *ctx = ralloc_parent(ir); in handle_rvalue()
Dlower_precision.cpp727 void *mem_ctx = ralloc_parent(ir); in convert_precision()
1039 var->constant_value->clone(ralloc_parent(var), NULL); in visit()
1048 var->constant_initializer->clone(ralloc_parent(var), NULL); in visit()
1081 void *mem_ctx = ralloc_parent(lhs); in convert_split_assignment()
1193 void *mem_ctx = ralloc_parent(ir); in visit_enter()
1260 void *mem_ctx = ralloc_parent(ir); in handle_rvalue()
1281 void *mem_ctx = ralloc_parent(ir); in visit_enter()
Dlower_offset_array.cpp64 void *mem_ctx = ralloc_parent(ir); in handle_rvalue()
Dlower_texture_projection.cpp62 void *mem_ctx = ralloc_parent(ir); in visit_leave()
Dlower_ubo_reference.cpp347 void *mem_ctx = ralloc_parent(shader->ir); in handle_rvalue()
745 void *mem_ctx = ralloc_parent(*rvalue); in process_ssbo_unsized_array_length()
811 void *mem_ctx = ralloc_parent(shader->ir); in check_for_ssbo_store()
864 void *mem_ctx = ralloc_parent(shader->ir); in check_for_buffer_array_copy()
912 void *mem_ctx = ralloc_parent(shader->ir); in check_for_buffer_struct_copy()
984 void *mem_ctx = ralloc_parent(shader->ir); in lower_ssbo_atomic_intrinsic()
Dlower_shared_reference.cpp138 void *mem_ctx = ralloc_parent(shader->ir); in handle_rvalue()
199 void *mem_ctx = ralloc_parent(shader->ir); in handle_assignment()
366 void *mem_ctx = ralloc_parent(shader->ir); in lower_shared_atomic_intrinsic()
Dlower_discard.cpp176 void *mem_ctx = ralloc_parent(ir); in visit_leave()
/external/mesa3d/src/util/
Dralloc.c212 assert(ralloc_parent(ptr) == ctx); in reralloc_size()
222 assert(ralloc_parent(ptr) == ctx); in rerzalloc_size()
364 ralloc_parent(const void *ptr) in ralloc_parent() function
613 void *ralloc_parent; /* new buffers will use this */ member
663 node->ralloc_parent = ralloc_ctx; in create_linear_node()
686 new_node = create_linear_node(latest->ralloc_parent, size); in linear_alloc_child()
775 node->ralloc_parent = new_ralloc_ctx; in ralloc_steal_linear_parent()
785 return node->ralloc_parent; in ralloc_parent_of_linear_parent()
/external/mesa3d/src/compiler/nir/
Dnir_control_flow.c188 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_beginning()
239 nir_ssa_undef_instr_create(ralloc_parent(phi), in nir_insert_phi_undef()
329 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_end()
616 void *mem_ctx = ralloc_parent(impl); in replace_ssa_def_uses()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_cl.c47 cl->base = reralloc(ralloc_parent(cl->base), cl->base, uint8_t, size); in cl_ensure_space()

123