Searched refs:bitPosition (Results 1 – 3 of 3) sorted by relevance
993 bool operator[](unsigned bitPosition) const {995 return (maskBit(bitPosition) & getWord(bitPosition)) != 0;1390 void flipBit(unsigned bitPosition);1399 void insertBits(const APInt &SubBits, unsigned bitPosition);1840 static unsigned whichWord(unsigned bitPosition) {1841 return bitPosition / APINT_BITS_PER_WORD;1845 static unsigned whichBit(unsigned bitPosition) {1846 return bitPosition % APINT_BITS_PER_WORD;1855 static uint64_t maskBit(unsigned bitPosition) {1856 return 1ULL << whichBit(bitPosition);[all …]
354 void APInt::flipBit(unsigned bitPosition) { in flipBit() argument356 setBitVal(bitPosition, !(*this)[bitPosition]); in flipBit()376 U.VAL &= ~(mask << bitPosition); in insertBits()381 unsigned loBit = whichBit(bitPosition); in insertBits()421 U.VAL &= ~(maskBits << bitPosition); in insertBits()422 U.VAL |= subBits << bitPosition; in insertBits()426 unsigned loBit = whichBit(bitPosition); in insertBits()445 assert(bitPosition < BitWidth && (numBits + bitPosition) <= BitWidth && in extractBits()451 unsigned loBit = whichBit(bitPosition); in extractBits()483 assert(bitPosition < BitWidth && (numBits + bitPosition) <= BitWidth && in extractBitsAsZExtValue()[all …]
238 RAW_METHOD_DUMP(OS, bitPosition); in dump()