Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCheckedArithmetic.h48 checkedAdd(T LHS, T RHS) { in checkedAdd() function
77 return checkedAdd(*Product, C); in checkedMulAdd()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp564 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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DVectorUtils.h650 std::optional<int32_t> MaybeKey = checkedAdd(Index, SmallestKey); in insertMember()
/openbsd-src/gnu/llvm/llvm/lib/FileCheck/
H A DFileCheck.cpp209 std::optional<int64_t> Result = checkedAdd<int64_t>(LeftValue, RightValue); in operator +()