Searched refs:checkedAdd (Results 1 – 4 of 4) sorted by relevance
48 checkedAdd(T LHS, T RHS) { in checkedAdd() function77 return checkedAdd(*Product, C); in checkedMulAdd()
564 std::optional<int64_t> signed_sum = llvm::checkedAdd(SInt(x), SInt(y)); in AddWithCarry()567 overflow |= !llvm::checkedAdd(*signed_sum, SInt(carry_in)); in AddWithCarry()
650 std::optional<int32_t> MaybeKey = checkedAdd(Index, SmallestKey); in insertMember()
209 std::optional<int64_t> Result = checkedAdd<int64_t>(LeftValue, RightValue); in operator +()