/external/libgav1/libgav1/src/utils/ |
D | common.h | 90 inline int CountLeadingZeros(uint32_t n) { in CountLeadingZeros() function 95 inline int CountLeadingZeros(uint64_t n) { in CountLeadingZeros() function 107 inline int CountLeadingZeros(uint32_t n) { in CountLeadingZeros() function 116 inline int CountLeadingZeros(uint64_t n) { in CountLeadingZeros() function 152 inline int CountLeadingZeros(T n) { in CountLeadingZeros() function 163 inline int CountLeadingZeros(uint32_t n) { return CountLeadingZeros<31>(n); } in CountLeadingZeros() function 165 inline int CountLeadingZeros(uint64_t n) { return CountLeadingZeros<63>(n); } in CountLeadingZeros() function 188 return 31 - CountLeadingZeros(static_cast<uint32_t>(n)); in FloorLog2() 193 return 31 - CountLeadingZeros(n); in FloorLog2() 198 return 63 - CountLeadingZeros(static_cast<uint64_t>(n)); in FloorLog2() [all …]
|
/external/v8/src/codegen/arm64/ |
D | utils-arm64.cc | 75 int CountLeadingZeros(uint64_t value, int width) { in CountLeadingZeros() function 86 return CountLeadingZeros(value, width) - 1; in CountLeadingSignBits() 88 return CountLeadingZeros(~value, width) - 1; in CountLeadingSignBits() 108 return 63 - CountLeadingZeros(value, 64); in HighestSetBitPosition()
|
D | utils-arm64.h | 34 int CountLeadingZeros(uint64_t value, int width);
|
D | assembler-arm64.cc | 126 int index = CountLeadingZeros(list_, kRegListSizeInBits); in PopHighestIndex() 4104 clz_a = CountLeadingZeros(a, kXRegSizeInBits); in IsImmLogical() 4105 int clz_c = CountLeadingZeros(c, kXRegSizeInBits); in IsImmLogical() 4126 clz_a = CountLeadingZeros(a, kXRegSizeInBits); in IsImmLogical() 4155 int multiplier_idx = CountLeadingZeros(d, kXRegSizeInBits) - 57; in IsImmLogical() 4174 int clz_b = (b == 0) ? -1 : CountLeadingZeros(b, kXRegSizeInBits); in IsImmLogical()
|
/external/libcxx/test/support/ |
D | hexfloat.h | 26 static int CountLeadingZeros(unsigned long long n) { in CountLeadingZeros() function 43 int exp2 = -static_cast<int>(Digits - CountLeadingZeros(m0)/4*4); in hexfloat()
|
/external/vixl/src/ |
D | compiler-intrinsics-vixl.cc | 37 return CountLeadingZeros(value, width) - 1; in CountLeadingSignBitsFallBack() 39 return CountLeadingZeros(~value, width) - 1; in CountLeadingSignBitsFallBack()
|
D | compiler-intrinsics-vixl.h | 128 inline int CountLeadingZeros(V value, int width = (sizeof(V) * 8)) {
|
D | utils-vixl.cc | 288 int shift = CountLeadingZeros(mantissa << (32 - 10)); in FPToFloat()
|
D | utils-vixl.h | 462 return (sizeof(value) * 8 - 1) - CountLeadingZeros(value); in HighestSetBitPosition() 1140 const int highest_significant_bit = 63 - CountLeadingZeros(mantissa); in FPRound()
|
/external/v8/src/wasm/baseline/ |
D | liftoff-register.h | 116 base::bits::CountLeadingZeros(kLiftoffAssemblerGpCacheRegs) - 1; 120 base::bits::CountLeadingZeros(kLiftoffAssemblerFpCacheRegs) - 1; 126 32 - base::bits::CountLeadingZeros<uint32_t>(kAfterMaxLiftoffRegCode - 1); 128 32 - base::bits::CountLeadingZeros<uint32_t>(kMaxGpRegCode); 130 32 - base::bits::CountLeadingZeros<uint32_t>(kMaxFpRegCode); 428 8 * sizeof(regs_) - 1 - base::bits::CountLeadingZeros(regs_); in GetLastRegSet()
|
/external/v8/src/base/ |
D | bits.h | 80 CountLeadingZeros(T value) { in CountLeadingZeros() function 96 return CountLeadingZeros<T, next_bits>(next_value) + add; in CountLeadingZeros() 101 return CountLeadingZeros(value); in CountLeadingZeros32() 104 return CountLeadingZeros(value); in CountLeadingZeros64()
|
D | bits.cc | 20 return 1u << (32 - CountLeadingZeros(value)); in RoundUpToPowerOfTwo32() 36 return uint64_t{1} << (64 - CountLeadingZeros(value)); in RoundUpToPowerOfTwo64()
|
D | bits-iterator.h | 25 return kMSBFirst ? 8 * sizeof(T) - 1 - CountLeadingZeros(bits_)
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | common.h | 160 int CountLeadingZeros(T integer_input) { in CountLeadingZeros() function 191 ? CountLeadingZeros(static_cast<U>(integer_input)) - 1 in CountLeadingSignBits() 193 ? CountLeadingZeros(2 * static_cast<U>(-integer_input) - 1) in CountLeadingSignBits() 360 int z_a_headroom_plus_1 = CountLeadingZeros(static_cast<uint32>(z_a.raw())); in log_x_for_x_greater_than_or_equal_to_1_impl() 375 int z_b_headroom = CountLeadingZeros(static_cast<uint32>(z_b.raw())) - 1; in log_x_for_x_greater_than_or_equal_to_1_impl() 417 int headroom_plus_one = CountLeadingZeros(static_cast<uint32>(x)); in GetReciprocal() 453 CountLeadingZeros(static_cast<uint32>(input)) - 1; in GetInvSqrtQuantizedMultiplierExp()
|
/external/angle/src/common/ |
D | mathutil_unittest.cpp | 204 TEST(MathUtilTest, CountLeadingZeros) in TEST() argument 209 EXPECT_EQ(i, CountLeadingZeros(iLeadingZeros)); in TEST() 211 EXPECT_EQ(32u, CountLeadingZeros(0)); in TEST()
|
D | mathutil.h | 569 inline unsigned int CountLeadingZeros(uint32_t x) in CountLeadingZeros() function
|
/external/v8/src/heap/ |
D | object-start-bitmap.h | 107 const int leading_zeroes = v8::base::bits::CountLeadingZeros(byte); in FindBasePtr()
|
D | object-stats.cc | 351 return kSizetSize * 8 - 1 - base::bits::CountLeadingZeros(size); in Log2ForSize()
|
/external/v8/src/heap/cppgc/ |
D | object-start-bitmap.h | 110 const int leading_zeroes = v8::base::bits::CountLeadingZeros(byte); in FindHeader()
|
/external/v8/src/objects/ |
D | bigint.cc | 940 int msd_leading_zeros = base::bits::CountLeadingZeros(x_msd); in CompareToDouble() 1087 int msd_leading_zeros = base::bits::CountLeadingZeros(x_msd); in ToDouble() 1604 int shift = base::bits::CountLeadingZeros(divisor->digit(n - 1)); in AbsoluteDivLarge() 2080 const int msd_leading_zeros = base::bits::CountLeadingZeros(msd); in ToStringBasePowerOfTwo() 2145 length * kDigitBits - base::bits::CountLeadingZeros(x->digit(length - 1)); in ToStringGeneric() 2669 int s = base::bits::CountLeadingZeros(divisor); in digit_div()
|
/external/vixl/src/aarch64/ |
D | operands-aarch64.cc | 49 int index = CountLeadingZeros(list_); in PopHighestIndex()
|
D | logic-aarch64.cc | 107 const int highest_significant_bit = 63 - CountLeadingZeros(src); in UFixedToDouble() 134 const int highest_significant_bit = 63 - CountLeadingZeros(src); in UFixedToFloat() 163 const int highest_significant_bit = 63 - CountLeadingZeros(src); in UFixedToFloat16() 1688 result[i] = CountLeadingZeros(src.Uint(vform, i), laneSizeInBits); in clz() 1739 } else if ((shift_val > CountLeadingZeros(lj_src_val)) && in sshl() 1792 if ((shift_val > CountLeadingZeros(lj_src_val)) && (lj_src_val != 0)) { in ushl()
|
/external/v8/src/wasm/ |
D | wasm-external-refs.cc | 119 uint32_t leading_zeros = base::bits::CountLeadingZeros(input); in uint64_to_float32_wrapper()
|
/external/v8/src/execution/arm64/ |
D | simulator-logic-arm64.cc | 60 const int highest_significant_bit = 63 - CountLeadingZeros(src, 64); in UFixedToDouble() 85 const int highest_significant_bit = 63 - CountLeadingZeros(src, 64); in UFixedToFloat() 151 int shift = CountLeadingZeros(mantissa << (32 - 10), 32); in FPToFloat() 1519 result[i] = CountLeadingZeros(src.Uint(vform, i), laneSizeInBits); in clz() 1561 } else if ((shift_val > CountLeadingZeros(lj_src_val, 64)) && in sshl() 1612 if ((shift_val > CountLeadingZeros(lj_src_val, 64)) && (lj_src_val != 0)) { in ushl()
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 2138 if (shift_bits <= base::bits::CountLeadingZeros(mask) && in ReduceWord32EqualForConstantRhs() 2139 shift_bits <= base::bits::CountLeadingZeros(rhs) && in ReduceWord32EqualForConstantRhs()
|