ΒΆtemplate <typename T>
typename std::enable_if<
    std::is_unsigned<T>::value,
    llvm::Optional<T>>::type
checkedMulAddUnsigned(T A, T B, T C)

Description

Multiply unsigned integers A and B, and add C to the resulting product.

Declared at: llvm/include/llvm/Support/CheckedArithmetic.h:104

Templates

T

Parameters

T A
T B
T C

Returns

Optional of result if no unsigned overflow occurred,\c None otherwise.