Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h615 Res.setBits(loBit, hiBit);
628 Res.setBitsWithWrap(loBit, hiBit);
645 Res.setBitsFrom(loBit);
1471 if (loBit < hiBit) {
1472 setBits(loBit, hiBit);
1476 setHighBits(BitWidth - loBit);
1485 if (loBit == hiBit)
1489 mask <<= loBit;
1495 setBitsSlowCase(loBit, hiBit);
1500 void setBitsFrom(unsigned loBit) {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp220 unsigned loBit = beginVarBit - N + 1; in AddCodeToMergeInOperand() local
221 unsigned hiBit = loBit + N; in AddCodeToMergeInOperand()
226 extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " + in AddCodeToMergeInOperand()
227 itostr(loBit) + ")"; in AddCodeToMergeInOperand()
231 extractStr = "op.extractBitsAsZExtValue(" + itostr(hiBit - loBit) + in AddCodeToMergeInOperand()
232 ", " + itostr(loBit) + ")"; in AddCodeToMergeInOperand()
234 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n"; in AddCodeToMergeInOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp304 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
363 unsigned loBit = whichBit(bitPosition); in insertBits() local
370 U.pVal[loWord] &= ~(mask << loBit); in insertBits()
376 if (loBit == 0) { in insertBits()
408 unsigned loBit = whichBit(bitPosition); in insertBits() local
413 U.pVal[loWord] |= subBits << loBit; in insertBits()
419 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits()
420 U.pVal[loWord] |= subBits << loBit; in insertBits()
434 unsigned loBit = whichBit(bitPosition); in extractBits() local
444 if (loBit == 0) in extractBits()
[all …]