Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp321 uint64_t hiMask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - hiShiftAmt); in setBitsSlowCase()
384 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - subBitWidth); in insertBits()
396 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - subBitWidth); in insertBits()
405 unsigned numWholeSubWords = subBitWidth / APINT_BITS_PER_WORD; in insertBits()
410 unsigned remainingBits = subBitWidth % APINT_BITS_PER_WORD; in insertBits()
412 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - remainingBits); in insertBits()
483 DestPtr[word] = (w0 >> loBit) | (w1 << (APINT_BITS_PER_WORD - loBit)); in extractBits()
635 Count += APINT_BITS_PER_WORD; in countLeadingZerosSlowCase()
642 unsigned Mod = BitWidth % APINT_BITS_PER_WORD; in countLeadingZerosSlowCase()
643 Count -= Mod > 0 ? APINT_BITS_PER_WORD - Mod : 0; in countLeadingZerosSlowCase()
[all …]
H A DAPFloat.cpp1521 while (bits > APInt::APINT_BITS_PER_WORD) { in tcSetLeastSignificantBits()
1523 bits -= APInt::APINT_BITS_PER_WORD; in tcSetLeastSignificantBits()
1527 dst[i++] = ~(APInt::WordType)0 >> (APInt::APINT_BITS_PER_WORD - bits); in tcSetLeastSignificantBits()
4427 ++i, CountrParts += APInt::APINT_BITS_PER_WORD) { in getExactLog2Abs()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h87 APINT_BITS_PER_WORD = APINT_WORD_SIZE * CHAR_BIT enumerator
302 bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; } in isSingleWord()
355 return U.VAL == WORDTYPE_MAX >> (APINT_BITS_PER_WORD - BitWidth); in isAllOnes()
472 return U.VAL == (WORDTYPE_MAX >> (APINT_BITS_PER_WORD - numBits)); in isMask()
819 U.VAL = SExtVAL >> (APINT_BITS_PER_WORD - 1); // Fill with sign bit. in ashrInPlace()
930 if (NewWidth <= APINT_BITS_PER_WORD) in concat()
1353 if (loBit < APINT_BITS_PER_WORD && hiBit <= APINT_BITS_PER_WORD) { in setBits()
1354 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - (hiBit - loBit)); in setBits()
1464 return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; in getNumWords()
1559 unsigned unusedBits = APINT_BITS_PER_WORD - BitWidth; in countl_zero()
[all …]
H A DAPFloat.h145 static constexpr unsigned integerPartWidth = APInt::APINT_BITS_PER_WORD;
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp124 return (BitWidth < APInt::APINT_BITS_PER_WORD) ? APInt::APINT_BITS_PER_WORD in nextAPIntBitWidth()