Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h242 void setBitsSlowCase(unsigned loBit, unsigned hiBit);
612 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) {
613 assert(loBit <= hiBit && "loBit greater than hiBit");
615 Res.setBits(loBit, hiBit);
625 static APInt getBitsSetWithWrap(unsigned numBits, unsigned loBit,
628 Res.setBitsWithWrap(loBit, hiBit);
643 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) {
645 Res.setBitsFrom(loBit);
1468 void setBitsWithWrap(unsigned loBit, unsigned hiBit) {
1470 assert(loBit <= BitWidth && "loBit out of range");
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h241 void setBitsSlowCase(unsigned loBit, unsigned hiBit);
611 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
612 assert(loBit <= hiBit && "loBit greater than hiBit"); in getBitsSet()
614 Res.setBits(loBit, hiBit); in getBitsSet()
622 static APInt getBitsSetWithWrap(unsigned numBits, unsigned loBit, in getBitsSetWithWrap() argument
625 Res.setBitsWithWrap(loBit, hiBit); in getBitsSetWithWrap()
640 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() argument
642 Res.setBitsFrom(loBit); in getBitsSetFrom()
1453 void setBitsWithWrap(unsigned loBit, unsigned hiBit) { in setBitsWithWrap() argument
1455 assert(loBit <= BitWidth && "loBit out of range"); in setBitsWithWrap()
[all …]
/external/llvm-project/llvm/utils/TableGen/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp303 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
304 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
308 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit); in setBitsSlowCase()
364 unsigned loBit = whichBit(bitPosition); in insertBits() local
371 U.pVal[loWord] &= ~(mask << loBit); in insertBits()
372 U.pVal[loWord] |= (subBits.U.VAL << loBit); in insertBits()
377 if (loBit == 0) { in insertBits()
413 unsigned loBit = whichBit(bitPosition); in insertBits() local
417 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits()
418 U.pVal[loWord] |= subBits << loBit; in insertBits()
[all …]
/external/llvm-project/llvm/lib/Support/
DAPInt.cpp303 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
304 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
308 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit); in setBitsSlowCase()
363 unsigned loBit = whichBit(bitPosition); in insertBits() local
370 U.pVal[loWord] &= ~(mask << loBit); in insertBits()
371 U.pVal[loWord] |= (subBits.U.VAL << loBit); in insertBits()
376 if (loBit == 0) { in insertBits()
408 unsigned loBit = whichBit(bitPosition); in insertBits() local
412 U.pVal[loWord] &= ~(maskBits << loBit); in insertBits()
413 U.pVal[loWord] |= subBits << loBit; in insertBits()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h499 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
501 assert(loBit < numBits && "loBit out of range"); in getBitsSet()
502 if (hiBit < loBit) in getBitsSet()
504 getHighBitsSet(numBits, numBits - loBit); in getBitsSet()
505 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h503 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
505 assert(loBit < numBits && "loBit out of range"); in getBitsSet()
506 if (hiBit < loBit) in getBitsSet()
508 getHighBitsSet(numBits, numBits - loBit); in getBitsSet()
509 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenDisassemblerTables.inc25 // * Support getBitsSet(loBit, hiBit)
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
DMipsGenDisassemblerTables.inc25 // * Support getBitsSet(loBit, hiBit)
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenDisassemblerTables.inc25 // * Support getBitsSet(loBit, hiBit)
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/
DAArch64GenDisassemblerTables.inc25 // * Support getBitsSet(loBit, hiBit)