Home
last modified time | relevance | path

Searched refs:countTrailingZeros (Results 1 – 15 of 15) sorted by relevance

/external/llvm/unittests/ADT/
DAPIntTest.cpp36 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST()
50 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST()
64 EXPECT_EQ(64u, i65minus.countTrailingZeros()); in TEST()
73 EXPECT_EQ(0u, u128max.countTrailingZeros()); in TEST()
81 EXPECT_EQ(0u, u64max.countTrailingZeros()); in TEST()
90 EXPECT_EQ(128u, zero.countTrailingZeros()); in TEST()
100 EXPECT_EQ(0u, one.countTrailingZeros()); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1675 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD()
1797 unsigned trailingZeros = RHS.countTrailingZeros(); in DemandedBitsLHSMask()
2021 unsigned CmpVal = Op0KnownZeroInverted.countTrailingZeros(); in visitICmpInst()
2033 CI->countTrailingZeros())); in visitICmpInst()
2058 unsigned CmpVal = Op0KnownZeroInverted.countTrailingZeros(); in visitICmpInst()
2070 CI->countTrailingZeros())); in visitICmpInst()
2463 AP.countTrailingZeros())); in visitICmpInst()
DInstCombineCasts.cpp610 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp()
929 unsigned ShiftAmt = KnownZeroMask.countTrailingZeros(); in transformSExtICmp()
DInstCombineSimplifyDemanded.cpp758 unsigned NTZ = DemandedMask.countTrailingZeros(); in SimplifyDemandedUseBits()
DInstCombineCalls.cpp365 unsigned TrailingZeros = KnownOne.countTrailingZeros(); in visitCallInst()
/external/llvm/include/llvm/ADT/
DAPInt.h1243 unsigned countTrailingZeros() const;
/external/llvm/lib/Analysis/
DConstantFolding.cpp1422 return ConstantInt::get(Ty, Op1->getValue().countTrailingZeros()); in ConstantFoldCall()
DScalarEvolution.cpp743 unsigned TwoFactors = Mult.countTrailingZeros(); in BinomialCoefficient()
3200 return C->getValue()->getValue().countTrailingZeros(); in GetMinTrailingZeros()
5313 uint32_t Mult2 = A.countTrailingZeros(); in SolveLinEquationWithOverflow()
5320 if (B.countTrailingZeros() < Mult2) in SolveLinEquationWithOverflow()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3262 unsigned ShAmt = d.countTrailingZeros(); in BuildExactSDIV()
3364 unsigned Shift = N1C.countTrailingZeros(); in BuildUDIV()
DDAGCombiner.cpp1867 unsigned lg2 = N1C->getAPIntValue().countTrailingZeros(); in visitSDIV()
3851 unsigned ShAmt = UnknownBits.countTrailingZeros(); in visitSRL()
6906 unsigned ShAmt = Imm.countTrailingZeros(); in ReduceLoadOpStoreWidth()
DSelectionDAG.cpp2416 return getConstant(Val.countTrailingZeros(), VT); in getNode()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp1019 return B.getInt32(CI->getValue().countTrailingZeros() + 1); in CallOptimizer()
DLoopStrengthReduce.cpp3538 NewF.AM.BaseOffs).countTrailingZeros() >= in GenerateCrossUseConstantOffsets()
/external/llvm/lib/Support/
DAPInt.cpp736 unsigned APInt::countTrailingZeros() const { in countTrailingZeros() function in APInt
DAPFloat.cpp3420 int trailingZeros = significand.countTrailingZeros(); in toString()