Searched refs:loBitsSet (Results 1 – 4 of 4) sorted by relevance
532 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument533 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()
536 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument537 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()
492 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument493 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()
647 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument649 Res.setLowBits(loBitsSet); in getLowBitsSet()