Searched refs:CountLeadingZeros32 (Results 1 – 15 of 15) sorted by relevance
46 TEST(Bits, CountLeadingZeros32) { in TEST() argument47 EXPECT_EQ(32u, CountLeadingZeros32(0)); in TEST()48 EXPECT_EQ(31u, CountLeadingZeros32(1)); in TEST()50 EXPECT_EQ(31u - shift, CountLeadingZeros32(1u << shift)); in TEST()52 EXPECT_EQ(4u, CountLeadingZeros32(0x0f0f0f0f)); in TEST()
268 int x_log2 = 31 - base::bits::CountLeadingZeros32(x_scaled); in RUNTIME_FUNCTION()272 int y_log2 = 31 - base::bits::CountLeadingZeros32(y_scaled); in RUNTIME_FUNCTION()
122 base::bits::CountLeadingZeros32(x)); in RUNTIME_FUNCTION()
60 inline unsigned CountLeadingZeros32(uint32_t value) { in CountLeadingZeros32() function
262 uint32_t mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32And()291 uint32_t msb = base::bits::CountLeadingZeros32(~mask); in VisitWord32And()344 uint32_t mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32Shl()374 unsigned mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32Shr()
271 uint32_t mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32And()300 uint32_t msb = base::bits::CountLeadingZeros32(~mask); in VisitWord32And()434 uint32_t mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32Shl()464 unsigned mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32Shr()
554 uint32_t msb = base::bits::CountLeadingZeros32(value); in VisitWord32And()588 msb = base::bits::CountLeadingZeros32(~value); in VisitWord32And()686 uint32_t msb = base::bits::CountLeadingZeros32(value); in VisitWord32Shr()
1117 uint32_t last = base::bits::CountLeadingZeros32(saves_fp) - 1; in AssemblePrologue()1153 uint32_t last = base::bits::CountLeadingZeros32(saves_fp) - 1; in AssembleReturn()
623 uint32_t mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32And()737 uint32_t mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32Shl()820 unsigned mask_msb = base::bits::CountLeadingZeros32(mask); in VisitWord32Shr()
448 int mask_msb = base::bits::CountLeadingZeros32(value); in IsContiguousMask32()
3538 alu_out = base::bits::CountLeadingZeros32(rs_u()); in DecodeTypeRegisterSPECIAL()3763 alu_out = base::bits::CountLeadingZeros32(rs_u()); in DecodeTypeRegisterSPECIAL2()
3519 alu_out = base::bits::CountLeadingZeros32(static_cast<int32_t>(rs_u())); in DecodeTypeRegisterSPECIAL()3832 alu_out = base::bits::CountLeadingZeros32(static_cast<uint32_t>(rs_u())); in DecodeTypeRegisterSPECIAL2()
2381 unsigned nlz = base::bits::CountLeadingZeros32(src); in Move()
2983 base::bits::CountLeadingZeros32(current_cell & slot_mask); in IsSlotInBlackObject()
4104 return H_CONSTANT_INT(base::bits::CountLeadingZeros32(i)); in New()