Lines Matching refs:deref
176 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); in constant_propagation() local
177 if (!deref) { in constant_propagation()
182 deref = swiz->val->as_dereference_variable(); in constant_propagation()
183 if (!deref) in constant_propagation()
207 if (entry->var == deref->var && entry->write_mask & (1 << channel)) { in constant_propagation()
246 *rvalue = new(ralloc_parent(deref)) ir_constant(type, &data); in constant_propagation()
483 ir_dereference_variable *deref = ir->lhs->as_dereference_variable(); in add_constant() local
486 if (!deref || !constant) in add_constant()
492 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar()) in add_constant()
500 if (deref->var->data.mode == ir_var_shader_storage || in add_constant()
501 deref->var->data.mode == ir_var_shader_shared) in add_constant()
504 entry = new(this->lin_ctx) acp_entry(deref->var, ir->write_mask, constant); in add_constant()