Searched refs:countTrailingZeros (Results 1 – 15 of 15) sorted by relevance
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 36 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/ |
D | InstCombineCompares.cpp | 1675 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()
|
D | InstCombineCasts.cpp | 610 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 929 unsigned ShiftAmt = KnownZeroMask.countTrailingZeros(); in transformSExtICmp()
|
D | InstCombineSimplifyDemanded.cpp | 758 unsigned NTZ = DemandedMask.countTrailingZeros(); in SimplifyDemandedUseBits()
|
D | InstCombineCalls.cpp | 365 unsigned TrailingZeros = KnownOne.countTrailingZeros(); in visitCallInst()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1243 unsigned countTrailingZeros() const;
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1422 return ConstantInt::get(Ty, Op1->getValue().countTrailingZeros()); in ConstantFoldCall()
|
D | ScalarEvolution.cpp | 743 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/ |
D | TargetLowering.cpp | 3262 unsigned ShAmt = d.countTrailingZeros(); in BuildExactSDIV() 3364 unsigned Shift = N1C.countTrailingZeros(); in BuildUDIV()
|
D | DAGCombiner.cpp | 1867 unsigned lg2 = N1C->getAPIntValue().countTrailingZeros(); in visitSDIV() 3851 unsigned ShAmt = UnknownBits.countTrailingZeros(); in visitSRL() 6906 unsigned ShAmt = Imm.countTrailingZeros(); in ReduceLoadOpStoreWidth()
|
D | SelectionDAG.cpp | 2416 return getConstant(Val.countTrailingZeros(), VT); in getNode()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 1019 return B.getInt32(CI->getValue().countTrailingZeros() + 1); in CallOptimizer()
|
D | LoopStrengthReduce.cpp | 3538 NewF.AM.BaseOffs).countTrailingZeros() >= in GenerateCrossUseConstantOffsets()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 736 unsigned APInt::countTrailingZeros() const { in countTrailingZeros() function in APInt
|
D | APFloat.cpp | 3420 int trailingZeros = significand.countTrailingZeros(); in toString()
|