/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 | 60 countTrailingZeros<uint64_t>(Phdr.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/Target/Mips/ |
MipsAnalyzeImmediate.cpp | 43 unsigned Shamt = countTrailingZeros(Imm);
|
/external/llvm/lib/CodeGen/ |
TargetRegisterInfo.cpp | 120 unsigned Offset = countTrailingZeros(Mask); 194 TRI->getRegClass(I + countTrailingZeros(Common));
|
ExecutionDepsFix.cpp | 101 return countTrailingZeros(AvailableDomains); 640 unsigned domain = countTrailingZeros(available);
|
/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 | 134 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]); 154 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy); 159 return i * BITWORD_SIZE + countTrailingZeros(Bits[i]);
|
SmallBitVector.h | 218 return countTrailingZeros(Bits); 232 return countTrailingZeros(Bits);
|
APInt.h | [all...] |
/external/llvm/include/llvm/Support/ |
MathExtras.h | 109 std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 196 return countTrailingZeros(Val, ZB_Undefined); 411 return countTrailingZeros(~Value, ZB);
|
/external/llvm/unittests/ADT/ |
APIntTest.cpp | 44 EXPECT_EQ(0u, Minus1.countTrailingZeros()); 58 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); 72 EXPECT_EQ(65u, i65.countTrailingZeros()); 80 EXPECT_EQ(64u, i65minus.countTrailingZeros()); 89 EXPECT_EQ(0u, u128max.countTrailingZeros()); 97 EXPECT_EQ(0u, u64max.countTrailingZeros()); 106 EXPECT_EQ(128u, zero.countTrailingZeros()); 116 EXPECT_EQ(0u, one.countTrailingZeros()); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
PaddingChecker.cpp | 239 llvm::countTrailingZeros((unsigned long long)NewOffset.getQuantity()); 240 // If NewOffset is zero, then countTrailingZeros will be 64. Shifting
|
/external/llvm/lib/Analysis/ |
DemandedBits.cpp | 128 std::min(BitWidth, KnownOne.countTrailingZeros()+1));
|
/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/Target/X86/ |
X86FloatingPoint.cpp | 850 unsigned KReg = countTrailingZeros(Kills); 851 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/Target/Hexagon/MCTargetDesc/ |
HexagonShuffler.cpp | 94 << countTrailingZeros(getUnits()));
|
/external/llvm/lib/LTO/ |
LTOModule.cpp | 428 uint32_t attr = align ? countTrailingZeros(align) : 0;
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64AddressingModes.h | 238 I = countTrailingZeros(Imm);
|
/external/llvm/lib/Target/ARM/InstPrinter/ |
ARMInstPrinter.cpp | 689 int32_t lsb = countTrailingZeros(v); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |