Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DAPInt.h532 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument
533 assert(loBitsSet <= numBits && "Too many bits to set!"); in getLowBitsSet()
535 if (loBitsSet == 0) in getLowBitsSet()
537 if (loBitsSet == APINT_BITS_PER_WORD) in getLowBitsSet()
540 if (loBitsSet <= APINT_BITS_PER_WORD) in getLowBitsSet()
541 return APInt(numBits, UINT64_MAX >> (APINT_BITS_PER_WORD - loBitsSet)); in getLowBitsSet()
542 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()