Lines Matching refs:rotateAmt
1273 APInt APInt::rotl(const APInt &rotateAmt) const { in rotl()
1274 return rotl((unsigned)rotateAmt.getLimitedValue(BitWidth)); in rotl()
1277 APInt APInt::rotl(unsigned rotateAmt) const { in rotl()
1278 rotateAmt %= BitWidth; in rotl()
1279 if (rotateAmt == 0) in rotl()
1281 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl()
1284 APInt APInt::rotr(const APInt &rotateAmt) const { in rotr()
1285 return rotr((unsigned)rotateAmt.getLimitedValue(BitWidth)); in rotr()
1288 APInt APInt::rotr(unsigned rotateAmt) const { in rotr()
1289 rotateAmt %= BitWidth; in rotr()
1290 if (rotateAmt == 0) in rotr()
1292 return lshr(rotateAmt) | shl(BitWidth - rotateAmt); in rotr()