Home
last modified time | relevance | path

Searched refs:loBitsSet (Results 1 – 4 of 4) 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()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h536 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument
537 assert(loBitsSet <= numBits && "Too many bits to set!"); in getLowBitsSet()
539 if (loBitsSet == 0) in getLowBitsSet()
541 if (loBitsSet == APINT_BITS_PER_WORD) in getLowBitsSet()
544 if (loBitsSet <= APINT_BITS_PER_WORD) in getLowBitsSet()
545 return APInt(numBits, UINT64_MAX >> (APINT_BITS_PER_WORD - loBitsSet)); in getLowBitsSet()
546 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h492 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument
493 assert(loBitsSet <= numBits && "Too many bits to set!"); in getLowBitsSet()
495 if (loBitsSet == 0) in getLowBitsSet()
497 if (loBitsSet == APINT_BITS_PER_WORD) in getLowBitsSet()
501 return APInt(numBits, (1ULL << loBitsSet) - 1); in getLowBitsSet()
502 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h647 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument
649 Res.setLowBits(loBitsSet); in getLowBitsSet()