Home
last modified time | relevance | path

Searched refs:loBit (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPInt.h242 void setBitsSlowCase(unsigned loBit, unsigned hiBit);
609 Res.setBits(loBit, hiBit); in getBitsSet()
626 Res.setBitsFrom(loBit); in getBitsSetFrom()
1418 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
1420 assert(loBit <= BitWidth && "loBit out of range"); in setBits()
1421 assert(loBit <= hiBit && "loBit greater than hiBit"); in setBits()
1422 if (loBit == hiBit) in setBits()
1426 mask <<= loBit; in setBits()
1432 setBitsSlowCase(loBit, hiBit); in setBits()
1437 void setBitsFrom(unsigned loBit) { in setBitsFrom() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp304 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
305 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
309 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit); in setBitsSlowCase()
365 unsigned loBit = whichBit(bitPosition); in insertBits() local
372 U.pVal[loWord] &= ~(mask << loBit); in insertBits()
373 U.pVal[loWord] |= (subBits.U.VAL << loBit); in insertBits()
378 if (loBit == 0) { in insertBits()
413 unsigned loBit = whichBit(bitPosition); in extractBits() local
419 return APInt(numBits, U.pVal[loWord] >> loBit); in extractBits()
423 if (loBit == 0) in extractBits()
[all …]