Searched refs:CTZ (Results 1 – 22 of 22) sorted by relevance
/art/runtime/base/ |
D | bit_utils_test.cc | 45 static_assert(0 == CTZ<uint32_t>(1u), "TestCTZ32#1"); 46 static_assert(1 == CTZ<uint32_t>(2u), "TestCTZ32#2"); 47 static_assert(15 == CTZ<uint32_t>(0x45678000u), "TestCTZ32#3"); 48 static_assert(16 == CTZ<uint32_t>(0x43210000u), "TestCTZ32#4"); 49 static_assert(30 == CTZ<uint32_t>(0xc0000000u), "TestCTZ32#5"); 50 static_assert(31 == CTZ<uint32_t>(0x80000000u), "TestCTZ32#6"); 53 static_assert(0 == CTZ<uint64_t>(UINT64_C(1)), "TestCTZ64#1"); 54 static_assert(1 == CTZ<uint64_t>(UINT64_C(2)), "TestCTZ64#2"); 55 static_assert(16 == CTZ<uint64_t>(UINT64_C(0x43210000)), "TestCTZ64#3"); 56 static_assert(31 == CTZ<uint64_t>(UINT64_C(0x80000000)), "TestCTZ64#4"); [all …]
|
D | bit_vector-inl.h | 65 return word_index * 32u + CTZ(word); in FindIndex()
|
D | bit_utils.h | 63 constexpr int CTZ(T x) { in CTZ() function 78 return (x == 0) ? BitSizeOf<T>() : CTZ(static_cast<unsigned_type>(x)); in JAVASTYLE_CTZ() 113 return (value == 0) ? -1 : CTZ(value); in LeastSignificantBit() 142 return CTZ(x); in WhichPowerOf2()
|
D | bit_utils_iterator.h | 82 return CTZ(this->bits_);
|
/art/runtime/gc/accounting/ |
D | bitmap-inl.h | 89 const size_t shift = CTZ(left_edge); in VisitSetBits() 101 const size_t shift = CTZ(w); in VisitSetBits() 125 const size_t shift = CTZ(right_edge); in VisitSetBits()
|
D | space_bitmap-inl.h | 111 const size_t shift = CTZ(left_edge); in VisitMarkedRange() 124 const size_t shift = CTZ(w); in VisitMarkedRange() 150 const size_t shift = CTZ(right_edge); in VisitMarkedRange() 170 const size_t shift = CTZ(w); in Walk()
|
D | space_bitmap.cc | 184 const size_t shift = CTZ(garbage); in SweepWalk()
|
/art/compiler/debug/dwarf/ |
D | debug_frame_opcode_writer.h | 89 int num_zeros = CTZ(reg_mask); in RelOffsetForMany() 103 int num_zeros = CTZ(reg_mask); in RestoreMany()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 78 uint32_t first = CTZ(fp_spill_mask); in BuildFrame() 81 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in BuildFrame() 141 uint32_t first = CTZ(fp_spill_mask); in RemoveFrame() 143 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in RemoveFrame()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.h | 166 int shift_cnt = 64 - CTZ(value + UINT64_C(1)); in TemplateLoadConst64() 175 int shift_cnt = CTZ(value); in TemplateLoadConst64() 217 shift_cnt = 16 + CTZ(value >> 16); in TemplateLoadConst64()
|
/art/compiler/optimizing/ |
D | intrinsics_x86_64.cc | 2716 value = is_long ? CTZ(static_cast<uint64_t>(value)) in GenOneBit() 2717 : CTZ(static_cast<uint32_t>(value)); in GenOneBit() 2913 value = is_long ? CTZ(static_cast<uint64_t>(value)) : CTZ(static_cast<uint32_t>(value)); in GenTrailingZeros()
|
D | instruction_simplifier.cc | 938 size_t trailing_ones = CTZ(~static_cast<uint64_t>(value)); in VisitTypeConversion() 1065 size_t num_tail_bits_set = CTZ(value + 1); in VisitAnd()
|
D | code_generator_arm_vixl.cc | 308 uint32_t begin = CTZ(fp_spills); in SaveLiveRegisters() 311 uint32_t end = (tmp == 0u) ? 32u : CTZ(tmp); // CTZ(0) is undefined. in SaveLiveRegisters() 334 uint32_t begin = CTZ(fp_spills); in RestoreLiveRegisters() 337 uint32_t end = (tmp == 0u) ? 32u : CTZ(tmp); // CTZ(0) is undefined. in RestoreLiveRegisters() 2668 DCHECK_EQ(fpu_spill_mask_ >> CTZ(fpu_spill_mask_), ~0u >> (32 - POPCOUNT(fpu_spill_mask_))); in GenerateFrameEntry() 2708 DCHECK_EQ(fpu_spill_mask_ >> CTZ(fpu_spill_mask_), ~0u >> (32 - POPCOUNT(fpu_spill_mask_))); in GenerateFrameExit() 4552 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
|
D | register_allocator_graph_color.cc | 1762 return conflict_mask.all() ? conflict_mask.size() : CTZ(~conflict_mask.to_ulong()); in FindFirstZeroInConflictMask()
|
D | intrinsics_x86.cc | 2753 value = is_long ? CTZ(static_cast<uint64_t>(value)) : CTZ(static_cast<uint32_t>(value)); in GenTrailingZeros()
|
D | code_generator_x86_64.cc | 3532 int shift = CTZ(imm); in DivByPowerOfTwo() 3548 int shift = CTZ(imm); in DivByPowerOfTwo()
|
D | code_generator_arm64.cc | 3366 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
|
D | code_generator_mips64.cc | 3121 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
|
D | code_generator_x86.cc | 3511 int shift = CTZ(imm); in DivByPowerOfTwo()
|
D | code_generator_mips.cc | 3588 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
|
/art/runtime/ |
D | dex_file_verifier_test.cc | 670 uint32_t index = CTZ(src_value); in ApplyMaskShifted()
|
D | oat_file.cc | 598 size_t index_mask_span = (entry.index_mask != 0u) ? 16u - CTZ(entry.index_mask) : 0u; in Setup()
|