Searched refs:loBit (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h241 void setBitsSlowCase(unsigned loBit, unsigned hiBit);
601 /// bits from loBit (inclusive) to hiBit (exclusive) will be set. All other
603 /// 0x0000FFFF. Please call getBitsSetWithWrap if \p loBit may be greater than
607 /// \param loBit the index of the lowest bit set.
611 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { argument
612 assert(loBit <= hiBit && "loBit greater than hiBit");
614 Res.setBits(loBit, hiBit);
619 /// If \p hiBit is no less than \p loBit, this is same with getBitsSet.
620 /// If \p hiBit is less than \p loBit, th
622 getBitsSetWithWrap(unsigned numBits, unsigned loBit, unsigned hiBit) argument
640 getBitsSetFrom(unsigned numBits, unsigned loBit) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp220 unsigned loBit = beginVarBit - N + 1; local
221 unsigned hiBit = loBit + N;
226 extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " +
227 itostr(loBit) + ")";
231 extractStr = "op.extractBitsAsZExtValue(" + itostr(hiBit - loBit) +
232 ", " + itostr(loBit) + ")";
234 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n";
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp303 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { argument
304 unsigned loWord = whichWord(loBit);
307 // Create an initial mask for the low word with zeros below loBit.
308 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit);
364 unsigned loBit = whichBit(bitPosition);
371 U.pVal[loWord] &= ~(mask << loBit);
372 U.pVal[loWord] |= (subBits.U.VAL << loBit);
377 if (loBit == 0) {
413 unsigned loBit = whichBit(bitPosition);
417 U.pVal[loWord] &= ~(maskBits << loBit);
[all...]

Completed in 131 milliseconds