Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h241 void setBitsSlowCase(unsigned loBit, unsigned hiBit);
606 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
608 Res.setBits(loBit, hiBit); in getBitsSet()
623 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() argument
625 Res.setBitsFrom(loBit); in getBitsSetFrom()
1411 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
1413 assert(loBit <= BitWidth && "loBit out of range"); in setBits()
1414 assert(loBit <= hiBit && "loBit greater than hiBit"); in setBits()
1415 if (loBit == hiBit) in setBits()
1417 if (loBit < APINT_BITS_PER_WORD && hiBit <= APINT_BITS_PER_WORD) { in setBits()
[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/include/llvm/ADT/
DAPInt.h463 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
465 assert(loBit < numBits && "loBit out of range"); in getBitsSet()
466 if (hiBit < loBit) in getBitsSet()
468 getHighBitsSet(numBits, numBits-loBit); in getBitsSet()
469 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-7.0/llvm/lib/Support/
DAPInt.cpp302 void APInt::setBitsSlowCase(unsigned loBit, unsigned hiBit) { in setBitsSlowCase() argument
303 unsigned loWord = whichWord(loBit); in setBitsSlowCase()
307 uint64_t loMask = WORD_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()
411 unsigned loBit = whichBit(bitPosition); in extractBits() local
417 return APInt(numBits, U.pVal[loWord] >> loBit); in extractBits()
421 if (loBit == 0) in extractBits()
[all …]