Home
last modified time | relevance | path

Searched refs:shiftAmt (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h197 APInt shlSlowCase(unsigned shiftAmt) const;
523 unsigned shiftAmt = numBits - hiBitsSet; in getHighBitsSet() local
526 return APInt(numBits, ~0ULL << shiftAmt); in getHighBitsSet()
527 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet()
760 APInt &operator<<=(unsigned shiftAmt) {
761 *this = shl(shiftAmt);
840 APInt ashr(unsigned shiftAmt) const;
845 APInt lshr(unsigned shiftAmt) const;
850 APInt shl(unsigned shiftAmt) const { in shl() argument
851 assert(shiftAmt <= BitWidth && "Invalid shift amount"); in shl()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1014 APInt APInt::ashr(const APInt &shiftAmt) const { in ashr()
1015 return ashr((unsigned)shiftAmt.getLimitedValue(BitWidth)); in ashr()
1020 APInt APInt::ashr(unsigned shiftAmt) const { in ashr()
1021 assert(shiftAmt <= BitWidth && "Invalid shift amount"); in ashr()
1023 if (shiftAmt == 0) in ashr()
1028 if (shiftAmt == BitWidth) in ashr()
1030 return APInt(BitWidth, SignExtend64(VAL, BitWidth) >> shiftAmt); in ashr()
1036 if (shiftAmt == BitWidth) { in ashr()
1047 unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD; // bits to shift per word in ashr()
1048 unsigned offset = shiftAmt / APINT_BITS_PER_WORD; // word offset for shift in ashr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedLoadCombinePass.cpp470 unsigned shiftAmt = C.getZExtValue(); in lshr() local
471 if (shiftAmt >= C.getBitWidth()) in lshr()
479 if (A.countTrailingZeros() < shiftAmt) in lshr()
482 incErrorMSBs(shiftAmt); in lshr()
486 A = A.lshr(shiftAmt); in lshr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h987 APInt lshr(unsigned shiftAmt) const { in lshr() argument
989 R.lshrInPlace(shiftAmt); in lshr()
1009 APInt shl(unsigned shiftAmt) const { in shl() argument
1011 R <<= shiftAmt; in shl()
1031 void ashrInPlace(const APInt &shiftAmt);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp985 void APInt::ashrInPlace(const APInt &shiftAmt) { in ashrInPlace() argument
986 ashrInPlace((unsigned)shiftAmt.getLimitedValue(BitWidth)); in ashrInPlace()
1034 void APInt::lshrInPlace(const APInt &shiftAmt) { in lshrInPlace() argument
1035 lshrInPlace((unsigned)shiftAmt.getLimitedValue(BitWidth)); in lshrInPlace()
1046 APInt &APInt::operator<<=(const APInt &shiftAmt) { in operator <<=() argument
1048 *this <<= (unsigned)shiftAmt.getLimitedValue(BitWidth); in operator <<=()