/external/clang/lib/StaticAnalyzer/Core/ |
D | APSIntType.cpp | 29 MinBits = Value.getActiveBits(); in testInRange() 39 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 375 return getActiveBits() <= N; in isIntN() 406 return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit 1290 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function 1297 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1312 return getActiveBits() + 1; in getMinSignedBits() 1323 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 365 unsigned lhsBits = getActiveBits(); in operator *=() 372 unsigned rhsBits = RHS.getActiveBits(); in operator *=() 494 unsigned n1 = getActiveBits(); in EqualSlowCase() 495 unsigned n2 = RHS.getActiveBits(); in EqualSlowCase() 513 unsigned n = getActiveBits(); in EqualSlowCase() 526 unsigned n1 = getActiveBits(); in ult() 527 unsigned n2 = RHS.getActiveBits(); in ult() 875 if (isSingleWord() || getActiveBits() <= APINT_BITS_PER_WORD) { in roundToDouble() 890 unsigned n = Tmp.getActiveBits(); in roundToDouble() 1299 unsigned magnitude = getActiveBits(); in sqrt() [all …]
|
D | APFloat.cpp | 3469 unsigned bits = significand.getActiveBits(); in AdjustToPrecision() 3494 significand = significand.trunc(significand.getActiveBits()); in AdjustToPrecision()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 35 EXPECT_EQ(128u, Minus1.getActiveBits()); in TEST() 49 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 62 EXPECT_EQ(0u, i65.getActiveBits()); in TEST() 71 EXPECT_EQ(65u, i65minus.getActiveBits()); in TEST() 80 EXPECT_EQ(128u, u128max.getActiveBits()); in TEST() 88 EXPECT_EQ(64u, u64max.getActiveBits()); in TEST() 97 EXPECT_EQ(0u, zero.getActiveBits()); in TEST() 107 EXPECT_EQ(1u, one.getActiveBits()); in TEST()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 784 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier() 914 uint32_t activeBits = Tmp.getActiveBits(); in LexDigitOrNegative()
|
/external/llvm/lib/Transforms/Scalar/ |
D | BDCE.cpp | 152 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
|
/external/llvm/lib/IR/ |
D | Value.cpp | 562 if (CI->getValue().getActiveBits() > 64) in isDereferenceablePointer()
|
D | ConstantFold.cpp | 1289 if (cast<ConstantInt>(C1)->getValue().getActiveBits() > 64 || in IdxCompare() 1290 cast<ConstantInt>(C2)->getValue().getActiveBits() > 64) in IdxCompare() 2011 if (CI->getValue().getActiveBits() > 64) in isIndexInRangeOfSequentialType()
|
D | Constants.cpp | 1169 if (CI->getValue().getActiveBits() > 64 || in isGEPWithNoNotionalOverIndexing()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2383 if (Result.getActiveBits() > 64 || Result.getZExtValue() >= numElements*2) in SemaBuiltinShuffleVector() 3827 if (V.getActiveBits() <= S.Context.getTypeSize(IntendedTy)) in checkFormatExpr() 5685 return IntRange(value.getActiveBits(), true); in GetValueRange() 6098 if (OtherWidth >= Value.getActiveBits() + 1) in DiagnoseOutOfRangeComparison() 6105 if (Value.isNonNegative() && OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 6108 if (OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 6114 if (OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 6120 if (OtherWidth > Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 9122 if (MagicValueAPInt.getActiveBits() <= 64) { in FindTypeTagExpr()
|
D | SemaTemplate.cpp | 5073 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument() 5075 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument()
|
D | SemaDecl.cpp | 9774 if (MagicValueInt.getActiveBits() > 64) { in FinalizeDeclaration() 13224 return Value.getActiveBits() <= BitWidth; in isRepresentableIntegerValue() 13758 (unsigned)InitVal.getActiveBits()); in ActOnEnumBody()
|
D | SemaExpr.cpp | 3173 if (!ValueIsPositive || ValueAPS.getActiveBits() > 31) { in CheckLoopHintExpr()
|
/external/clang/lib/AST/ |
D | Type.cpp | 88 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); in getNumAddressingBits() 108 return TotalSize.getActiveBits(); in getNumAddressingBits()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 206 return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num; in uge()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 915 if (C->getValue().getActiveBits() <= cast<IntegerType>(Ty)->getBitWidth()) in dyn_castZExtVal()
|
D | InstCombineAndOrXor.cpp | 355 ME = V.getActiveBits(); in isRunOfOnes()
|
D | InstCombineCompares.cpp | 1263 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 4470 if (ExitConst->getValue().getActiveBits() > 32) in getSmallConstantTripCount() 4524 if (!Result || Result->getValue().getActiveBits() > 32 || in getSmallConstantTripMultiple() 4525 Result->getValue().getActiveBits() == 0) in getSmallConstantTripMultiple() 5468 if (BEs.getActiveBits() >= 32) in getConstantEvolutionLoopExitValue()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 211 if (CI->getValue().getActiveBits() <= 64) in materializeConstant()
|
D | TargetLowering.cpp | 1333 C1.getActiveBits(); in SimplifySetCC()
|
D | DAGCombiner.cpp | 2991 uint32_t ActiveBits = N1C->getAPIntValue().getActiveBits(); in visitAND() 9426 NarrowedUsedBits = NarrowedUsedBits.trunc(NarrowedUsedBits.getActiveBits()); in areUsedBitsDense()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2428 unsigned NumSignificantBits = (~KnownZero).getActiveBits(); in lowerCTPOP()
|