Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DAPInt.cpp502 if (n1 <= APINT_BITS_PER_WORD) in EqualSlowCase()
514 if (n <= APINT_BITS_PER_WORD) in EqualSlowCase()
538 if (n1 <= APINT_BITS_PER_WORD && n2 <= APINT_BITS_PER_WORD) in ult()
697 unsigned BitsInMSW = BitWidth % APINT_BITS_PER_WORD; in countLeadingZerosSlowCase()
702 BitsInMSW = APINT_BITS_PER_WORD; in countLeadingZerosSlowCase()
708 return llvm::countLeadingZeros(MSW) - (APINT_BITS_PER_WORD - BitsInMSW); in countLeadingZerosSlowCase()
713 Count += APINT_BITS_PER_WORD; in countLeadingZerosSlowCase()
724 return llvm::countLeadingOnes(VAL << (APINT_BITS_PER_WORD - BitWidth)); in countLeadingOnes()
726 unsigned highWordBits = BitWidth % APINT_BITS_PER_WORD; in countLeadingOnes()
729 highWordBits = APINT_BITS_PER_WORD; in countLeadingOnes()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h86 APINT_BITS_PER_WORD = enumerator
103 bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; } in isSingleWord()
109 return bitPosition / APINT_BITS_PER_WORD; in whichWord()
117 return bitPosition % APINT_BITS_PER_WORD; in whichBit()
138 unsigned wordBits = BitWidth % APINT_BITS_PER_WORD; in clearUnusedBits()
146 uint64_t mask = ~uint64_t(0ULL) >> (APINT_BITS_PER_WORD - wordBits); in clearUnusedBits()
340 return VAL == ~integerPart(0) >> (APINT_BITS_PER_WORD - BitWidth); in isAllOnesValue()
521 if (numBits <= APINT_BITS_PER_WORD) in getHighBitsSet()
537 if (loBitsSet == APINT_BITS_PER_WORD) in getLowBitsSet()
540 if (loBitsSet <= APINT_BITS_PER_WORD) in getLowBitsSet()
[all …]