Lines Matching defs:ShAmt
1958 APInt APInt::sshl_ov(const APInt &ShAmt, bool &Overflow) const {
1959 return sshl_ov(ShAmt.getLimitedValue(getBitWidth()), Overflow);
1962 APInt APInt::sshl_ov(unsigned ShAmt, bool &Overflow) const {
1963 Overflow = ShAmt >= getBitWidth();
1968 Overflow = ShAmt >= countl_zero();
1970 Overflow = ShAmt >= countl_one();
1972 return *this << ShAmt;
1975 APInt APInt::ushl_ov(const APInt &ShAmt, bool &Overflow) const {
1976 return ushl_ov(ShAmt.getLimitedValue(getBitWidth()), Overflow);
1979 APInt APInt::ushl_ov(unsigned ShAmt, bool &Overflow) const {
1980 Overflow = ShAmt >= getBitWidth();
1984 Overflow = ShAmt > countl_zero();
1986 return *this << ShAmt;