/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 48 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST() 59 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 70 EXPECT_EQ(16u, i61.getActiveBits()); in TEST() 79 EXPECT_EQ(19u, i61.getActiveBits()); in TEST() 90 EXPECT_EQ(0u, i65.getActiveBits()); in TEST() 99 EXPECT_EQ(65u, i65minus.getActiveBits()); in TEST() 108 EXPECT_EQ(128u, u128max.getActiveBits()); in TEST() 116 EXPECT_EQ(64u, u64max.getActiveBits()); in TEST() 125 EXPECT_EQ(0u, zero.getActiveBits()); in TEST() 135 EXPECT_EQ(1u, one.getActiveBits()); in TEST() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | APSIntType.cpp | 29 MinBits = Value.getActiveBits(); in testInRange() 39 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APIntTest.cpp | 35 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST() 49 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 63 EXPECT_EQ(65u, i65minus.getActiveBits()); in TEST() 72 EXPECT_EQ(128u, u128max.getActiveBits()); in TEST() 80 EXPECT_EQ(64u, u64max.getActiveBits()); in TEST() 89 EXPECT_EQ(0u, zero.getActiveBits()); in TEST() 99 EXPECT_EQ(1u, one.getActiveBits()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 451 return getActiveBits() <= N; in isIntN() 1137 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() == Val; 1188 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() < RHS; in ult() 1258 return (!isSingleWord() && getActiveBits() > 64) || getZExtValue() > RHS; in ugt() 1526 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function 1533 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1548 return getActiveBits() + 1; in getMinSignedBits() 1559 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue() 1741 unsigned logBase2() const { return getActiveBits() - 1; } in logBase2() 1747 return temp.getActiveBits(); in ceilLogBase2()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 375 return getActiveBits() <= N; in isIntN() 406 return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit 1048 return getActiveBits() > 64 ? false : getZExtValue() < RHS; in ult() 1116 return getActiveBits() > 64 ? true : getZExtValue() > RHS; in ugt() 1303 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function 1310 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1325 return getActiveBits() + 1; in getMinSignedBits() 1336 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 379 return getActiveBits() <= N; in isIntN() 410 return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit 1024 return getActiveBits() > 64 ? false : getZExtValue() < RHS; in ult() 1092 return getActiveBits() > 64 ? true : getZExtValue() > RHS; in ugt() 1279 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function 1286 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1301 return getActiveBits() + 1; in getMinSignedBits() 1312 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APInt.cpp | 363 unsigned lhsBits = getActiveBits(); in operator *=() 370 unsigned rhsBits = RHS.getActiveBits(); in operator *=() 504 unsigned n1 = getActiveBits(); in EqualSlowCase() 505 unsigned n2 = RHS.getActiveBits(); in EqualSlowCase() 523 unsigned n = getActiveBits(); in EqualSlowCase() 536 unsigned n1 = getActiveBits(); in ult() 537 unsigned n2 = RHS.getActiveBits(); in ult() 957 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble() 972 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1367 unsigned magnitude = getActiveBits(); in sqrt() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APSInt.cpp | 34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
|
D | APInt.cpp | 760 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble() 775 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1029 unsigned magnitude = getActiveBits(); in sqrt() 1540 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() 1541 unsigned rhsBits = RHS.getActiveBits(); in udiv() 1576 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() 1631 unsigned lhsWords = getNumWords(getActiveBits()); in urem() 1634 unsigned rhsBits = RHS.getActiveBits(); in urem() 1668 unsigned lhsWords = getNumWords(getActiveBits()); in urem() 1731 unsigned lhsWords = getNumWords(LHS.getActiveBits()); in udivrem() [all …]
|
/external/llvm/lib/Support/ |
D | APSInt.cpp | 34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
|
D | APInt.cpp | 366 unsigned lhsBits = getActiveBits(); in operator *=() 373 unsigned rhsBits = RHS.getActiveBits(); in operator *=() 516 unsigned n = getActiveBits(); in EqualSlowCase() 529 unsigned n1 = getActiveBits(); in ult() 530 unsigned n2 = RHS.getActiveBits(); in ult() 881 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble() 896 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1305 unsigned magnitude = getActiveBits(); in sqrt() 1853 unsigned rhsBits = RHS.getActiveBits(); in udiv() 1856 unsigned lhsBits = this->getActiveBits(); in udiv() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 382 unsigned lhsBits = getActiveBits(); in operator *=() 389 unsigned rhsBits = RHS.getActiveBits(); in operator *=() 494 unsigned n = getActiveBits(); in EqualSlowCase() 507 unsigned n1 = getActiveBits(); in ult() 508 unsigned n2 = RHS.getActiveBits(); in ult() 859 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble() 874 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1279 unsigned magnitude = getActiveBits(); in sqrt() 1827 unsigned rhsBits = RHS.getActiveBits(); in udiv() 1830 unsigned lhsBits = this->getActiveBits(); in udiv() [all …]
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 43 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST() 57 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 70 EXPECT_EQ(0u, i65.getActiveBits()); in TEST() 79 EXPECT_EQ(65u, i65minus.getActiveBits()); in TEST() 88 EXPECT_EQ(128u, u128max.getActiveBits()); in TEST() 96 EXPECT_EQ(64u, u64max.getActiveBits()); in TEST() 105 EXPECT_EQ(0u, zero.getActiveBits()); in TEST() 115 EXPECT_EQ(1u, one.getActiveBits()); in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 386 return (getActiveBits() > 64 || getZExtValue() > Limit) ? 1135 unsigned getActiveBits() const { in getActiveBits() function 1143 return whichWord(getActiveBits()-1) + 1; in getActiveWords() 1156 return getActiveBits()+1; in getMinSignedBits() 1166 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LoopInfo.cpp | 212 if (TripCountC->getValue().getActiveBits() <= 32) { in getSmallConstantTripCount() 245 if (CI->getValue().getActiveBits() <= 5) in getSmallConstantTripMultiple() 254 if (Result && Result->getValue().getActiveBits() <= 32) { in getSmallConstantTripMultiple()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 121 if (SimplifiedAddrOp->getValue().getActiveBits() > 64) in visitLoad()
|
D | DemandedBits.cpp | 153 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 122 if (SimplifiedAddrOp->getValue().getActiveBits() >= 64) in visitLoad()
|
D | DemandedBits.cpp | 141 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
|
D | BranchProbabilityInfo.cpp | 212 assert(Weight->getValue().getActiveBits() <= 32 && in calcMetadataWeights()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopPredication.cpp | 720 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType() 721 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 667 if (Upper.getActiveBits() > DstTySize || in truncate() 681 if (LowerDiv.getActiveBits() > DstTySize) { in truncate() 688 unsigned UpperDivWidth = UpperDiv.getActiveBits(); in truncate()
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLLexer.cpp | 671 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier() 795 uint32_t activeBits = Tmp.getActiveBits(); in LexDigitOrNegative()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 383 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits() 393 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits() 936 DemandedElts = (1 << DemandedElts.getActiveBits()) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Value.cpp | 386 if (CI->getValue().getActiveBits() > 64) in isDereferenceablePointer()
|