Searched refs:CountTrailingZeros32 (Results 1 – 13 of 13) sorted by relevance
/external/v8/test/unittests/base/ |
D | bits-unittest.cc | 67 TEST(Bits, CountTrailingZeros32) { in TEST() argument 68 EXPECT_EQ(32u, CountTrailingZeros32(0)); in TEST() 69 EXPECT_EQ(31u, CountTrailingZeros32(0x80000000)); in TEST() 71 EXPECT_EQ(shift, CountTrailingZeros32(1u << shift)); in TEST() 73 EXPECT_EQ(4u, CountTrailingZeros32(0xf0f0f0f0)); in TEST()
|
/external/v8/src/ |
D | layout-descriptor.cc | 12 using v8::base::bits::CountTrailingZeros32; 147 int sequence_length = CountTrailingZeros32(value) - layout_bit_index; in IsTagged() 160 int cur_sequence_length = CountTrailingZeros32(value); in IsTagged()
|
/external/v8/src/heap/ |
D | mark-compact-inl.h | 149 uint32_t trailing_zeros = base::bits::CountTrailingZeros32(current_cell_); in Next()
|
D | mark-compact.cc | 2955 (base::bits::CountTrailingZeros32(cells[cell_index]) > in IsSlotInBlackObject() 2956 base::bits::CountTrailingZeros32(cells[cell_index] | index_mask))) { in IsSlotInBlackObject()
|
/external/v8/src/base/ |
D | bits.h | 98 inline unsigned CountTrailingZeros32(uint32_t value) { in CountTrailingZeros32() function
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 109 unsigned const shift = base::bits::CountTrailingZeros32(divisor); in Uint32Div() 862 mleft.right().Value() >= base::bits::CountTrailingZeros32(mask)) { in ReduceWord32And() 903 if (mleftleft.right().Is(base::bits::CountTrailingZeros32(mask))) { in ReduceWord32And() 915 if (mleftright.right().Is(base::bits::CountTrailingZeros32(mask))) { in ReduceWord32And()
|
/external/v8/src/compiler/mips/ |
D | instruction-selector-mips.cc | 265 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32And() 347 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shl() 377 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shr()
|
/external/v8/src/compiler/arm64/ |
D | instruction-selector-arm64.cc | 626 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32And() 740 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shl() 823 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shr() 1879 base::bits::CountTrailingZeros32(m.right().Value())), in VisitBranch()
|
/external/v8/src/compiler/arm/ |
D | instruction-selector-arm.cc | 557 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(value)); in VisitWord32And() 589 uint32_t lsb = base::bits::CountTrailingZeros32(~value); in VisitWord32And() 688 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(value)); in VisitWord32Shr()
|
D | code-generator-arm.cc | 1118 uint32_t first = base::bits::CountTrailingZeros32(saves_fp); in AssemblePrologue() 1154 uint32_t first = base::bits::CountTrailingZeros32(saves_fp); in AssembleReturn()
|
/external/v8/src/compiler/mips64/ |
D | instruction-selector-mips64.cc | 274 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32And() 437 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shl() 467 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shr()
|
/external/v8/src/compiler/ppc/ |
D | instruction-selector-ppc.cc | 449 int mask_lsb = base::bits::CountTrailingZeros32(value); in IsContiguousMask32()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 2382 unsigned ntz = base::bits::CountTrailingZeros32(src); in Move()
|