Searched refs:signed_sum (Results 1 – 2 of 2) sorted by relevance
574 llvm::Optional<int64_t> signed_sum = llvm::checkedAdd(SInt(x), SInt(y)); in AddWithCarry() local575 bool overflow = !signed_sum; in AddWithCarry()577 overflow |= !llvm::checkedAdd(*signed_sum, SInt(carry_in)); in AddWithCarry()
14175 int64_t signed_sum = (int32_t)x + (int32_t)y + (int32_t)carry_in; in AddWithCarry() local14179 overflow = ((int32_t)result == signed_sum ? 0 : 1); in AddWithCarry()