Searched refs:sub_overflow (Results 1 – 5 of 5) sorted by relevance
| /external/llvm-libc/src/__support/ |
| D | math_extras.h | 62 [[nodiscard]] LIBC_INLINE constexpr bool sub_overflow(T a, T b, T &res) { in sub_overflow() function 116 T carry1 = sub_overflow(a, b, sub); in sub_with_borrow() 117 T carry2 = sub_overflow(sub, carry_in, sub); in sub_with_borrow()
|
| D | big_int.h | 487 LIBC_INLINE constexpr WordType sub_overflow(const BigInt &rhs) { 493 result.sub_overflow(other); // Returned carry value is ignored. 499 result.sub_overflow(other); // Returned carry value is ignored. 505 sub_overflow(other); // Returned carry value is ignored.
|
| /external/llvm-libc/test/src/__support/ |
| D | math_extras_test.cpp | 136 TYPED_TEST(LlvmLibcBlockMathExtrasTest, sub_overflow, UnsignedTypes) { in TYPED_TEST() argument 155 bool carry = sub_overflow<T>(tc.lhs, tc.rhs, sub); in TYPED_TEST()
|
| D | big_int_test.cpp | 746 uint64_t overflow = trunc.sub_overflow(hi); \
|
| /external/compiler-rt/lib/ubsan/ |
| D | ubsan_handlers.h | 51 RECOVERABLE(sub_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
|