Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPInt.h243 Res.setBits(loBit, hiBit); in getBitsSet()
256 Res.setBitsWithWrap(loBit, hiBit); in getBitsSetWithWrap()
271 Res.setBitsFrom(loBit); in getBitsSetFrom()
1307 if (loBit < hiBit) { in setBitsWithWrap()
1308 setBits(loBit, hiBit); in setBitsWithWrap()
1312 setHighBits(BitWidth - loBit); in setBitsWithWrap()
1317 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
1321 if (loBit == hiBit) in setBits()
1325 mask <<= loBit; in setBits()
1331 setBitsSlowCase(loBit, hiBit); in setBits()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp222 unsigned loBit = beginVarBit - N + 1; in AddCodeToMergeInOperand() local
223 unsigned hiBit = loBit + N; in AddCodeToMergeInOperand()
228 extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " + in AddCodeToMergeInOperand()
229 itostr(loBit) + ")"; in AddCodeToMergeInOperand()
233 extractStr = "op.extractBitsAsZExtValue(" + itostr(hiBit - loBit) + in AddCodeToMergeInOperand()
234 ", " + itostr(loBit) + ")"; in AddCodeToMergeInOperand()
236 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n"; in AddCodeToMergeInOperand()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPInt.cpp302 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
381 unsigned loBit = whichBit(bitPosition); in insertBits() local
388 U.pVal[loWord] &= ~(mask << loBit); in insertBits()
394 if (loBit == 0) { in insertBits()
426 unsigned loBit = whichBit(bitPosition); in insertBits() local
431 U.pVal[loWord] |= subBits << loBit; in insertBits()
437 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits()
438 U.pVal[loWord] |= subBits << loBit; in insertBits()
451 unsigned loBit = whichBit(bitPosition); in extractBits() local
461 if (loBit == 0) in extractBits()
[all …]