Home
last modified time | relevance | path

Searched refs:hiBit (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);
607 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
609 Res.setBits(loBit, hiBit); in getBitsSet()
1418 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
1419 assert(hiBit <= BitWidth && "hiBit out of range"); in setBits()
1421 assert(loBit <= hiBit && "loBit greater than hiBit"); in setBits()
1422 if (loBit == hiBit) in setBits()
1424 if (loBit < APINT_BITS_PER_WORD && hiBit <= APINT_BITS_PER_WORD) { in setBits()
1425 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - (hiBit - loBit)); in setBits()
1432 setBitsSlowCase(loBit, hiBit); in setBits()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp304 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
306 unsigned hiWord = whichWord(hiBit); in setBitsSlowCase()
312 unsigned hiShiftAmt = whichBit(hiBit); in setBitsSlowCase()