Lines Matching defs:lhs
830 YYLTYPE loc, ir_rvalue *lhs,
844 if (state->stage == MESA_SHADER_TESS_CTRL && !lhs->type->is_error()) {
845 ir_variable *var = lhs->variable_referenced();
847 ir_rvalue *index = find_innermost_array_index(lhs);
860 if (rhs->type == lhs->type)
870 const glsl_type *lhs_t = lhs->type;
895 if (rhs->type->get_scalar_type() == lhs->type->get_scalar_type())
905 if (apply_implicit_conversion(lhs->type, rhs, state)) {
906 if (rhs->type == lhs->type)
914 rhs->type->name, lhs->type->name);
932 ir_rvalue *lhs, ir_rvalue *rhs,
938 bool error_emitted = (lhs->type->is_error() || rhs->type->is_error());
940 ir_variable *lhs_var = lhs->variable_referenced();
970 } else if (lhs->type->is_array() &&
983 } else if (!lhs->is_lvalue(state)) {
990 validate_assignment(state, lhs_loc, lhs, rhs, is_initializer);
999 if (lhs->type->is_unsized_array()) {
1000 ir_dereference *const d = lhs->as_dereference();
1015 var->type = glsl_type::get_array_instance(lhs->type->fields.array,
1019 if (lhs->type->is_array()) {
1021 mark_whole_array_access(lhs);
1048 instructions->push_tail(new(ctx) ir_assignment(lhs, deref_var));
1056 instructions->push_tail(new(ctx) ir_assignment(lhs, rhs));
4594 ir_dereference *const lhs = new(state) ir_dereference_variable(var);
4613 lhs, rhs, true);
4711 NULL, lhs, rhs,