Home
last modified time | relevance | path

Searched refs:getActiveBits (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
DAPSIntType.cpp29 MinBits = Value.getActiveBits(); in testInRange()
39 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
/external/llvm/include/llvm/ADT/
DAPInt.h375 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/
DAPSInt.cpp33 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
DAPInt.cpp365 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 …]
DAPFloat.cpp3494 unsigned bits = significand.getActiveBits(); in AdjustToPrecision()
3519 significand = significand.trunc(significand.getActiveBits()); in AdjustToPrecision()
/external/llvm/unittests/ADT/
DAPIntTest.cpp43 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/
DDemandedBits.cpp139 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
DBranchProbabilityInfo.cpp212 assert(Weight->getValue().getActiveBits() <= 32 && in calcMetadataWeights()
DScalarEvolution.cpp4834 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/
DConstantFold.cpp1295 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()
DConstants.cpp1134 if (CI->getValue().getActiveBits() > 64 || in isGEPWithNoNotionalOverIndexing()
/external/llvm/lib/AsmParser/
DLLLexer.cpp806 uint32_t activeBits = Tmp.getActiveBits(); in LexIdentifier()
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp425 assert(SimplifiedAddrOp->getValue().getActiveBits() < 64 && in visitLoad()
/external/clang/lib/Sema/
DSemaChecking.cpp2712 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()
DSemaTemplate.cpp5153 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument()
5155 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument()
DSemaDecl.cpp10242 if (MagicValueInt.getActiveBits() > 64) { in FinalizeDeclaration()
13821 return Value.getActiveBits() <= BitWidth; in isRepresentableIntegerValue()
14366 (unsigned)InitVal.getActiveBits()); in ActOnEnumBody()
/external/llvm/include/llvm/IR/
DConstants.h211 return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num; in uge()
/external/clang/lib/AST/
DType.cpp89 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); in getNumAddressingBits()
109 return TotalSize.getActiveBits(); in getNumAddressingBits()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp925 if (C->getValue().getActiveBits() <= cast<IntegerType>(Ty)->getBitWidth()) in dyn_castZExtVal()
DInstCombineAndOrXor.cpp355 ME = V.getActiveBits(); in isRunOfOnes()
DInstCombineCompares.cpp1343 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1556 if (Token.integerValue().getActiveBits() > 64) in getUint64()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp212 if (CI->getValue().getActiveBits() <= 64) in materializeConstant()
DTargetLowering.cpp1376 C1.getActiveBits(); in SimplifySetCC()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4401 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt()

12