/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 1043 return getActiveBits() > 64 ? false : getZExtValue() < RHS; in ult() 1111 return getActiveBits() > 64 ? true : getZExtValue() > RHS; in ugt() 1298 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() function 1305 unsigned numActiveBits = getActiveBits(); in getActiveWords() 1320 return getActiveBits() + 1; in getMinSignedBits() 1331 assert(getActiveBits() <= 64 && "Too many bits for uint64_t"); in getZExtValue()
|
/external/llvm/lib/Support/ |
D | APSInt.cpp | 33 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
|
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 | 3494 unsigned bits = significand.getActiveBits(); in AdjustToPrecision() 3519 significand = significand.trunc(significand.getActiveBits()); in AdjustToPrecision()
|
/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/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 139 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
|
D | BranchProbabilityInfo.cpp | 212 assert(Weight->getValue().getActiveBits() <= 32 && in calcMetadataWeights()
|
D | ScalarEvolution.cpp | 4834 if (ExitConst->getValue().getActiveBits() > 32) in getSmallConstantTripCount() 4887 if (!Result || Result->getValue().getActiveBits() > 32 || in getSmallConstantTripMultiple() 4888 Result->getValue().getActiveBits() == 0) in getSmallConstantTripMultiple() 5979 if (BEs.getActiveBits() >= 32) in getConstantEvolutionLoopExitValue()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1295 if (cast<ConstantInt>(C1)->getValue().getActiveBits() > 64 || in IdxCompare() 1296 cast<ConstantInt>(C2)->getValue().getActiveBits() > 64) in IdxCompare() 2020 if (CI->getValue().getActiveBits() > 64) in isIndexInRangeOfSequentialType()
|
D | Constants.cpp | 1134 if (CI->getValue().getActiveBits() > 64 || in isGEPWithNoNotionalOverIndexing()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 806 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 425 assert(SimplifiedAddrOp->getValue().getActiveBits() < 64 && in visitLoad()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2712 if (Result.getActiveBits() > 64 || Result.getZExtValue() >= numElements*2) in SemaBuiltinShuffleVector() 4302 if (V.getActiveBits() <= S.Context.getTypeSize(IntendedTy)) in checkFormatExpr() 6177 return IntRange(value.getActiveBits(), true); in GetValueRange() 6590 if (OtherWidth >= Value.getActiveBits() + 1) in DiagnoseOutOfRangeComparison() 6597 if (Value.isNonNegative() && OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 6600 if (OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 6606 if (OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 6612 if (OtherWidth > Value.getActiveBits()) in DiagnoseOutOfRangeComparison() 9693 if (MagicValueAPInt.getActiveBits() <= 64) { in FindTypeTagExpr()
|
D | SemaTemplate.cpp | 5153 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument() 5155 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument()
|
D | SemaDecl.cpp | 10242 if (MagicValueInt.getActiveBits() > 64) { in FinalizeDeclaration() 13821 return Value.getActiveBits() <= BitWidth; in isRepresentableIntegerValue() 14366 (unsigned)InitVal.getActiveBits()); in ActOnEnumBody()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 211 return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num; in uge()
|
/external/clang/lib/AST/ |
D | Type.cpp | 89 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); in getNumAddressingBits() 109 return TotalSize.getActiveBits(); in getNumAddressingBits()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 925 if (C->getValue().getActiveBits() <= cast<IntegerType>(Ty)->getBitWidth()) in dyn_castZExtVal()
|
D | InstCombineAndOrXor.cpp | 355 ME = V.getActiveBits(); in isRunOfOnes()
|
D | InstCombineCompares.cpp | 1343 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst()
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIParser.cpp | 1556 if (Token.integerValue().getActiveBits() > 64) in getUint64()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 212 if (CI->getValue().getActiveBits() <= 64) in materializeConstant()
|
D | TargetLowering.cpp | 1376 C1.getActiveBits(); in SimplifySetCC()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4401 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt()
|