Home
last modified time | relevance | path

Searched refs:LeadingZeros (Results 1 – 25 of 35) sorted by relevance

12

/external/libcxx/test/support/
Dhexfloat.h30 int LeadingZeros = 0; in CountLeadingZeros() local
32 ++LeadingZeros; in CountLeadingZeros()
35 return LeadingZeros; in CountLeadingZeros()
/external/llvm-project/libcxx/test/support/
Dhexfloat.h29 int LeadingZeros = 0; in CountLeadingZeros() local
31 ++LeadingZeros; in CountLeadingZeros()
34 return LeadingZeros; in CountLeadingZeros()
/external/llvm-project/llvm/lib/Support/
DScaledNumber.cpp47 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64() local
48 int Shift = 64 - LeadingZeros; in multiply64()
49 if (LeadingZeros) in multiply64()
50 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
167 int LeadingZeros = ScaledNumberBase::countLeadingZeros64(D); in toStringAPFloat() local
168 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros); in toStringAPFloat()
170 assert(Shift <= LeadingZeros); in toStringAPFloat()
171 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale); in toStringAPFloat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DScaledNumber.cpp47 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64() local
48 int Shift = 64 - LeadingZeros; in multiply64()
49 if (LeadingZeros) in multiply64()
50 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
167 int LeadingZeros = ScaledNumberBase::countLeadingZeros64(D); in toStringAPFloat() local
168 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros); in toStringAPFloat()
170 assert(Shift <= LeadingZeros); in toStringAPFloat()
171 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale); in toStringAPFloat()
/external/llvm/lib/Support/
DScaledNumber.cpp48 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64() local
49 int Shift = 64 - LeadingZeros; in multiply64()
50 if (LeadingZeros) in multiply64()
51 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
168 int LeadingZeros = ScaledNumberBase::countLeadingZeros64(D); in toStringAPFloat() local
169 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros); in toStringAPFloat()
171 assert(Shift <= LeadingZeros); in toStringAPFloat()
172 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale); in toStringAPFloat()
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dfloat_conversion.cc318 int LeadingZeros(uint64_t v) { return base_internal::CountLeadingZeros64(v); } in LeadingZeros() function
319 int LeadingZeros(uint128 v) { in LeadingZeros() function
519 const int total_bits = input_bits - LeadingZeros(v) + exp; in FormatFFast()
664 const int total_bits = sizeof(Int) * 8 - LeadingZeros(mantissa) + exp; in FormatF()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc304 int LeadingZeros(uint64_t v) { return base_internal::CountLeadingZeros64(v); } in LeadingZeros() function
305 int LeadingZeros(uint128 v) { in LeadingZeros() function
505 const int total_bits = input_bits - LeadingZeros(v) + exp; in FormatFFast()
650 const int total_bits = sizeof(Int) * 8 - LeadingZeros(mantissa) + exp; in FormatF()
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc324 int LeadingZeros(uint64_t v) { return countl_zero(v); } in LeadingZeros() function
325 int LeadingZeros(uint128 v) { in LeadingZeros() function
524 const int total_bits = input_bits - LeadingZeros(v) + exp; in FormatFFast()
669 const int total_bits = sizeof(Int) * 8 - LeadingZeros(mantissa) + exp; in FormatF()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc304 int LeadingZeros(uint64_t v) { return base_internal::CountLeadingZeros64(v); } in LeadingZeros() function
305 int LeadingZeros(uint128 v) { in LeadingZeros() function
505 const int total_bits = input_bits - LeadingZeros(v) + exp; in FormatFFast()
650 const int total_bits = sizeof(Int) * 8 - LeadingZeros(mantissa) + exp; in FormatF()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set.h200 int LeadingZeros(T x) {
237 return (sizeof(T) * CHAR_BIT - container_internal::LeadingZeros(mask_) -
249 int LeadingZeros() const {
252 return container_internal::LeadingZeros(mask_ << extra_bits) >> Shift;
479 return n ? ~size_t{} >> LeadingZeros(n) : 1;
1530 empty_before.LeadingZeros()) < Group::kWidth;
Draw_hash_set_test.cc140 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
143 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
146 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
149 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
152 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
155 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
/external/abseil-cpp/absl/container/internal/
Draw_hash_set.h185 int LeadingZeros(T x) {
222 return (sizeof(T) * CHAR_BIT - container_internal::LeadingZeros(mask_) -
234 int LeadingZeros() const {
237 return container_internal::LeadingZeros(mask_ << extra_bits) >> Shift;
474 return n ? ~size_t{} >> LeadingZeros(n) : 1;
1456 empty_before.LeadingZeros()) < Group::kWidth;
Draw_hash_set_test.cc139 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
142 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
145 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
148 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
151 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
154 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h200 int LeadingZeros(T x) {
237 return (sizeof(T) * CHAR_BIT - container_internal::LeadingZeros(mask_) -
249 int LeadingZeros() const {
252 return container_internal::LeadingZeros(mask_ << extra_bits) >> Shift;
489 return n ? ~size_t{} >> LeadingZeros(n) : 1;
1476 empty_before.LeadingZeros()) < Group::kWidth;
Draw_hash_set_test.cc140 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
143 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
146 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
149 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
152 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
155 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set.h200 int LeadingZeros(T x) {
237 return (sizeof(T) * CHAR_BIT - container_internal::LeadingZeros(mask_) -
249 int LeadingZeros() const {
252 return container_internal::LeadingZeros(mask_ << extra_bits) >> Shift;
489 return n ? ~size_t{} >> LeadingZeros(n) : 1;
1476 empty_before.LeadingZeros()) < Group::kWidth;
Draw_hash_set_test.cc140 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
143 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
146 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
149 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
152 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
155 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h185 int LeadingZeros(T x) {
222 return (sizeof(T) * CHAR_BIT - container_internal::LeadingZeros(mask_) -
234 int LeadingZeros() const {
237 return container_internal::LeadingZeros(mask_ << extra_bits) >> Shift;
474 return n ? ~size_t{} >> LeadingZeros(n) : 1;
1456 empty_before.LeadingZeros()) < Group::kWidth;
Draw_hash_set_test.cc139 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
142 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
145 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
148 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
151 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
154 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc148 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
151 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
154 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
157 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
160 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
163 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
Draw_hash_set.h238 uint32_t LeadingZeros() const {
1550 empty_before.LeadingZeros()) < Group::kWidth;
/external/boringssl/src/crypto/dh_extra/
Ddh_test.cc448 TEST(DHTest, LeadingZeros) { in TEST() argument
/external/llvm/include/llvm/ADT/
DAPInt.h1600 mu magicu(unsigned LeadingZeros = 0) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1578 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1428 unsigned LeadingZeros = KnownOne.countLeadingZeros(); in visitCallInst() local
1429 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
1432 APInt(BitWidth, LeadingZeros))); in visitCallInst()

12