llvm::APInt::ushl_sat

ushl_sat overloads

Synopses

Declared in <llvm/ADT/APInt.h>

Unsigned left shift by a bit count with saturation.

APInt
ushl_sat(unsigned int RHS) const;
» more...

Unsigned left shift saturating to the unsigned max of the bit width.

APInt
ushl_sat(APInt const& RHS) const;
» more...

Return Value

*this shifted left by RHS with unsigned saturation.

Parameters

NameDescription
RHSShift amount in bits