Home
last modified time | relevance | path

Searched refs:hiBit (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()
1411 void setBits(unsigned loBit, unsigned hiBit) { in setBits() argument
1412 assert(hiBit <= BitWidth && "hiBit 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()
1418 uint64_t mask = WORD_MAX >> (APINT_BITS_PER_WORD - (hiBit - loBit)); in setBits()
1425 setBitsSlowCase(loBit, hiBit); in setBits()
/external/llvm/include/llvm/ADT/
DAPInt.h499 static APInt getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) { in getBitsSet() argument
500 assert(hiBit <= numBits && "hiBit out of range"); in getBitsSet()
502 if (hiBit < loBit) in getBitsSet()
503 return getLowBitsSet(numBits, hiBit) | 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
464 assert(hiBit <= numBits && "hiBit out of range"); in getBitsSet()
466 if (hiBit < loBit) in getBitsSet()
467 return getLowBitsSet(numBits, hiBit) | 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
504 assert(hiBit <= numBits && "hiBit out of range"); in getBitsSet()
506 if (hiBit < loBit) in getBitsSet()
507 return getLowBitsSet(numBits, hiBit) | 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
304 unsigned hiWord = whichWord(hiBit); in setBitsSlowCase()
310 unsigned hiShiftAmt = whichBit(hiBit); in setBitsSlowCase()