Searched refs:rotateAmt (Results 1 – 2 of 2) sorted by relevance
1093 static unsigned rotateModulo(unsigned BitWidth, const APInt &rotateAmt) { in rotateModulo() argument1096 unsigned rotBitWidth = rotateAmt.getBitWidth(); in rotateModulo()1097 APInt rot = rotateAmt; in rotateModulo()1101 rot = rotateAmt.zext(BitWidth); in rotateModulo()1107 APInt APInt::rotl(const APInt &rotateAmt) const { in rotl()1108 return rotl(rotateModulo(BitWidth, rotateAmt)); in rotl()1111 APInt APInt::rotl(unsigned rotateAmt) const { in rotl()1114 rotateAmt %= BitWidth; in rotl()1115 if (rotateAmt == 0) in rotl()1117 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl()[all …]
880 APInt rotl(unsigned rotateAmt) const;883 APInt rotr(unsigned rotateAmt) const;919 APInt rotl(const APInt &rotateAmt) const;922 APInt rotr(const APInt &rotateAmt) const;