Searched refs:deref (Results 1 - 25 of 48) sorted by relevance

12

/external/mesa3d/src/glsl/
H A Dlower_ubo_reference.cpp52 void emit_ubo_loads(ir_dereference *deref, ir_variable *base_offset,
76 ir_dereference *deref = (*rvalue)->as_dereference();
77 if (!deref)
80 ir_variable *var = deref->variable_referenced();
96 while (deref) {
97 switch (deref->ir_type) {
100 deref = NULL;
105 ir_dereference_array *deref_array = (ir_dereference_array *)deref;
127 deref = deref_array->array->as_dereference();
132 ir_dereference_record *deref_record = (ir_dereference_record *)deref;
205 emit_ubo_loads(ir_dereference *deref, ir_variable *base_offset, unsigned int deref_offset) argument
[all...]
H A Dlower_texture_projection.cpp63 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); local
68 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, expr, NULL);
71 deref = new(mem_ctx) ir_dereference_variable(var);
75 deref);
78 deref = new(mem_ctx) ir_dereference_variable(var);
82 deref);
H A Dopt_function_inlining.cpp40 ir_dereference *deref);
172 /* If any samplers were passed in, replace any deref of the sampler
173 * with a deref of the sampler argument.
182 ir_dereference *deref = param->as_dereference(); local
184 assert(deref);
185 do_sampler_replacement(&new_instructions, sig_param, deref);
271 * Replaces references to the "sampler" variable with a clone of "deref."
281 ir_sampler_replacement_visitor(ir_variable *sampler, ir_dereference *deref) argument
284 this->deref = deref;
300 ir_dereference *deref; member in class:ir_sampler_replacement_visitor
304 replace_deref(ir_dereference **deref) argument
365 do_sampler_replacement(exec_list *instructions, ir_variable *sampler, ir_dereference *deref) argument
[all...]
H A Dlower_vec_index_to_swizzle.cpp64 ir_dereference_array *deref = ir->as_dereference_array(); local
67 if (!deref)
70 if (deref->array->type->is_matrix() || deref->array->type->is_array())
73 assert(deref->array_index->type->base_type == GLSL_TYPE_INT);
74 ir_constant = deref->array_index->constant_expression_value();
96 (deref->array->type->vector_elements - 1));
98 return new(ctx) ir_swizzle(deref->array, i, 0, 0, 0, 1);
H A Dir_builder.h57 class deref { class in namespace:ir_builder
59 deref(ir_dereference *val) function in class:ir_builder::deref
64 deref(ir_variable *var) function in class:ir_builder::deref
83 ir_assignment *assign(deref lhs, operand rhs);
84 ir_assignment *assign(deref lhs, operand rhs, int writemask);
H A Dlower_vec_index_to_cond_assign.cpp73 ir_dereference *deref; local
94 deref = new(base_ir) ir_dereference_variable(index);
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL);
116 /* Just clone the rest of the deref chain when trying to get at the
123 deref = new(base_ir) ir_dereference_variable(var);
124 assign = new(base_ir) ir_assignment(deref, swizzle, condition_swizzle);
165 ir_dereference_variable *deref; local
191 deref = new(ir) ir_dereference_variable(index);
192 assign = new(ir) ir_assignment(deref, orig_deref->array_index, NULL);
199 deref
[all...]
H A Dopt_array_splitting.cpp176 ir_dereference_variable *deref = ir->array->as_dereference_variable(); local
177 if (!deref)
180 variable_entry *entry = this->get_variable_entry(deref->var);
257 void split_deref(ir_dereference **deref);
280 ir_array_splitting_visitor::split_deref(ir_dereference **deref) argument
282 ir_dereference_array *deref_array = (*deref)->as_dereference_array();
299 *deref = new(entry->mem_ctx)
312 *deref = new(entry->mem_ctx) ir_dereference_variable(temp);
322 ir_dereference *deref = (*rvalue)->as_dereference();
324 if (!deref)
[all...]
H A Dopt_structure_splitting.cpp201 void split_deref(ir_dereference **deref);
227 ir_structure_splitting_visitor::split_deref(ir_dereference **deref) argument
229 if ((*deref)->ir_type != ir_type_dereference_record)
232 ir_dereference_record *deref_record = (ir_dereference_record *)*deref;
249 *deref = new(entry->mem_ctx) ir_dereference_variable(entry->components[i]);
258 ir_dereference *deref = (*rvalue)->as_dereference();
260 if (!deref)
263 split_deref(&deref);
264 *rvalue = deref;
H A Dlower_variable_index_to_cond_assign.cpp162 : deref(NULL)
171 this->deref = ir;
181 ir_dereference_array *deref; member in class:find_variable_index
199 /* Just clone the rest of the deref chain when trying to get at the
300 ir_dereference_variable *deref = local
305 deref, middle_c);
349 bool storage_type_needs_lowering(ir_dereference_array *deref) const
357 const ir_variable *const var = deref->array->variable_referenced();
380 bool needs_lowering(ir_dereference_array *deref) const
382 if (deref
[all...]
H A Dopt_constant_propagation.cpp145 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); local
146 if (!deref) {
151 deref = swiz->val->as_dereference_variable();
152 if (!deref)
177 if (entry->var == deref->var && entry->write_mask & (1 << channel)) {
213 *rvalue = new(ralloc_parent(deref)) ir_constant(type, &data);
440 ir_dereference_variable *deref = ir->lhs->as_dereference_variable();
443 if (!deref || !constant)
449 if (!deref->var->type->is_vector() && !deref
[all...]
H A Dopt_tree_grafting.cpp99 ir_dereference_variable *deref = ir->as_dereference_variable(); local
101 if (deref && deref->var == info->var)
124 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable();
126 if (!deref || deref->var != this->graft_var)
367 * rest of the BB seeing if the deref is here, and if nothing interfered with
H A Dir_builder.cpp49 assign(deref lhs, operand rhs, int writemask)
61 assign(deref lhs, operand rhs)
H A Dlower_mat_op_to_vec.cpp326 ir_dereference *deref = orig_expr->operands[i]->as_dereference(); local
329 if (deref &&
330 deref->variable_referenced() != result->variable_referenced()) {
331 op[i] = deref;
344 * that others that want to use op[i] have to clone the deref.
H A Dlower_clip_distance.cpp184 * there's no way this deref can refer to it.
291 ir_dereference_variable *deref = actual_param->as_dereference_variable(); local
292 if (deref && deref->var == this->old_clip_distance_var) {
H A Dopt_dead_code_local.cpp102 ir_dereference_variable *deref = ir->val->as_dereference_variable(); local
103 if (!deref)
112 kill_channels(deref->var, used);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_cubemap_normalize.cpp62 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); local
63 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, ir->coordinate,
67 deref = new(mem_ctx) ir_dereference_variable(var);
68 ir_rvalue *swiz0 = new(mem_ctx) ir_swizzle(deref, 0, 0, 0, 0, 1);
69 deref = new(mem_ctx) ir_dereference_variable(var);
70 ir_rvalue *swiz1 = new(mem_ctx) ir_swizzle(deref, 1, 0, 0, 0, 1);
71 deref = new(mem_ctx) ir_dereference_variable(var);
72 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1);
91 deref = new(mem_ctx) ir_dereference_variable(var);
94 deref,
[all...]
H A Dbrw_fs_channel_expressions.cpp105 ir_dereference *deref; local
111 deref = new(mem_ctx) ir_dereference_variable(var);
112 return new(mem_ctx) ir_swizzle(deref, elem, 0, 0, 0, 1);
161 ir_dereference *deref; local
170 deref = new(mem_ctx) ir_dereference_variable(op_var[i]);
171 assign = new(mem_ctx) ir_assignment(deref,
/external/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h130 MachineOperand &deref() const { return *OpI; } function in class:llvm::MachineOperandIteratorBase
225 MachineOperand &operator* () const { return deref(); }
226 MachineOperand *operator->() const { return &deref(); }
235 const MachineOperand &operator* () const { return deref(); }
236 const MachineOperand *operator->() const { return &deref(); }
245 MachineOperand &operator* () const { return deref(); }
246 MachineOperand *operator->() const { return &deref(); }
256 const MachineOperand &operator* () const { return deref(); }
257 const MachineOperand *operator->() const { return &deref(); }
/external/opencv/cv/src/
H A D_cvkdtree.hpp72 scalar_type boundary; // left if deref(value,dim)<=boundary, otherwise right
76 __deref deref; // requires operator() (__valuetype lhs,int dim) member in class:CvKDTree
93 mean += deref(ctor(*k), j);
97 accum_type diff = accum_type(deref(ctor(*k), j)) - mean;
129 __deref deref; member in struct:CvKDTree::median_pr
132 : pivot(_pivot), dim(_dim), deref(_deref), ctor(_ctor) {
135 return deref(ctor(lhs), dim) <= deref(ctor(pivot), dim);
147 (last[-1], dim, deref, ctor));
167 for (; split != last && deref(cto
[all...]
H A Dcvkdtree.cpp57 struct deref { struct in struct:CvFeatureTree
62 deref(CvMat* _mat) : mat(_mat) { function in struct:CvFeatureTree::deref
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/clang/test/SemaTemplate/
H A Dvirtual-member-functions.cpp135 ~RefPtr() { m_ptr->deref(); }
158 ~RefPtr() { m_ptr->deref(); } // expected-error {{member access into incomplete type 'vtable_uses_incomplete::DeclaredOnly'}}
/external/libcxx/test/support/
H A Ddebug_mode_helper.h267 CHECKPOINT("testing deref end iterator");
/external/clang/test/CodeGenCXX/
H A Dvtable-available-externally.cpp89 p->deref();
100 virtual void deref();
/external/vulkan-validation-layers/
H A Dvulkan.py53 deref = self.ty if level else ""
55 idx = deref.rfind("[")
57 idx = deref.rfind("*")
59 deref = ""
61 deref = deref[:idx]
64 return deref.rstrip()
/external/jsoncpp/include/json/
H A Dvalue.h945 Value& deref() const;
1021 reference operator*() const { return deref(); }
1023 pointer operator->() const { return &deref(); }
1077 reference operator*() const { return deref(); }
1079 pointer operator->() const { return &deref(); }

Completed in 5609 milliseconds

12