Lines Matching defs:loBit
312 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) {
313 unsigned loWord = whichWord(loBit);
316 // Create an initial mask for the low word with zeros below loBit.
317 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit);
392 unsigned loBit = whichBit(bitPosition);
399 U.pVal[loWord] &= ~(mask << loBit);
400 U.pVal[loWord] |= (subBits.U.VAL << loBit);
405 if (loBit == 0) {
437 unsigned loBit = whichBit(bitPosition);
441 U.pVal[loWord] &= ~(maskBits << loBit);
442 U.pVal[loWord] |= subBits << loBit;
448 U.pVal[loWord] &= ~(maskBits << loBit);
449 U.pVal[loWord] |= subBits << loBit;
451 U.pVal[hiWord] &= ~(maskBits >> (wordBits - loBit));
452 U.pVal[hiWord] |= subBits >> (wordBits - loBit);
463 unsigned loBit = whichBit(bitPosition);
469 return APInt(numBits, U.pVal[loWord] >> loBit, /*isSigned=*/false,
474 if (loBit == 0)
487 DestPtr[word] = (w0 >> loBit) | (w1 << (APINT_BITS_PER_WORD - loBit));
505 unsigned loBit = whichBit(bitPosition);
509 return (U.pVal[loWord] >> loBit) & maskBits;
511 uint64_t retBits = U.pVal[loWord] >> loBit;
512 retBits |= U.pVal[hiWord] << (APINT_BITS_PER_WORD - loBit);