/external/mesa3d/src/glsl/ |
D | lower_ubo_reference.cpp | 52 void emit_ubo_loads(ir_dereference *deref, ir_variable *base_offset, 76 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue() local 77 if (!deref) in handle_rvalue() 80 ir_variable *var = deref->variable_referenced(); in handle_rvalue() 96 while (deref) { in handle_rvalue() 97 switch (deref->ir_type) { in handle_rvalue() 100 deref = NULL; in handle_rvalue() 105 ir_dereference_array *deref_array = (ir_dereference_array *)deref; in handle_rvalue() 127 deref = deref_array->array->as_dereference(); in handle_rvalue() 132 ir_dereference_record *deref_record = (ir_dereference_record *)deref; in handle_rvalue() [all …]
|
D | opt_function_inlining.cpp | 40 ir_dereference *deref); 182 ir_dereference *deref = param->as_dereference(); in generate_inline() local 184 assert(deref); in generate_inline() 185 do_sampler_replacement(&new_instructions, sig_param, deref); in generate_inline() 281 ir_sampler_replacement_visitor(ir_variable *sampler, ir_dereference *deref) in ir_sampler_replacement_visitor() argument 284 this->deref = deref; in ir_sampler_replacement_visitor() 296 void replace_deref(ir_dereference **deref); 300 ir_dereference *deref; member in ir_sampler_replacement_visitor 304 ir_sampler_replacement_visitor::replace_deref(ir_dereference **deref) in replace_deref() argument 306 ir_dereference_variable *deref_var = (*deref)->as_dereference_variable(); in replace_deref() [all …]
|
D | lower_vec_index_to_swizzle.cpp | 64 ir_dereference_array *deref = ir->as_dereference_array(); in convert_vec_index_to_swizzle() local 67 if (!deref) in convert_vec_index_to_swizzle() 70 if (deref->array->type->is_matrix() || deref->array->type->is_array()) in convert_vec_index_to_swizzle() 73 assert(deref->array_index->type->base_type == GLSL_TYPE_INT); in convert_vec_index_to_swizzle() 74 ir_constant = deref->array_index->constant_expression_value(); in convert_vec_index_to_swizzle() 96 (deref->array->type->vector_elements - 1)); in convert_vec_index_to_swizzle() 98 return new(ctx) ir_swizzle(deref->array, i, 0, 0, 0, 1); in convert_vec_index_to_swizzle()
|
D | lower_vec_index_to_cond_assign.cpp | 73 ir_dereference *deref; in convert_vec_index_to_cond_assign() local 94 deref = new(base_ir) ir_dereference_variable(index); in convert_vec_index_to_cond_assign() 95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL); in convert_vec_index_to_cond_assign() 123 deref = new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign() 124 assign = new(base_ir) ir_assignment(deref, swizzle, condition_swizzle); in convert_vec_index_to_cond_assign() 165 ir_dereference_variable *deref; in visit_leave() local 191 deref = new(ir) ir_dereference_variable(index); in visit_leave() 192 assign = new(ir) ir_assignment(deref, orig_deref->array_index, NULL); in visit_leave() 199 deref = new(ir) ir_dereference_variable(var); in visit_leave() 200 assign = new(ir) ir_assignment(deref, ir->rhs, NULL); in visit_leave() [all …]
|
D | lower_texture_projection.cpp | 63 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() local 68 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, expr, NULL); in visit_leave() 71 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 75 deref); in visit_leave() 78 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 82 deref); in visit_leave()
|
D | opt_array_splitting.cpp | 176 ir_dereference_variable *deref = ir->array->as_dereference_variable(); in visit_enter() local 177 if (!deref) in visit_enter() 180 variable_entry *entry = this->get_variable_entry(deref->var); in visit_enter() 257 void split_deref(ir_dereference **deref); 280 ir_array_splitting_visitor::split_deref(ir_dereference **deref) in split_deref() argument 282 ir_dereference_array *deref_array = (*deref)->as_dereference_array(); in split_deref() 299 *deref = new(entry->mem_ctx) in split_deref() 312 *deref = new(entry->mem_ctx) ir_dereference_variable(temp); in split_deref() 322 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue() local 324 if (!deref) in handle_rvalue() [all …]
|
D | lower_variable_index_to_cond_assign.cpp | 162 : deref(NULL) in find_variable_index() 171 this->deref = ir; in visit_enter() 181 ir_dereference_array *deref; member in find_variable_index 300 ir_dereference_variable *deref = in bisect() local 305 deref, middle_c); in bisect() 349 bool storage_type_needs_lowering(ir_dereference_array *deref) const in storage_type_needs_lowering() 357 const ir_variable *const var = deref->array->variable_referenced(); in storage_type_needs_lowering() 380 bool needs_lowering(ir_dereference_array *deref) const in needs_lowering() 382 if (deref == NULL || deref->array_index->as_constant() in needs_lowering() 383 || !is_array_or_matrix(deref->array)) in needs_lowering() [all …]
|
D | opt_constant_propagation.cpp | 145 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); in handle_rvalue() local 146 if (!deref) { in handle_rvalue() 151 deref = swiz->val->as_dereference_variable(); in handle_rvalue() 152 if (!deref) in handle_rvalue() 177 if (entry->var == deref->var && entry->write_mask & (1 << channel)) { in handle_rvalue() 213 *rvalue = new(ralloc_parent(deref)) ir_constant(type, &data); in handle_rvalue() 440 ir_dereference_variable *deref = ir->lhs->as_dereference_variable(); in add_constant() local 443 if (!deref || !constant) in add_constant() 449 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar()) in add_constant() 452 entry = new(this->mem_ctx) acp_entry(deref->var, ir->write_mask, constant); in add_constant()
|
D | ir_builder.h | 57 class deref { 59 deref(ir_dereference *val) in deref() function 64 deref(ir_variable *var) in deref() function 83 ir_assignment *assign(deref lhs, operand rhs); 84 ir_assignment *assign(deref lhs, operand rhs, int writemask);
|
D | opt_structure_splitting.cpp | 201 void split_deref(ir_dereference **deref); 227 ir_structure_splitting_visitor::split_deref(ir_dereference **deref) in split_deref() argument 229 if ((*deref)->ir_type != ir_type_dereference_record) in split_deref() 232 ir_dereference_record *deref_record = (ir_dereference_record *)*deref; in split_deref() 249 *deref = new(entry->mem_ctx) ir_dereference_variable(entry->components[i]); in split_deref() 258 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue() local 260 if (!deref) in handle_rvalue() 263 split_deref(&deref); in handle_rvalue() 264 *rvalue = deref; in handle_rvalue()
|
D | opt_tree_grafting.cpp | 99 ir_dereference_variable *deref = ir->as_dereference_variable(); in dereferences_variable_callback() local 101 if (deref && deref->var == info->var) in dereferences_variable_callback() 124 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); in do_graft() local 126 if (!deref || deref->var != this->graft_var) in do_graft()
|
D | lower_clip_distance.cpp | 291 ir_dereference_variable *deref = actual_param->as_dereference_variable(); in visit_leave() local 292 if (deref && deref->var == this->old_clip_distance_var) { in visit_leave()
|
D | lower_mat_op_to_vec.cpp | 326 ir_dereference *deref = orig_expr->operands[i]->as_dereference(); in visit_leave() local 329 if (deref && in visit_leave() 330 deref->variable_referenced() != result->variable_referenced()) { in visit_leave() 331 op[i] = deref; in visit_leave()
|
D | opt_dead_code_local.cpp | 102 ir_dereference_variable *deref = ir->val->as_dereference_variable(); in visit() local 103 if (!deref) in visit() 112 kill_channels(deref->var, used); in visit()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_cubemap_normalize.cpp | 62 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() local 63 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, ir->coordinate, in visit_leave() 67 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 68 ir_rvalue *swiz0 = new(mem_ctx) ir_swizzle(deref, 0, 0, 0, 0, 1); in visit_leave() 69 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 70 ir_rvalue *swiz1 = new(mem_ctx) ir_swizzle(deref, 1, 0, 0, 0, 1); in visit_leave() 71 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 72 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1); in visit_leave() 91 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 94 deref, in visit_leave()
|
D | brw_fs_channel_expressions.cpp | 105 ir_dereference *deref; in get_element() local 111 deref = new(mem_ctx) ir_dereference_variable(var); in get_element() 112 return new(mem_ctx) ir_swizzle(deref, elem, 0, 0, 0, 1); in get_element() 161 ir_dereference *deref; in visit_leave() local 170 deref = new(mem_ctx) ir_dereference_variable(op_var[i]); in visit_leave() 171 assign = new(mem_ctx) ir_assignment(deref, in visit_leave()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineInstrBundle.h | 131 MachineOperand &deref() const { return *OpI; } in deref() function 215 MachineOperand &operator* () const { return deref(); } 216 MachineOperand *operator->() const { return &deref(); } 225 const MachineOperand &operator* () const { return deref(); } 226 const MachineOperand *operator->() const { return &deref(); } 235 MachineOperand &operator* () const { return deref(); } 236 MachineOperand *operator->() const { return &deref(); } 246 const MachineOperand &operator* () const { return deref(); } 247 const MachineOperand *operator->() const { return &deref(); }
|
/external/opencv/cv/src/ |
D | _cvkdtree.hpp | 76 __deref deref; // requires operator() (__valuetype lhs,int dim) member in CvKDTree 93 mean += deref(ctor(*k), j); in dimension_of_highest_variance() 97 accum_type diff = accum_type(deref(ctor(*k), j)) - mean; in dimension_of_highest_variance() 129 __deref deref; member 132 : pivot(_pivot), dim(_dim), deref(_deref), ctor(_ctor) { in median_pr() 135 return deref(ctor(lhs), dim) <= deref(ctor(pivot), dim); in operator ()() 147 (last[-1], dim, deref, ctor)); in median_partition() 167 for (; split != last && deref(ctor(*split), dim) == in insert() 168 deref(ctor(*median), dim); ++split); in insert() 189 n.boundary = deref(ctor(*median), dim); in insert() [all …]
|
D | cvkdtree.cpp | 57 struct deref { struct 62 deref(CvMat* _mat) : mat(_mat) { in deref() argument 73 { typedef CvKDTree<int, deref<float, CV_32F> > tree_type; c; break; } \ 75 { typedef CvKDTree<int, deref<double, CV_64F> > tree_type; c; break; } \
|
/external/llvm/test/Transforms/ArgumentPromotion/ |
D | 2008-02-01-ReturnAttrs.ll | 3 ; CHECK: define internal i32 @deref(i32 %x.val) #0 { 4 define internal i32 @deref(i32* %x) nounwind { 14 ; CHECK: %tmp1 = call i32 @deref(i32 %x_addr.val) [[NUW:#[0-9]+]] 15 %tmp1 = call i32 @deref( i32* %x_addr ) nounwind
|
/external/lldb/source/DataFormatters/ |
D | LibCxxMap.cpp | 276 ValueObjectSP deref; in GetDataType() local 278 deref = m_root_node->Dereference(error); in GetDataType() 279 if (!deref || error.Fail()) in GetDataType() 281 deref = deref->GetChildMemberWithName(ConstString("__value_"), true); in GetDataType() 282 if (!deref) in GetDataType() 284 m_element_type = deref->GetClangType(); in GetDataType()
|
/external/clang/test/CodeGenCXX/ |
D | vtable-available-externally.cpp | 79 p->deref(); in ~RefPtr() 90 virtual void deref();
|
/external/llvm/test/Transforms/InstCombine/ |
D | gc.relocate.ll | 12 define i32 addrspace(1)* @deref(i32 addrspace(1)* dereferenceable(8) %dparam) gc "statepoint-exampl… 14 ; CHECK-LABEL: @deref
|
/external/lldb/source/Target/ |
D | StackFrame.cpp | 560 bool deref = false; in GetValueForVariableExpressionPath() local 575 deref = true; in GetValueForVariableExpressionPath() 762 if (valobj_sp->GetClangType().IsPointerToScalarType() && deref) in GetValueForVariableExpressionPath() 778 deref = false; in GetValueForVariableExpressionPath() 780 else if (valobj_sp->GetClangType().IsArrayOfScalarType() && deref) in GetValueForVariableExpressionPath() 797 deref = false; in GetValueForVariableExpressionPath() 964 if (valobj_sp->GetClangType().IsPointerToScalarType() && deref) in GetValueForVariableExpressionPath() 980 deref = false; in GetValueForVariableExpressionPath() 982 … else if (valobj_sp->GetClangType().IsArrayOfScalarType() && deref) in GetValueForVariableExpressionPath() 999 deref = false; in GetValueForVariableExpressionPath() [all …]
|
/external/clang/test/SemaTemplate/ |
D | virtual-member-functions.cpp | 135 ~RefPtr() { m_ptr->deref(); } in ~RefPtr() 158 …~RefPtr() { m_ptr->deref(); } // expected-error {{member access into incomplete type 'vtable_uses… in ~RefPtr()
|