/external/llvm-project/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-10.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 162 return Zero.countTrailingOnes(); in countMinTrailingZeros() 167 return One.countTrailingOnes(); in countMinTrailingOnes()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | KnownBits.h | 199 return Zero.countTrailingOnes(); in countMinTrailingZeros() 204 return One.countTrailingOnes(); in countMinTrailingOnes()
|
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 77 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
|
/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-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 77 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
|
/external/llvm-project/llvm/lib/Support/ |
D | KnownBits.cpp | 349 unsigned TrailBitsKnown0 = (LHS.Zero | LHS.One).countTrailingOnes(); in computeForMul() 350 unsigned TrailBitsKnown1 = (RHS.Zero | RHS.One).countTrailingOnes(); in computeForMul()
|
/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/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousEnumUsageCheck.cpp | 82 return EnumConst->getInitVal().countTrailingOnes() == in isMaxValAllBitSetLiteral()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 181 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 181 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | SmallBitVector.h | 254 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/ |
D | SmallBitVector.h | 254 return countTrailingOnes(Bits); in find_first_unset() 298 return countTrailingOnes(Bits); in find_next_unset()
|
D | BitVector.h | 289 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/ |
D | AArch64AddressingModes.h | 240 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate() 248 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 168 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
|
/external/swiftshader/third_party/llvm-10.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-project/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-10.0/llvm/lib/Target/AMDGPU/ |
D | SIModeRegister.cpp | 196 unsigned Width = countTrailingOnes<unsigned>(InstrMode.Mask >> Offset); in insertSetreg()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 998 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/ |
D | X86FloatingPoint.cpp | 998 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/ |
D | AlignmentFromAssumptions.cpp | 243 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIModeRegister.cpp | 200 unsigned Width = countTrailingOnes<unsigned>(InstrMode.Mask >> Offset); in insertSetreg()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1409 unsigned countTrailingOnes() const { in countTrailingOnes() function 1411 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
|