/external/llvm/unittests/Support/ |
MathExtrasTest.cpp | 17 TEST(MathExtras, countTrailingZeros) { 22 EXPECT_EQ(8u, countTrailingZeros(Z8)); 23 EXPECT_EQ(16u, countTrailingZeros(Z16)); 24 EXPECT_EQ(32u, countTrailingZeros(Z32)); 25 EXPECT_EQ(64u, countTrailingZeros(Z64)); 31 EXPECT_EQ(1u, countTrailingZeros(NZ8)); 32 EXPECT_EQ(1u, countTrailingZeros(NZ16)); 33 EXPECT_EQ(1u, countTrailingZeros(NZ32)); 34 EXPECT_EQ(1u, countTrailingZeros(NZ64));
|
/external/v8/src/ |
compiler-intrinsics.h | 38 INLINE(static int CountTrailingZeros(uint32_t value)); 46 int CompilerIntrinsics::CountTrailingZeros(uint32_t value) { 59 int CompilerIntrinsics::CountTrailingZeros(uint32_t value) {
|
/external/chromium_org/v8/src/ |
compiler-intrinsics.h | 38 INLINE(static int CountTrailingZeros(uint32_t value)); 49 int CompilerIntrinsics::CountTrailingZeros(uint32_t value) { 66 int CompilerIntrinsics::CountTrailingZeros(uint32_t value) {
|
/external/llvm/unittests/ADT/ |
APIntTest.cpp | 36 EXPECT_EQ(0u, Minus1.countTrailingZeros()); 50 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); 64 EXPECT_EQ(65u, i65.countTrailingZeros()); 72 EXPECT_EQ(64u, i65minus.countTrailingZeros()); 81 EXPECT_EQ(0u, u128max.countTrailingZeros()); 89 EXPECT_EQ(0u, u64max.countTrailingZeros()); 98 EXPECT_EQ(128u, zero.countTrailingZeros()); 108 EXPECT_EQ(0u, one.countTrailingZeros());
|
/external/llvm/include/llvm/Support/ |
MathExtras.h | 48 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 75 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) LLVM_DELETED_FUNCTION; 79 inline std::size_t countTrailingZeros<uint32_t>(uint32_t Val, ZeroBehavior ZB) { 94 inline std::size_t countTrailingZeros<uint64_t>(uint64_t Val, ZeroBehavior ZB) { 189 return countTrailingZeros(Val, ZB_Undefined); 402 return countTrailingZeros(~Value); 410 return countTrailingZeros(~Value);
|
/external/llvm/include/llvm/ADT/ |
SmallBitVector.h | 219 return countTrailingZeros(Bits); 221 return countTrailingZeros(Bits); 237 return countTrailingZeros(Bits); 239 return countTrailingZeros(Bits);
|
BitVector.h | 163 return i * BITWORD_SIZE + countTrailingZeros((uint32_t)Bits[i]); 165 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 186 return WordPos * BITWORD_SIZE + countTrailingZeros((uint32_t)Copy); 188 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); 196 return i * BITWORD_SIZE + countTrailingZeros((uint32_t)Bits[i]); 198 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
|
SparseBitVector.h | 140 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 142 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 165 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); 167 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); 175 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 177 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
|
/external/llvm/lib/Object/ |
ELFObjectFile.cpp | 29 1ULL << countTrailingZeros(uintptr_t(Object->getBufferStart()));
|
/external/llvm/tools/llvm-objdump/ |
ELFDump.cpp | 66 << format("align 2**%u\n", countTrailingZeros<uint64_t>(pi->p_align))
|
/external/llvm/lib/CodeGen/ |
TargetRegisterInfo.cpp | 88 unsigned Offset = countTrailingZeros(Mask); 158 return TRI->getRegClass(I + countTrailingZeros(Common));
|
ExecutionDepsFix.cpp | 94 return countTrailingZeros(AvailableDomains); 567 unsigned domain = countTrailingZeros(available);
|
/external/llvm/lib/Target/Mips/ |
MipsAnalyzeImmediate.cpp | 43 unsigned Shamt = countTrailingZeros(Imm);
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMAddressingModes.h | 143 unsigned TZ = countTrailingZeros(Imm); 156 unsigned TZ2 = countTrailingZeros(Imm & ~63U); 224 return countTrailingZeros(Imm); 243 return countTrailingZeros(Imm); 331 unsigned RotAmt = countTrailingZeros(V);
|
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | 196 Shift = countTrailingZeros<uint64_t>(Imm);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 293 countTrailingZeros(Align)); 324 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); 616 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); 637 countTrailingZeros(Offset)); 647 unsigned(countTrailingZeros(TypeSize) + [all...] |
/external/llvm/lib/Target/X86/ |
X86FloatingPoint.cpp | [all...] |
/external/llvm/lib/Target/ARM/InstPrinter/ |
ARMInstPrinter.cpp | 668 int32_t lsb = countTrailingZeros(v); 946 unsigned NumTZ = countTrailingZeros(Mask); [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64BranchFixupPass.cpp | 90 Bits = countTrailingZeros(Size);
|
/external/llvm/lib/Target/AArch64/Utils/ |
AArch64BaseInfo.cpp | 975 Rotation = countTrailingZeros(Imm); [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 582 size_t Idx = countTrailingZeros(TypeSize / 8);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |
/external/llvm/tools/lto/ |
LTOModule.cpp | 475 uint32_t attr = align ? countTrailingZeros(def->getAlignment()) : 0;
|
/external/llvm/lib/Support/ |
APInt.cpp | 736 unsigned APInt::countTrailingZeros() const { 738 return std::min(unsigned(llvm::countTrailingZeros(VAL)), BitWidth); 744 Count += llvm::countTrailingZeros(pVal[i]); [all...] |