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()
667 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) {669 Res.setLowBits(loBitsSet);
664 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() argument666 Res.setLowBits(loBitsSet); in getLowBitsSet()