/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 50 EXPECT_EQ(128u, Minus1.countTrailingOnes()); in TEST() 110 EXPECT_EQ(128u, u128max.countTrailingOnes()); in TEST() 118 EXPECT_EQ(64u, u64max.countTrailingOnes()); in TEST() 127 EXPECT_EQ(0u, zero.countTrailingOnes()); in TEST() 137 EXPECT_EQ(1u, one.countTrailingOnes()); in TEST() 147 EXPECT_EQ(0u, s128.countTrailingOnes()); in TEST() 158 EXPECT_EQ(0u, s128.countTrailingOnes()); in TEST() 169 EXPECT_EQ(0u, s128.countTrailingOnes()); in TEST() 179 EXPECT_EQ(0u, s128.countTrailingOnes()); in TEST() 192 EXPECT_EQ(4u, s256.countTrailingOnes()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 137 return Zero.countTrailingOnes(); in countMinTrailingZeros() 142 return One.countTrailingOnes(); in countMinTrailingOnes()
|
D | MathExtras.h | 478 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APIntTest.cpp | 37 EXPECT_EQ(128u, Minus1.countTrailingOnes()); in TEST() 74 EXPECT_EQ(128u, u128max.countTrailingOnes()); in TEST() 82 EXPECT_EQ(64u, u64max.countTrailingOnes()); in TEST() 91 EXPECT_EQ(0u, zero.countTrailingOnes()); in TEST() 101 EXPECT_EQ(1u, one.countTrailingOnes()); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 212 unsigned TrailZ = KnownZero.countTrailingOnes() + in ComputeMaskedBits() 213 KnownZero2.countTrailingOnes(); in ComputeMaskedBits() 416 unsigned LHSKnownZeroOut = LHSKnownZero.countTrailingOnes(); in ComputeMaskedBits() 421 unsigned RHSKnownZeroOut = KnownZero2.countTrailingOnes(); in ComputeMaskedBits() 557 unsigned TrailZ = LocalKnownZero.countTrailingOnes(); in ComputeMaskedBits() 582 LocalKnownZero.countTrailingOnes())); in ComputeMaskedBits() 624 KnownZero2.countTrailingOnes()); in ComputeMaskedBits() 632 std::min(KnownZero2.countTrailingOnes(), in ComputeMaskedBits() 633 KnownZero3.countTrailingOnes())); in ComputeMaskedBits()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 76 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 78 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 45 EXPECT_EQ(128u, Minus1.countTrailingOnes()); in TEST() 90 EXPECT_EQ(128u, u128max.countTrailingOnes()); in TEST() 98 EXPECT_EQ(64u, u64max.countTrailingOnes()); in TEST() 107 EXPECT_EQ(0u, zero.countTrailingOnes()); in TEST() 117 EXPECT_EQ(1u, one.countTrailingOnes()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SmallBitVector.h | 257 return countTrailingOnes(Bits); in find_first_unset() 299 return countTrailingOnes(Bits); in find_next_unset()
|
D | BitVector.h | 290 unsigned Result = i * BITWORD_SIZE + countTrailingOnes(Copy); in find_first_unset_in() 837 unsigned Result = WordIndex * BITWORD_SIZE + countTrailingOnes(Word); in next_unset_in_word()
|
D | APInt.h | 1639 unsigned countTrailingOnes() const { in countTrailingOnes() function 1641 return llvm::countTrailingOnes(U.VAL); in countTrailingOnes()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AddressingModes.h | 240 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate() 248 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 180 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 168 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AddressingModes.h | 241 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate() 249 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 945 unsigned N = countTrailingOnes(STReturns); in handleCall() 1510 unsigned NumSTUses = countTrailingOnes(STUses); in handleSpecialFP() 1517 unsigned NumSTDefs = countTrailingOnes(STDefs); in handleSpecialFP() 1527 unsigned NumSTPopped = countTrailingOnes(STPopped); in handleSpecialFP()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 987 unsigned N = countTrailingOnes(STReturns); in handleCall() 1558 unsigned NumSTUses = countTrailingOnes(STUses); in handleSpecialFP() 1565 unsigned NumSTDefs = countTrailingOnes(STDefs); in handleSpecialFP() 1575 unsigned NumSTPopped = countTrailingOnes(STPopped); in handleSpecialFP()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1409 unsigned countTrailingOnes() const { in countTrailingOnes() function 1411 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 245 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1385 unsigned countTrailingOnes() const { in countTrailingOnes() function 1387 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 352 unsigned TrailZ = KnownZero.countTrailingOnes() + in computeKnownBitsMul() 353 KnownZero2.countTrailingOnes(); in computeKnownBitsMul() 903 if (KnownOne3.countTrailingOnes() > 0) in computeKnownBitsFromOperator() 1161 unsigned TrailZ = LocalKnownZero.countTrailingOnes(); in computeKnownBitsFromOperator() 1195 LocalKnownZero.countTrailingOnes())); in computeKnownBitsFromOperator() 1241 std::min(KnownZero2.countTrailingOnes(), in computeKnownBitsFromOperator() 1242 KnownZero3.countTrailingOnes())); in computeKnownBitsFromOperator() 1771 if (KnownZero.countTrailingOnes() >= ShiftVal) in isKnownNonZero()
|
/external/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 245 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 430 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 452 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | Local.cpp | 770 unsigned TrailZ = KnownZero.countTrailingOnes(); in getOrEnforceKnownAlignment()
|