HomeSort by relevance Sort by last modified time
    Searched full:countleadingzeros (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/llvm/unittests/Support/
MathExtrasTest.cpp 37 TEST(MathExtras, countLeadingZeros) {
42 EXPECT_EQ(8u, countLeadingZeros(Z8));
43 EXPECT_EQ(16u, countLeadingZeros(Z16));
44 EXPECT_EQ(32u, countLeadingZeros(Z32));
45 EXPECT_EQ(64u, countLeadingZeros(Z64));
51 EXPECT_EQ(2u, countLeadingZeros(NZ8));
52 EXPECT_EQ(10u, countLeadingZeros(NZ16));
53 EXPECT_EQ(26u, countLeadingZeros(NZ32));
54 EXPECT_EQ(58u, countLeadingZeros(NZ64));
56 EXPECT_EQ(8u, countLeadingZeros(0x00F000FFu))
    [all...]
  /external/chromium_org/v8/src/arm64/
utils-arm64.cc 16 int CountLeadingZeros(uint64_t value, int width) {
33 return CountLeadingZeros(value, width) - 1;
35 return CountLeadingZeros(~value, width) - 1;
utils-arm64.h 56 int CountLeadingZeros(uint64_t value, int width);
assembler-arm64.cc 85 int index = CountLeadingZeros(list_, kRegListSizeInBits);
    [all...]
  /external/vixl/src/
utils-vixl.cc 60 int CountLeadingZeros(uint64_t value, int width) {
75 return CountLeadingZeros(value, width) - 1;
77 return CountLeadingZeros(~value, width) - 1;
utils-vixl.h 154 int CountLeadingZeros(uint64_t value, int width);
  /frameworks/minikin/libs/minikin/
SparseBitSet.cpp 108 int SparseBitSet::CountLeadingZeros(element x) {
122 return (fromIndex & ~kElMask) + CountLeadingZeros(e);
127 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e);
140 return (page << kLogValuesPerPage) + (j << kLogBitsPerEl) + CountLeadingZeros(e);
  /external/llvm/include/llvm/Support/
MathExtras.h 120 countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
142 countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) LLVM_DELETED_FUNCTION;
146 inline std::size_t countLeadingZeros<uint32_t>(uint32_t Val, ZeroBehavior ZB) {
161 inline std::size_t countLeadingZeros<uint64_t>(uint64_t Val, ZeroBehavior ZB) {
215 return countLeadingZeros(Val, ZB_Undefined) ^
396 return countLeadingZeros(~Value);
404 return countLeadingZeros(~Value);
453 return 31 - countLeadingZeros(Value);
459 return 63 - countLeadingZeros(Value);
466 return 32 - countLeadingZeros(Value - 1)
    [all...]
ScaledNumber.h 90 int Shift = 64 - Width - countLeadingZeros(Digits);
197 int32_t LocalFloor = sizeof(Digits) * 8 - countLeadingZeros(Digits) - 1;
309 int32_t ShiftL = std::min<int32_t>(countLeadingZeros(LDigits), ScaleDiff);
430 static int countLeadingZeros32(uint32_t N) { return countLeadingZeros(N); }
431 static int countLeadingZeros64(uint64_t N) { return countLeadingZeros(N); }
  /external/llvm/unittests/ADT/
APIntTest.cpp 33 EXPECT_EQ(0u, Minus1.countLeadingZeros());
47 EXPECT_EQ(0u, i33minus2.countLeadingZeros());
60 EXPECT_EQ(65u, i65.countLeadingZeros());
69 EXPECT_EQ(0u, i65minus.countLeadingZeros());
79 EXPECT_EQ(0u, u128max.countLeadingZeros());
86 EXPECT_EQ(64u, u64max.countLeadingZeros());
95 EXPECT_EQ(128u, zero.countLeadingZeros());
105 EXPECT_EQ(127u, one.countLeadingZeros());
  /external/llvm/lib/Support/
ScaledNumber.cpp 47 unsigned LeadingZeros = countLeadingZeros(Upper);
65 if (int Zeros = countLeadingZeros(Dividend64)) {
97 if (int Zeros = countLeadingZeros(Dividend)) {
  /external/chromium_org/third_party/WebKit/Source/wtf/
BitwiseOperations.h 35 // countLeadingZeros() is a bitwise operation that counts the number of leading
  /frameworks/minikin/include/minikin/
SparseBitSet.h 79 static int CountLeadingZeros(element x);
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 62 int msksize = 32 - countLeadingZeros(value);
143 SDValue MskSize = getI32Imm(32 - countLeadingZeros((uint32_t)Val));
  /external/llvm/include/llvm/ADT/
APInt.h 213 /// out-of-line slow case for countLeadingZeros
    [all...]
  /external/llvm/lib/Target/ARM/
Thumb2InstrInfo.cpp 295 unsigned RotAmt = countLeadingZeros(ThisVal);
312 unsigned RotAmt = countLeadingZeros(ThisVal);
501 unsigned RotAmt = countLeadingZeros<unsigned>(Offset);
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64AddressingModes.h 248 uint32_t clz = countLeadingZeros(eltVal) - (64 - size);
303 int len = 31 - countLeadingZeros((N << 6) | (~imms & 0x3f));
332 int len = 31 - countLeadingZeros((N << 6) | (~imms & 0x3f));
  /art/compiler/dex/quick/arm64/
utility_arm64.cc 160 static int CountLeadingZeros(bool is_wide, uint64_t value) {
211 unsigned lead_zero = CountLeadingZeros(is_wide, value);
212 unsigned lead_one = CountLeadingZeros(is_wide, ~value);
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 493 unsigned NLZ = DemandedMask.countLeadingZeros();
573 uint32_t NLZ = DemandedMask.countLeadingZeros();
680 if (DemandedMask.countLeadingZeros() <= ShiftAmt)
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64ExpandPseudoInsts.cpp 241 return (countLeadingZeros(Chunk) + CountTrailingOnes_64(Chunk)) == 64;
516 unsigned LZ = countLeadingZeros(Imm);
  /external/llvm/lib/Analysis/
ValueTracking.cpp 59 unsigned NLZ = (CLHS->getValue()+1).countLeadingZeros();
68 unsigned NLZ2 = CLHS->getValue().countLeadingZeros();
205 unsigned LeadingZeros = (Upper->getValue() - 1).countLeadingZeros();
392 unsigned RHSUnknownLeadingOnes = KnownOne2.countLeadingZeros();
    [all...]
BlockFrequencyInfoImpl.cpp 220 Shift = 33 - countLeadingZeros(Total);
  /external/vixl/src/a64/
simulator-a64.cc     [all...]
assembler-a64.cc 50 int index = CountLeadingZeros(list_, kRegListSizeInBits);
    [all...]
  /external/llvm/lib/IR/
ConstantRange.cpp 690 APInt Zeros(getBitWidth(), getUnsignedMax().countLeadingZeros());

Completed in 338 milliseconds

1 2 3