Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h238 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
240 Res.setBits(loBit, hiBit); in getBitsSet()
251 unsigned hiBit) { in getBitsSetWithWrap() argument
253 Res.setBitsWithWrap(loBit, hiBit); in getBitsSetWithWrap()
1334 void setBitsWithWrap(unsigned loBit, unsigned hiBit) { in setBitsWithWrap() argument
1335 assert(hiBit <= BitWidth && "hiBit out of range"); in setBitsWithWrap()
1337 if (loBit < hiBit) { in setBitsWithWrap()
1338 setBits(loBit, hiBit); in setBitsWithWrap()
1341 setLowBits(hiBit); in setBitsWithWrap()
1347 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp226 unsigned hiBit = loBit + N; in addCodeToMergeInOperand() local
232 extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " + in addCodeToMergeInOperand()
237 extractStr = "op.extractBitsAsZExtValue(" + itostr(hiBit - loBit) + in addCodeToMergeInOperand()
240 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n"; in addCodeToMergeInOperand()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp310 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
312 unsigned hiWord = whichWord(hiBit); in setBitsSlowCase()
318 unsigned hiShiftAmt = whichBit(hiBit); in setBitsSlowCase()