Home
last modified time | relevance | path

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

1234

/external/llvm-project/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-10.0/llvm/include/llvm/Support/
DKnownBits.h162 return Zero.countTrailingOnes(); in countMinTrailingZeros()
167 return One.countTrailingOnes(); in countMinTrailingOnes()
/external/llvm-project/llvm/include/llvm/Support/
DKnownBits.h199 return Zero.countTrailingOnes(); in countMinTrailingZeros()
204 return One.countTrailingOnes(); in countMinTrailingOnes()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp77 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp76 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp77 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp349 unsigned TrailBitsKnown0 = (LHS.Zero | LHS.One).countTrailingOnes(); in computeForMul()
350 unsigned TrailBitsKnown1 = (RHS.Zero | RHS.One).countTrailingOnes(); in computeForMul()
/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/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousEnumUsageCheck.cpp82 return EnumConst->getInitVal().countTrailingOnes() == in isMaxValAllBitSetLiteral()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp181 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp181 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm-project/llvm/include/llvm/ADT/
DSmallBitVector.h254 return countTrailingOnes(Bits); in find_first_unset()
298 return countTrailingOnes(Bits); in find_next_unset()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallBitVector.h254 return countTrailingOnes(Bits); in find_first_unset()
298 return countTrailingOnes(Bits); in find_next_unset()
DBitVector.h289 unsigned Result = i * BITWORD_SIZE + countTrailingOnes(Copy); in find_first_unset_in()
853 unsigned Result = WordIndex * BITWORD_SIZE + countTrailingOnes(Word); in next_unset_in_word()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h240 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate()
248 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
/external/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp168 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
/external/swiftshader/third_party/llvm-10.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-project/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-10.0/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp196 unsigned Width = countTrailingOnes<unsigned>(InstrMode.Mask >> Offset); in insertSetreg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FloatingPoint.cpp998 unsigned N = countTrailingOnes(STReturns); in handleCall()
1572 unsigned NumSTUses = countTrailingOnes(STUses); in handleSpecialFP()
1579 unsigned NumSTDefs = countTrailingOnes(STDefs); in handleSpecialFP()
1589 unsigned NumSTPopped = countTrailingOnes(STPopped); in handleSpecialFP()
/external/llvm-project/llvm/lib/Target/X86/
DX86FloatingPoint.cpp998 unsigned N = countTrailingOnes(STReturns); in handleCall()
1575 unsigned NumSTUses = countTrailingOnes(STUses); in handleSpecialFP()
1582 unsigned NumSTDefs = countTrailingOnes(STDefs); in handleSpecialFP()
1592 unsigned NumSTPopped = countTrailingOnes(STPopped); in handleSpecialFP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp243 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp200 unsigned Width = countTrailingOnes<unsigned>(InstrMode.Mask >> Offset); in insertSetreg()
/external/llvm/include/llvm/ADT/
DAPInt.h1409 unsigned countTrailingOnes() const { in countTrailingOnes() function
1411 return llvm::countTrailingOnes(VAL); in countTrailingOnes()

1234