Home
last modified time | relevance | path

Searched refs:rotateAmt (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1096 unsigned rotBitWidth = rotateAmt.getBitWidth(); in rotateModulo()
1097 APInt rot = rotateAmt; in rotateModulo()
1101 rot = rotateAmt.zext(BitWidth); in rotateModulo()
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()
1124 APInt APInt::rotr(unsigned rotateAmt) const { in rotr()
1127 rotateAmt %= BitWidth; in rotr()
1128 if (rotateAmt == 0) in rotr()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h878 APInt rotl(unsigned rotateAmt) const;
881 APInt rotr(unsigned rotateAmt) const;
917 APInt rotl(const APInt &rotateAmt) const;
920 APInt rotr(const APInt &rotateAmt) const;