Lines Matching defs:rhs
350 types_equal(const struct dxil_type *lhs, const struct dxil_type *rhs);
354 const struct dxil_type_list *rhs)
356 if (lhs->num_types != rhs->num_types)
359 if (!types_equal(lhs->types[i], rhs->types[i]))
365 types_equal(const struct dxil_type *lhs, const struct dxil_type *rhs)
367 if (lhs == rhs)
373 if (lhs->type != rhs->type)
382 retval = lhs->float_bits == rhs->float_bits;
385 retval = lhs->int_bits == rhs->int_bits;
388 retval = types_equal(lhs->ptr_target_type, rhs->ptr_target_type);
392 retval = (lhs->array_or_vector_def.num_elems == rhs->array_or_vector_def.num_elems) &&
394 rhs->array_or_vector_def.elem_type);
398 rhs->function_def.ret_type))
400 retval = type_list_equal(&lhs->function_def.args, &rhs->function_def.args);
403 retval = type_list_equal(&lhs->struct_def.elem, &rhs->struct_def.elem);
411 const struct dxil_type *rhs)
413 return types_equal(value->type, rhs);