Home
last modified time | relevance | path

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

123

/external/mesa3d/src/compiler/glsl/
Dlower_tess_level.cpp119 new_tess_level_outer_var = ir->clone(ralloc_parent(ir), NULL); in visit()
136 new_tess_level_inner_var = ir->clone(ralloc_parent(ir), NULL); in visit()
215 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_tess_level_array()
237 void *mem_ctx = ralloc_parent(array_deref); in handle_rvalue()
253 void *mem_ctx = ralloc_parent(ir); in fix_lhs()
314 void *ctx = ralloc_parent(ir); in visit_leave()
384 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.cpp55 void *mem_ctx = ralloc_parent(src); in blend_overlay()
83 void *mem_ctx = ralloc_parent(src); in blend_colordodge()
98 void *mem_ctx = ralloc_parent(src); in blend_colorburn()
113 void *mem_ctx = ralloc_parent(src); in blend_hardlight()
127 void *mem_ctx = ralloc_parent(src); in blend_softlight()
163 void *mem_ctx = ralloc_parent(src); in blend_exclusion()
190 void *mem_ctx = ralloc_parent(c); in lumv3()
271 return equal(mode, new(ralloc_parent(mode)) ir_constant(unsigned(q))); in is_mode()
434 void *mem_ctx = ralloc_parent(var); in deref_output()
475 void *mem_ctx = ralloc_parent(sh->ir); in lower_blend_equation_advanced()
Dlower_distance.cpp168 *new_var = ir->clone(ralloc_parent(ir), NULL); in visit()
228 void *ctx = ralloc_parent(old_index); in create_indices()
350 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_distance_vec8()
356 return new(ralloc_parent(ir)) in lower_distance_vec8()
383 void *mem_ctx = ralloc_parent(array_deref); in handle_rvalue()
401 void *mem_ctx = ralloc_parent(ir); in fix_lhs()
455 void *ctx = ralloc_parent(ir); in visit_leave()
531 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()
137 void *ctx = ralloc_parent(this); in generate_inline()
367 *deref = this->repl->clone(ralloc_parent(*deref), NULL); in replace_deref()
Dlower_vector_derefs.cpp64 void *mem_ctx = ralloc_parent(ir); in visit_enter()
91 void *mem_ctx = ralloc_parent(deref); in handle_rvalue()
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()
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()
281 void *const mem_ctx = ralloc_parent(ir); in complex_unroll()
Dlower_noise.cpp54 *rvalue = ir_constant::zero(ralloc_parent(expr), expr->type); in handle_rvalue()
Dlower_vec_index_to_swizzle.cpp66 void *mem_ctx = ralloc_parent(expr); in handle_rvalue()
Dlower_ubo_reference.cpp344 void *mem_ctx = ralloc_parent(shader->ir); in handle_rvalue()
742 void *mem_ctx = ralloc_parent(*rvalue); in process_ssbo_unsized_array_length()
808 void *mem_ctx = ralloc_parent(shader->ir); in check_for_ssbo_store()
861 void *mem_ctx = ralloc_parent(shader->ir); in check_for_buffer_array_copy()
909 void *mem_ctx = ralloc_parent(shader->ir); in check_for_buffer_struct_copy()
980 void *mem_ctx = ralloc_parent(shader->ir); in lower_ssbo_atomic_intrinsic()
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_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_shared_reference.cpp135 void *mem_ctx = ralloc_parent(shader->ir); in handle_rvalue()
196 void *mem_ctx = ralloc_parent(shader->ir); in handle_assignment()
362 void *mem_ctx = ralloc_parent(shader->ir); in lower_shared_atomic_intrinsic()
Dlower_const_arrays_to_uniforms.cpp88 void *mem_ctx = ralloc_parent(con); in handle_rvalue()
Dir_builder.h55 void *mem_ctx = ralloc_parent(var); in operand()
75 void *mem_ctx = ralloc_parent(var); in deref()
/external/mesa3d/src/util/
Dralloc.c198 assert(ralloc_parent(ptr) == ctx); in reralloc_size()
325 ralloc_parent(const void *ptr) in ralloc_parent() function
568 void *ralloc_parent; /* new buffers will use this */ member
618 node->ralloc_parent = ralloc_ctx; in create_linear_node()
643 new_node = create_linear_node(latest->ralloc_parent, size); in linear_alloc_child()
734 node->ralloc_parent = new_ralloc_ctx; in ralloc_steal_linear_parent()
746 return node->ralloc_parent; in ralloc_parent_of_linear_parent()
/external/mesa3d/src/compiler/nir/
Dnir_control_flow.c195 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_beginning()
248 nir_ssa_undef_instr_create(ralloc_parent(phi), in insert_phi_undef()
338 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_end()
606 void *mem_ctx = ralloc_parent(impl); in replace_ssa_def_uses()

123