Home
last modified time | relevance | path

Searched refs:countTrailingZeros (Results 1 – 25 of 172) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp49 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/
DMathExtrasTest.cpp17 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-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp17 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/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h143 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h133 unsigned TZ = countTrailingZeros(Imm); in getSOImmValRotate()
146 unsigned TZ2 = countTrailingZeros(Imm & ~63U); in getSOImmValRotate()
214 return countTrailingZeros(Imm); in getThumbImmValShift()
233 return countTrailingZeros(Imm); in getThumbImm16ValShift()
321 unsigned RotAmt = countTrailingZeros(V); in getT2SOImmValRotate()
/external/swiftshader/third_party/LLVM/unittests/ADT/
DAPIntTest.cpp36 EXPECT_EQ(0u, Minus1.countTrailingZeros()); in TEST()
50 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST()
64 EXPECT_EQ(64u, i65minus.countTrailingZeros()); in TEST()
73 EXPECT_EQ(0u, u128max.countTrailingZeros()); in TEST()
81 EXPECT_EQ(0u, u64max.countTrailingZeros()); in TEST()
90 EXPECT_EQ(128u, zero.countTrailingZeros()); in TEST()
100 EXPECT_EQ(0u, one.countTrailingZeros()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DKnownBits.h167 return One.countTrailingZeros(); in countMaxTrailingZeros()
172 return Zero.countTrailingZeros(); in countMaxTrailingOnes()
DMathExtras.h120 std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
207 return countTrailingZeros(Val, ZB_Undefined);
482 return countTrailingZeros<T>(~Value, ZB);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBasicBlockInfo.h80 Bits = countTrailingZeros(Size); in internalKnownBits()
/external/swiftshader/third_party/subzero/src/
DIceBitVector.h203 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/unittests/ADT/
DAPIntTest.cpp44 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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DBitVector.h160 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/
DBitVector.h160 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()
DSparseBitVector.h134 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
154 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy);
159 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
DSmallBitVector.h214 return countTrailingZeros(Bits); in find_first()
228 return countTrailingZeros(Bits); in find_next()
/external/llvm/tools/llvm-objdump/
DELFDump.cpp60 countTrailingZeros<uint64_t>(Phdr.p_align)) in printProgramHeaders()
/external/llvm/include/llvm/Support/
DMathExtras.h111 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-7.0/llvm/include/llvm/CodeGen/
DExecutionDomainFix.h97 return countTrailingZeros(AvailableDomains); in getFirstDomain()
/external/llvm/lib/Object/
DELFObjectFile.cpp28 1ULL << countTrailingZeros(uintptr_t(Obj.getBufferStart())); in createELFObjectFile()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h111 std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
198 return countTrailingZeros(Val, ZB_Undefined);
456 return countTrailingZeros(~Value, ZB);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSparseBitVector.h131 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_first()
162 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); in find_next()
167 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); in find_next()
/external/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp43 unsigned Shamt = countTrailingZeros(Imm); in GetInstSeqLsSLL()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp47 unsigned Shamt = countTrailingZeros(Imm); in GetInstSeqLsSLL()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DResourcePressureView.cpp53 R2VIndex += countTrailingZeros(RR.second); in onEvent()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DELFDump.cpp150 countTrailingZeros<uint64_t>(Phdr.p_align)) in printProgramHeaders()

1234567