Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
DAPInt.cpp1270 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1276 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/third_party/skia/third_party/externals/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()
/third_party/node/deps/v8/src/objects/
Dswiss-hash-table-helpers.h154 int LeadingZeros() const { in LeadingZeros() function
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc151 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).LeadingZeros()), 3); in TEST()
154 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).LeadingZeros()), 15); in TEST()
157 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).LeadingZeros()), 0); in TEST()
160 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).LeadingZeros()), 3); in TEST()
163 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).LeadingZeros()), 7); in TEST()
166 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).LeadingZeros()), 0); in TEST()
Draw_hash_set.h237 uint32_t LeadingZeros() const {
1598 empty_before.LeadingZeros()) < Group::kWidth;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1578 mu magicu(unsigned LeadingZeros = 0) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1876 mu magicu(unsigned LeadingZeros = 0) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1426 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1432 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp5095 unsigned LeadingZeros = countLeadingZeros(Mask); in Select() local
5096 SDValue Imm = CurDAG->getTargetConstant(LeadingZeros, dl, MVT::i64); in Select()