Home
last modified time | relevance | path

Searched refs:checkedAdd (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCheckedArithmetic.h46 std::enable_if_t<std::is_signed_v<T>, std::optional<T>> checkedAdd(T LHS, in checkedAdd() function
76 return checkedAdd(*Product, C); in checkedMulAdd()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp566 std::optional<int64_t> signed_sum = llvm::checkedAdd(SInt(x), SInt(y)); in AddWithCarry()
569 overflow |= !llvm::checkedAdd(*signed_sum, SInt(carry_in)); in AddWithCarry()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h497 std::optional<int32_t> MaybeKey = checkedAdd(Index, SmallestKey); in insertMember()