llvm::APInt::ushl_ov

ushl_ov overloads

Synopses

Declared in <llvm/ADT/APInt.h>

Unsigned left shift by a bit count that records overflow.

APInt
ushl_ov(
    unsigned int Amt,
    bool& Overflow) const;
» more...

Unsigned left shift that records whether the result overflowed.

APInt
ushl_ov(
    APInt const& Amt,
    bool& Overflow) const;
» more...

Return Value

*this shifted left by Amt with unsigned overflow detection.

Parameters

NameDescription
AmtShift amount in bits
OverflowSet to true if the operation overflowed