Home
last modified time | relevance | path

Searched refs:hiBit (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()
254 unsigned hiBit) { in getBitsSetWithWrap() argument
256 Res.setBitsWithWrap(loBit, hiBit); in getBitsSetWithWrap()
1305 assert(hiBit <= BitWidth && "hiBit out of range"); in setBitsWithWrap()
1307 if (loBit < hiBit) { in setBitsWithWrap()
1308 setBits(loBit, hiBit); in setBitsWithWrap()
1311 setLowBits(hiBit); in setBitsWithWrap()
1317 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
1318 assert(hiBit <= BitWidth && "hiBit out of range"); in setBits()
1321 if (loBit == hiBit) in setBits()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp223 unsigned hiBit = loBit + N; in AddCodeToMergeInOperand() local
228 extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " + in AddCodeToMergeInOperand()
233 extractStr = "op.extractBitsAsZExtValue(" + itostr(hiBit - loBit) + in AddCodeToMergeInOperand()
236 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n"; in AddCodeToMergeInOperand()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPInt.cpp301 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
303 unsigned hiWord = whichWord(hiBit); in setBitsSlowCase()
309 unsigned hiShiftAmt = whichBit(hiBit); in setBitsSlowCase()