/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/llvm/lib/Object/ |
ELFObjectFile.cpp | 28 1ULL << countTrailingZeros(uintptr_t(Obj.getBufferStart()));
|
/external/llvm/tools/llvm-objdump/ |
ELFDump.cpp | 64 << format("align 2**%u\n", countTrailingZeros<uint64_t>(pi->p_align))
|
/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/CodeGen/ |
TargetRegisterInfo.cpp | 97 unsigned Offset = countTrailingZeros(Mask); 167 return TRI->getRegClass(I + countTrailingZeros(Common));
|
ExecutionDepsFix.cpp | 101 return countTrailingZeros(AvailableDomains); 642 unsigned domain = countTrailingZeros(available);
|
/external/llvm/include/llvm/Support/ |
MathExtras.h | 105 std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 192 return countTrailingZeros(Val, ZB_Undefined); 407 return countTrailingZeros(~Value, ZB);
|
/external/llvm/lib/Target/Mips/ |
MipsAnalyzeImmediate.cpp | 43 unsigned Shamt = countTrailingZeros(Imm);
|
/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/ADT/ |
BitVector.h | 159 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 177 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); 182 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
|
SparseBitVector.h | 135 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 155 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); 160 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
|
SmallBitVector.h | 218 return countTrailingZeros(Bits); 232 return countTrailingZeros(Bits);
|
APInt.h | [all...] |
/external/llvm/lib/Support/ |
ScaledNumber.cpp | 87 if (int Zeros = countTrailingZeros(Divisor)) {
|
APInt.cpp | 749 unsigned APInt::countTrailingZeros() const { 751 return std::min(unsigned(llvm::countTrailingZeros(VAL)), BitWidth); 757 Count += llvm::countTrailingZeros(pVal[i]); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
BDCE.cpp | 142 std::min(BitWidth, KnownOne.countTrailingZeros()+1));
|
/external/llvm/lib/Target/X86/ |
X86FloatingPoint.cpp | 860 unsigned KReg = countTrailingZeros(Kills); 861 unsigned DReg = countTrailingZeros(Defs); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | [all...] |
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugInfoEntry.cpp | 83 uint64_t Shift = countTrailingZeros(Val);
|
/external/llvm/lib/LTO/ |
LTOModule.cpp | 437 uint32_t attr = align ? countTrailingZeros(align) : 0;
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64AddressingModes.h | 238 I = countTrailingZeros(Imm);
|
/external/llvm/lib/Target/PowerPC/Disassembler/ |
PPCDisassembler.cpp | 340 unsigned Zeros = countTrailingZeros(Imm);
|
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | [all...] |
/external/llvm/lib/Target/ARM/InstPrinter/ |
ARMInstPrinter.cpp | 687 int32_t lsb = countTrailingZeros(v); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |