Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp985 static unsigned rotateModulo(unsigned BitWidth, const APInt &rotateAmt) { in rotateModulo() argument
986 unsigned rotBitWidth = rotateAmt.getBitWidth(); in rotateModulo()
987 APInt rot = rotateAmt; in rotateModulo()
991 rot = rotateAmt.zext(BitWidth); in rotateModulo()
997 APInt APInt::rotl(const APInt &rotateAmt) const { in rotl()
998 return rotl(rotateModulo(BitWidth, rotateAmt)); in rotl()
1001 APInt APInt::rotl(unsigned rotateAmt) const { in rotl()
1002 rotateAmt %= BitWidth; in rotl()
1003 if (rotateAmt == 0) in rotl()
1005 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl()
[all …]
/external/llvm/lib/Support/
DAPInt.cpp1273 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()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1247 APInt APInt::rotl(const APInt &rotateAmt) const { in rotl()
1248 return rotl((unsigned)rotateAmt.getLimitedValue(BitWidth)); in rotl()
1251 APInt APInt::rotl(unsigned rotateAmt) const { in rotl()
1252 rotateAmt %= BitWidth; in rotl()
1253 if (rotateAmt == 0) in rotl()
1255 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl()
1258 APInt APInt::rotr(const APInt &rotateAmt) const { in rotr()
1259 return rotr((unsigned)rotateAmt.getLimitedValue(BitWidth)); in rotr()
1262 APInt APInt::rotr(unsigned rotateAmt) const { in rotr()
1263 rotateAmt %= BitWidth; in rotr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp1327 APInt APInt::rotl(const APInt &rotateAmt) const { in rotl()
1328 return rotl((unsigned)rotateAmt.getLimitedValue(BitWidth)); in rotl()
1331 APInt APInt::rotl(unsigned rotateAmt) const { in rotl()
1332 if (rotateAmt == 0) in rotl()
1337 hi.shl(rotateAmt); in rotl()
1338 lo.lshr(BitWidth - rotateAmt); in rotl()
1342 APInt APInt::rotr(const APInt &rotateAmt) const { in rotr()
1343 return rotr((unsigned)rotateAmt.getLimitedValue(BitWidth)); in rotr()
1346 APInt APInt::rotr(unsigned rotateAmt) const { in rotr()
1347 if (rotateAmt == 0) in rotr()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h885 APInt LLVM_ATTRIBUTE_UNUSED_RESULT rotl(unsigned rotateAmt) const;
888 APInt LLVM_ATTRIBUTE_UNUSED_RESULT rotr(unsigned rotateAmt) const;
906 APInt LLVM_ATTRIBUTE_UNUSED_RESULT rotl(const APInt &rotateAmt) const;
909 APInt LLVM_ATTRIBUTE_UNUSED_RESULT rotr(const APInt &rotateAmt) const;
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h735 APInt rotl(unsigned rotateAmt) const;
738 APInt rotr(unsigned rotateAmt) const;
753 APInt rotl(const APInt &rotateAmt) const;
756 APInt rotr(const APInt &rotateAmt) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h861 APInt rotl(unsigned rotateAmt) const;
864 APInt rotr(unsigned rotateAmt) const;
882 APInt rotl(const APInt &rotateAmt) const;
885 APInt rotr(const APInt &rotateAmt) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h999 APInt rotl(unsigned rotateAmt) const;
1002 APInt rotr(unsigned rotateAmt) const;
1038 APInt rotl(const APInt &rotateAmt) const;
1041 APInt rotr(const APInt &rotateAmt) const;