Lines Matching defs:loBit
310 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) {
311 unsigned loWord = whichWord(loBit);
314 // Create an initial mask for the low word with zeros below loBit.
315 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit);
390 unsigned loBit = whichBit(bitPosition);
397 U.pVal[loWord] &= ~(mask << loBit);
398 U.pVal[loWord] |= (subBits.U.VAL << loBit);
403 if (loBit == 0) {
435 unsigned loBit = whichBit(bitPosition);
439 U.pVal[loWord] &= ~(maskBits << loBit);
440 U.pVal[loWord] |= subBits << loBit;
446 U.pVal[loWord] &= ~(maskBits << loBit);
447 U.pVal[loWord] |= subBits << loBit;
449 U.pVal[hiWord] &= ~(maskBits >> (wordBits - loBit));
450 U.pVal[hiWord] |= subBits >> (wordBits - loBit);
460 unsigned loBit = whichBit(bitPosition);
466 return APInt(numBits, U.pVal[loWord] >> loBit);
470 if (loBit == 0)
483 DestPtr[word] = (w0 >> loBit) | (w1 << (APINT_BITS_PER_WORD - loBit));
499 unsigned loBit = whichBit(bitPosition);
503 return (U.pVal[loWord] >> loBit) & maskBits;
507 uint64_t retBits = U.pVal[loWord] >> loBit;
508 retBits |= U.pVal[hiWord] << (wordBits - loBit);