Lines Matching refs:loBit
303 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
304 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
308 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit); in setBitsSlowCase()
363 unsigned loBit = whichBit(bitPosition); in insertBits() local
370 U.pVal[loWord] &= ~(mask << loBit); in insertBits()
371 U.pVal[loWord] |= (subBits.U.VAL << loBit); in insertBits()
376 if (loBit == 0) { in insertBits()
408 unsigned loBit = whichBit(bitPosition); in insertBits() local
412 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits()
413 U.pVal[loWord] |= subBits << loBit; in insertBits()
419 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits()
420 U.pVal[loWord] |= subBits << loBit; in insertBits()
422 U.pVal[hiWord] &= ~(maskBits >> (wordBits - loBit)); in insertBits()
423 U.pVal[hiWord] |= subBits >> (wordBits - loBit); in insertBits()
434 unsigned loBit = whichBit(bitPosition); in extractBits() local
440 return APInt(numBits, U.pVal[loWord] >> loBit); in extractBits()
444 if (loBit == 0) in extractBits()
457 DestPtr[word] = (w0 >> loBit) | (w1 << (APINT_BITS_PER_WORD - loBit)); in extractBits()
474 unsigned loBit = whichBit(bitPosition); in extractBitsAsZExtValue() local
478 return (U.pVal[loWord] >> loBit) & maskBits; in extractBitsAsZExtValue()
482 uint64_t retBits = U.pVal[loWord] >> loBit; in extractBitsAsZExtValue()
483 retBits |= U.pVal[hiWord] << (wordBits - loBit); in extractBitsAsZExtValue()