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

/freebsd-13-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
604 /// \p hiBit.
608 /// \param hiBit the index of the highest 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 bigger than \p loBit, this is same with getBitsSet.
620 /// If \p hiBit i
624 getBitsSetWithWrap(unsigned numBits, unsigned loBit, unsigned hiBit) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp221 unsigned hiBit = loBit + N; local
226 extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " +
231 extractStr = "op.extractBitsAsZExtValue(" + itostr(hiBit - loBit) +
234 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n";
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp303 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { argument
305 unsigned hiWord = whichWord(hiBit);
310 // If hiBit is not aligned, we need a high mask.
311 unsigned hiShiftAmt = whichBit(hiBit);
313 // Create a high mask with zeros above hiBit.

Completed in 104 milliseconds