Searched refs:loBit (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 258 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument 260 Res.setBits(loBit, hiBit); in getBitsSet() 270 static APInt getBitsSetWithWrap(unsigned numBits, unsigned loBit, in getBitsSetWithWrap() argument 273 Res.setBitsWithWrap(loBit, hiBit); in getBitsSetWithWrap() 286 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() argument 288 Res.setBitsFrom(loBit); in getBitsSetFrom() 1354 void setBitsWithWrap(unsigned loBit, unsigned hiBit) { in setBitsWithWrap() argument 1356 assert(loBit <= BitWidth && "loBit out of range"); in setBitsWithWrap() 1357 if (loBit < hiBit) { in setBitsWithWrap() 1358 setBits(loBit, hiBit); in setBitsWithWrap() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 312 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument 313 unsigned loWord = whichWord(loBit); in setBitsSlowCase() 317 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit); in setBitsSlowCase() 419 unsigned loBit = whichBit(bitPosition); in insertBits() local 426 U.pVal[loWord] &= ~(mask << loBit); in insertBits() 427 U.pVal[loWord] |= (subBits.U.VAL << loBit); in insertBits() 432 if (loBit == 0) { in insertBits() 464 unsigned loBit = whichBit(bitPosition); in insertBits() local 468 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits() 469 U.pVal[loWord] |= subBits << loBit; in insertBits() [all …]
|