/external/llvm-project/llvm/unittests/ADT/ |
D | APIntTest.cpp | 49 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST() 60 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST() 71 EXPECT_EQ(15u, i61.countTrailingZeros()); in TEST() 80 EXPECT_EQ(8u, i61.countTrailingZeros()); in TEST() 92 EXPECT_EQ(65u, i65.countTrailingZeros()); in TEST() 100 EXPECT_EQ(64u, i65minus.countTrailingZeros()); in TEST() 109 EXPECT_EQ(0u, u128max.countTrailingZeros()); in TEST() 117 EXPECT_EQ(0u, u64max.countTrailingZeros()); in TEST() 126 EXPECT_EQ(128u, zero.countTrailingZeros()); in TEST() 136 EXPECT_EQ(0u, one.countTrailingZeros()); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 17 TEST(MathExtras, countTrailingZeros) { in TEST() argument 22 EXPECT_EQ(8u, countTrailingZeros(Z8)); in TEST() 23 EXPECT_EQ(16u, countTrailingZeros(Z16)); in TEST() 24 EXPECT_EQ(32u, countTrailingZeros(Z32)); in TEST() 25 EXPECT_EQ(64u, countTrailingZeros(Z64)); in TEST() 31 EXPECT_EQ(1u, countTrailingZeros(NZ8)); in TEST() 32 EXPECT_EQ(1u, countTrailingZeros(NZ16)); in TEST() 33 EXPECT_EQ(1u, countTrailingZeros(NZ32)); in TEST() 34 EXPECT_EQ(1u, countTrailingZeros(NZ64)); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 135 unsigned TZ = countTrailingZeros(Imm); in getSOImmValRotate() 148 unsigned TZ2 = countTrailingZeros(Imm & ~63U); in getSOImmValRotate() 216 return countTrailingZeros(Imm); in getThumbImmValShift() 235 return countTrailingZeros(Imm); in getThumbImm16ValShift() 323 unsigned RotAmt = countTrailingZeros(V); in getT2SOImmValRotate()
|
/external/llvm-project/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 16 TEST(MathExtras, countTrailingZeros) { in TEST() argument 21 EXPECT_EQ(8u, countTrailingZeros(Z8)); in TEST() 22 EXPECT_EQ(16u, countTrailingZeros(Z16)); in TEST() 23 EXPECT_EQ(32u, countTrailingZeros(Z32)); in TEST() 24 EXPECT_EQ(64u, countTrailingZeros(Z64)); in TEST() 30 EXPECT_EQ(1u, countTrailingZeros(NZ8)); in TEST() 31 EXPECT_EQ(1u, countTrailingZeros(NZ16)); in TEST() 32 EXPECT_EQ(1u, countTrailingZeros(NZ32)); in TEST() 33 EXPECT_EQ(1u, countTrailingZeros(NZ64)); in TEST()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TargetBuiltins.h | 209 EltTypeShift = llvm::countTrailingZeros(EltTypeMask); in SVETypeFlags() 210 MemEltTypeShift = llvm::countTrailingZeros(MemEltTypeMask); in SVETypeFlags() 211 MergeTypeShift = llvm::countTrailingZeros(MergeTypeMask); in SVETypeFlags() 212 SplatOperandMaskShift = llvm::countTrailingZeros(SplatOperandMask); in SVETypeFlags()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 143 unsigned TZ = countTrailingZeros(Imm); in getSOImmValRotate() 156 unsigned TZ2 = countTrailingZeros(Imm & ~63U); in getSOImmValRotate() 224 return countTrailingZeros(Imm); in getThumbImmValShift() 243 return countTrailingZeros(Imm); in getThumbImm16ValShift() 331 unsigned RotAmt = countTrailingZeros(V); in getT2SOImmValRotate()
|
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 135 unsigned TZ = countTrailingZeros(Imm); in getSOImmValRotate() 148 unsigned TZ2 = countTrailingZeros(Imm & ~63U); in getSOImmValRotate() 230 return countTrailingZeros(Imm); in getThumbImmValShift() 249 return countTrailingZeros(Imm); in getThumbImm16ValShift() 337 unsigned RotAmt = countTrailingZeros(V); in getT2SOImmValRotate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 192 return One.countTrailingZeros(); in countMaxTrailingZeros() 197 return Zero.countTrailingZeros(); in countMaxTrailingOnes()
|
/external/llvm-project/llvm/lib/Target/ARM/Utils/ |
D | ARMBaseInfo.cpp | 22 assert(countTrailingZeros((unsigned)BlockMask) != 0 && in expandPredBlockMask()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceBitVector.h | 203 return NumBitsPerPos * Pos + llvm::countTrailingZeros(Bits[Pos]); 222 return NumBitsPerPos * Pos + llvm::countTrailingZeros(B); 391 return i * BITWORD_SIZE + llvm::countTrailingZeros(Bits[i]); in find_first() 409 return WordPos * BITWORD_SIZE + llvm::countTrailingZeros(Copy); in find_next() 414 return i * BITWORD_SIZE + llvm::countTrailingZeros(Bits[i]); in find_next()
|
/external/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 60 countTrailingZeros<uint64_t>(Phdr.p_align)) in printProgramHeaders()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | KnownBits.h | 229 return One.countTrailingZeros(); in countMaxTrailingZeros() 234 return Zero.countTrailingZeros(); in countMaxTrailingOnes()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 44 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST() 58 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST() 72 EXPECT_EQ(65u, i65.countTrailingZeros()); in TEST() 80 EXPECT_EQ(64u, i65minus.countTrailingZeros()); in TEST() 89 EXPECT_EQ(0u, u128max.countTrailingZeros()); in TEST() 97 EXPECT_EQ(0u, u64max.countTrailingZeros()); in TEST() 106 EXPECT_EQ(128u, zero.countTrailingZeros()); in TEST() 116 EXPECT_EQ(0u, one.countTrailingZeros()); in TEST()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMBasicBlockInfo.h | 83 Bits = countTrailingZeros(Size); in internalKnownBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMBasicBlockInfo.h | 83 Bits = countTrailingZeros(Size); in internalKnownBits()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | BitVector.h | 160 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_first() 178 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); in find_next() 183 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_next()
|
/external/llvm/include/llvm/ADT/ |
D | BitVector.h | 160 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_first() 178 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); in find_next() 183 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_next()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNRegBankReassign.cpp | 380 ShiftedBank = (Bank + countTrailingZeros(LM)) % NUM_VGPR_BANKS; in analyzeInst() 386 (countTrailingZeros(LM) >> 1)) % in analyzeInst() 501 unsigned Shift = countTrailingZeros(LM); in getFreeBanks() 508 unsigned Shift = countTrailingZeros(LM) >> 1; in getFreeBanks()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ExecutionDomainFix.h | 96 return countTrailingZeros(AvailableDomains); in getFirstDomain()
|
/external/llvm/lib/Object/ |
D | ELFObjectFile.cpp | 28 1ULL << countTrailingZeros(uintptr_t(Obj.getBufferStart())); in createELFObjectFile()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ExecutionDomainFix.h | 105 return countTrailingZeros(AvailableDomains); in getFirstDomain()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 111 std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 198 return countTrailingZeros(Val, ZB_Undefined); 434 return countTrailingZeros(~Value, ZB);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 130 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_first() 161 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); in find_next() 166 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_next()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 130 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_first() 161 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); in find_next() 166 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_next()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 111 std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 198 return countTrailingZeros(Val, ZB_Undefined); 456 return countTrailingZeros(~Value, ZB);
|