Home
last modified time | relevance | path

Searched refs:countTrailingOnes (Results 1 – 25 of 69) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp50 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/
DKnownBits.h137 return Zero.countTrailingOnes(); in countMinTrailingZeros()
142 return One.countTrailingOnes(); in countMinTrailingOnes()
DMathExtras.h478 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/external/swiftshader/third_party/LLVM/unittests/ADT/
DAPIntTest.cpp37 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/
DValueTracking.cpp212 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/
DARMUnwindOpAsm.cpp76 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp78 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/external/llvm/unittests/ADT/
DAPIntTest.cpp45 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/
DSmallBitVector.h257 return countTrailingOnes(Bits); in find_first_unset()
299 return countTrailingOnes(Bits); in find_next_unset()
DBitVector.h290 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()
DAPInt.h1639 unsigned countTrailingOnes() const { in countTrailingOnes() function
1641 return llvm::countTrailingOnes(U.VAL); in countTrailingOnes()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h240 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/
DHexagonGenExtract.cpp180 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp168 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h241 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate()
249 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp945 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/
DX86FloatingPoint.cpp987 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/
DAPInt.h1409 unsigned countTrailingOnes() const { in countTrailingOnes() function
1411 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp245 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1385 unsigned countTrailingOnes() const { in countTrailingOnes() function
1387 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
/external/llvm/lib/Analysis/
DValueTracking.cpp352 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/
DAlignmentFromAssumptions.cpp245 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
/external/llvm/include/llvm/Support/
DMathExtras.h430 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h452 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp770 unsigned TrailZ = KnownZero.countTrailingOnes(); in getOrEnforceKnownAlignment()

123