Lines Matching refs:y

16 unsigned test_add_overflow_uint_uint_uint(unsigned x, unsigned y) {  in test_add_overflow_uint_uint_uint()  argument
25 if (__builtin_add_overflow(x, y, &r)) in test_add_overflow_uint_uint_uint()
30 int test_add_overflow_int_int_int(int x, int y) { in test_add_overflow_int_int_int() argument
39 if (__builtin_add_overflow(x, y, &r)) in test_add_overflow_int_int_int()
44 int test_add_overflow_xint31_xint31_xint31(_BitInt(31) x, _BitInt(31) y) {
53 if (__builtin_add_overflow(x, y, &r))
58 unsigned test_sub_overflow_uint_uint_uint(unsigned x, unsigned y) { in test_sub_overflow_uint_uint_uint() argument
67 if (__builtin_sub_overflow(x, y, &r)) in test_sub_overflow_uint_uint_uint()
72 int test_sub_overflow_int_int_int(int x, int y) { in test_sub_overflow_int_int_int() argument
81 if (__builtin_sub_overflow(x, y, &r)) in test_sub_overflow_int_int_int()
86 int test_sub_overflow_xint31_xint31_xint31(_BitInt(31) x, _BitInt(31) y) {
95 if (__builtin_sub_overflow(x, y, &r))
100 unsigned test_mul_overflow_uint_uint_uint(unsigned x, unsigned y) { in test_mul_overflow_uint_uint_uint() argument
109 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_uint_uint_uint()
114 int test_mul_overflow_uint_uint_int(unsigned x, unsigned y) { in test_mul_overflow_uint_uint_int() argument
124 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_uint_uint_int()
129 int test_mul_overflow_uint_uint_int_volatile(unsigned x, unsigned y) { in test_mul_overflow_uint_uint_int_volatile() argument
139 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_uint_uint_int_volatile()
144 long test_mul_overflow_ulong_ulong_long(unsigned long x, unsigned long y) { in test_mul_overflow_ulong_ulong_long() argument
154 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_ulong_ulong_long()
159 int test_mul_overflow_int_int_int(int x, int y) { in test_mul_overflow_int_int_int() argument
168 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_int_int_int()
173 int test_mul_overflow_xint31_xint31_xint31(_BitInt(31) x, _BitInt(31) y) {
182 if (__builtin_mul_overflow(x, y, &r))
187 int test_mul_overflow_xint127_xint127_xint127(_BitInt(127) x, _BitInt(127) y) {
196 if (__builtin_mul_overflow(x, y, &r))
201 int test_mul_overflow_xint128_xint128_xint128(_BitInt(128) x, _BitInt(128) y) {
210 if (__builtin_mul_overflow(x, y, &r))
215 int test_add_overflow_uint_int_int(unsigned x, int y) { in test_add_overflow_uint_int_int() argument
229 if (__builtin_add_overflow(x, y, &r)) in test_add_overflow_uint_int_int()
234 _Bool test_add_overflow_uint_uint_bool(unsigned x, unsigned y) { in test_add_overflow_uint_uint_bool() argument
248 if (__builtin_add_overflow(x, y, &r)) in test_add_overflow_uint_uint_bool()
253 unsigned test_add_overflow_bool_bool_uint(_Bool x, _Bool y) { in test_add_overflow_bool_bool_uint() argument
263 if (__builtin_add_overflow(x, y, &r)) in test_add_overflow_bool_bool_uint()
268 _Bool test_add_overflow_bool_bool_bool(_Bool x, _Bool y) { in test_add_overflow_bool_bool_bool() argument
277 if (__builtin_add_overflow(x, y, &r)) in test_add_overflow_bool_bool_bool()
282 int test_add_overflow_volatile(int x, int y) { in test_add_overflow_volatile() argument
290 if (__builtin_add_overflow(x, y, &result)) in test_add_overflow_volatile()
295 unsigned test_uadd_overflow(unsigned x, unsigned y) { in test_uadd_overflow() argument
299 if (__builtin_uadd_overflow(x, y, &result)) in test_uadd_overflow()
304 unsigned long test_uaddl_overflow(unsigned long x, unsigned long y) { in test_uaddl_overflow() argument
308 if (__builtin_uaddl_overflow(x, y, &result)) in test_uaddl_overflow()
313 unsigned long long test_uaddll_overflow(unsigned long long x, unsigned long long y) { in test_uaddll_overflow() argument
317 if (__builtin_uaddll_overflow(x, y, &result)) in test_uaddll_overflow()
322 unsigned test_usub_overflow(unsigned x, unsigned y) { in test_usub_overflow() argument
326 if (__builtin_usub_overflow(x, y, &result)) in test_usub_overflow()
331 unsigned long test_usubl_overflow(unsigned long x, unsigned long y) { in test_usubl_overflow() argument
335 if (__builtin_usubl_overflow(x, y, &result)) in test_usubl_overflow()
340 unsigned long long test_usubll_overflow(unsigned long long x, unsigned long long y) { in test_usubll_overflow() argument
344 if (__builtin_usubll_overflow(x, y, &result)) in test_usubll_overflow()
349 unsigned test_umul_overflow(unsigned x, unsigned y) { in test_umul_overflow() argument
353 if (__builtin_umul_overflow(x, y, &result)) in test_umul_overflow()
358 unsigned long test_umull_overflow(unsigned long x, unsigned long y) { in test_umull_overflow() argument
362 if (__builtin_umull_overflow(x, y, &result)) in test_umull_overflow()
367 unsigned long long test_umulll_overflow(unsigned long long x, unsigned long long y) { in test_umulll_overflow() argument
371 if (__builtin_umulll_overflow(x, y, &result)) in test_umulll_overflow()
376 int test_sadd_overflow(int x, int y) { in test_sadd_overflow() argument
380 if (__builtin_sadd_overflow(x, y, &result)) in test_sadd_overflow()
385 long test_saddl_overflow(long x, long y) { in test_saddl_overflow() argument
389 if (__builtin_saddl_overflow(x, y, &result)) in test_saddl_overflow()
394 long long test_saddll_overflow(long long x, long long y) { in test_saddll_overflow() argument
398 if (__builtin_saddll_overflow(x, y, &result)) in test_saddll_overflow()
403 int test_ssub_overflow(int x, int y) { in test_ssub_overflow() argument
407 if (__builtin_ssub_overflow(x, y, &result)) in test_ssub_overflow()
412 long test_ssubl_overflow(long x, long y) { in test_ssubl_overflow() argument
416 if (__builtin_ssubl_overflow(x, y, &result)) in test_ssubl_overflow()
421 long long test_ssubll_overflow(long long x, long long y) { in test_ssubll_overflow() argument
425 if (__builtin_ssubll_overflow(x, y, &result)) in test_ssubll_overflow()
430 int test_smul_overflow(int x, int y) { in test_smul_overflow() argument
434 if (__builtin_smul_overflow(x, y, &result)) in test_smul_overflow()
439 long test_smull_overflow(long x, long y) { in test_smull_overflow() argument
443 if (__builtin_smull_overflow(x, y, &result)) in test_smull_overflow()
448 long long test_smulll_overflow(long long x, long long y) { in test_smulll_overflow() argument
452 if (__builtin_smulll_overflow(x, y, &result)) in test_smulll_overflow()
457 int test_mixed_sign_mul_overflow_sext_signed_op(int x, unsigned long long y) { in test_mixed_sign_mul_overflow_sext_signed_op() argument
462 if (__builtin_mul_overflow(x, y, &result)) in test_mixed_sign_mul_overflow_sext_signed_op()
467 int test_mixed_sign_mul_overflow_zext_unsigned_op(long long x, unsigned y) { in test_mixed_sign_mul_overflow_zext_unsigned_op() argument
473 if (__builtin_mul_overflow(x, y, &result)) in test_mixed_sign_mul_overflow_zext_unsigned_op()
478 int test_mixed_sign_mull_overflow(int x, unsigned y) { in test_mixed_sign_mull_overflow() argument
496 if (__builtin_mul_overflow(x, y, &result)) in test_mixed_sign_mull_overflow()
501 int test_mixed_sign_mull_overflow_unsigned(int x, unsigned y) { in test_mixed_sign_mull_overflow_unsigned() argument
518 if (__builtin_mul_overflow(x, y, &result)) in test_mixed_sign_mull_overflow_unsigned()
523 int test_mixed_sign_mull_overflow_swapped(int x, unsigned y) { in test_mixed_sign_mull_overflow_swapped() argument
528 if (__builtin_mul_overflow(y, x, &result)) in test_mixed_sign_mull_overflow_swapped()
533 long long test_mixed_sign_mulll_overflow(long long x, unsigned long long y) { in test_mixed_sign_mulll_overflow() argument
538 if (__builtin_mul_overflow(x, y, &result)) in test_mixed_sign_mulll_overflow()
543 long long test_mixed_sign_mulll_overflow_swapped(long long x, unsigned long long y) { in test_mixed_sign_mulll_overflow_swapped() argument
548 if (__builtin_mul_overflow(y, x, &result)) in test_mixed_sign_mulll_overflow_swapped()
553 long long test_mixed_sign_mulll_overflow_trunc_signed(long long x, unsigned long long y) { in test_mixed_sign_mulll_overflow_trunc_signed() argument
560 if (__builtin_mul_overflow(y, x, &result)) in test_mixed_sign_mulll_overflow_trunc_signed()
565 long long test_mixed_sign_mulll_overflow_trunc_unsigned(long long x, unsigned long long y) { in test_mixed_sign_mulll_overflow_trunc_unsigned() argument
578 if (__builtin_mul_overflow(y, x, &result)) in test_mixed_sign_mulll_overflow_trunc_unsigned()
583 long long test_mixed_sign_mul_overflow_extend_signed(int x, unsigned y) { in test_mixed_sign_mul_overflow_extend_signed() argument
587 if (__builtin_mul_overflow(y, x, &result)) in test_mixed_sign_mul_overflow_extend_signed()
592 long long test_mixed_sign_mul_overflow_extend_unsigned(int x, unsigned y) { in test_mixed_sign_mul_overflow_extend_unsigned() argument
596 if (__builtin_mul_overflow(y, x, &result)) in test_mixed_sign_mul_overflow_extend_unsigned()