Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPInt.cpp1057 static unsigned rotateModulo(unsigned BitWidth, const APInt &rotateAmt) { in rotateModulo() argument
1058 unsigned rotBitWidth = rotateAmt.getBitWidth(); in rotateModulo()
1059 APInt rot = rotateAmt; in rotateModulo()
1063 rot = rotateAmt.zext(BitWidth); in rotateModulo()
1069 APInt APInt::rotl(const APInt &rotateAmt) const { in rotl()
1070 return rotl(rotateModulo(BitWidth, rotateAmt)); in rotl()
1073 APInt APInt::rotl(unsigned rotateAmt) const { in rotl()
1074 rotateAmt %= BitWidth; in rotl()
1075 if (rotateAmt == 0) in rotl()
1077 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPInt.h1016 APInt rotl(unsigned rotateAmt) const;
1019 APInt rotr(unsigned rotateAmt) const;
1055 APInt rotl(const APInt &rotateAmt) const;
1058 APInt rotr(const APInt &rotateAmt) const;