/external/mesa3d/src/compiler/glsl/ |
D | lower_tess_level.cpp | 120 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()
|
D | ir_builder.cpp | 51 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()
|
D | lower_blend_equation_advanced.cpp | 56 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()
|
D | lower_distance.cpp | 169 *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()
|
D | opt_constant_folding.cpp | 104 (*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()
|
D | opt_if_simplification.cpp | 88 ir->condition->constant_expression_value(ralloc_parent(ir)); in visit_leave() 120 ir->condition = new(ralloc_parent(ir->condition)) in visit_leave()
|
D | opt_function_inlining.cpp | 85 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()
|
D | lower_subroutine.cpp | 65 void *mem_ctx = ralloc_parent(call); in call_clone() 85 void *mem_ctx = ralloc_parent(ir); in visit_leave()
|
D | lower_variable_index_to_cond_assign.cpp | 140 *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()
|
D | lower_int64.cpp | 142 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()
|
D | lower_vec_index_to_cond_assign.cpp | 154 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()
|
D | lower_vector_derefs.cpp | 78 void *mem_ctx = ralloc_parent(ir); in visit_enter() 190 void *mem_ctx = ralloc_parent(deref); in handle_rvalue()
|
D | loop_unroll.cpp | 104 !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()
|
D | lower_vec_index_to_swizzle.cpp | 66 void *mem_ctx = ralloc_parent(expr); in handle_rvalue()
|
D | opt_conditional_discard.cpp | 78 void *ctx = ralloc_parent(ir); in visit_leave()
|
D | ir_expression_flattening.cpp | 75 void *ctx = ralloc_parent(ir); in handle_rvalue()
|
D | lower_precision.cpp | 727 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()
|
D | lower_offset_array.cpp | 64 void *mem_ctx = ralloc_parent(ir); in handle_rvalue()
|
D | lower_texture_projection.cpp | 62 void *mem_ctx = ralloc_parent(ir); in visit_leave()
|
D | lower_ubo_reference.cpp | 347 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()
|
D | lower_shared_reference.cpp | 138 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()
|
D | lower_discard.cpp | 176 void *mem_ctx = ralloc_parent(ir); in visit_leave()
|
/external/mesa3d/src/util/ |
D | ralloc.c | 212 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/ |
D | nir_control_flow.c | 188 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/ |
D | vc4_cl.c | 47 cl->base = reralloc(ralloc_parent(cl->base), cl->base, uint8_t, size); in cl_ensure_space()
|