/art/libartbase/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 | 67 return word_index * 32u + CTZ(word); in FindIndex()
|
D | bit_utils.h | 69 constexpr int CTZ(T x) { in CTZ() function 84 return (x == 0) ? BitSizeOf<T>() : CTZ(static_cast<unsigned_type>(x)); in JAVASTYLE_CTZ() 119 return (value == 0) ? -1 : CTZ(value); in LeastSignificantBit() 156 return CTZ(x); in WhichPowerOf2()
|
D | bit_utils_iterator.h | 83 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 | 114 const size_t shift = CTZ(left_edge); in VisitMarkedRange() 128 const size_t shift = CTZ(w); in VisitMarkedRange() 155 const size_t shift = CTZ(right_edge); in VisitMarkedRange() 176 const size_t shift = CTZ(w); in Walk()
|
D | space_bitmap.cc | 200 const size_t shift = CTZ(garbage); in SweepWalk()
|
/art/libelffile/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 | 102 uint32_t first = CTZ(fp_spill_mask); in BuildFrame() 105 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in BuildFrame() 165 uint32_t first = CTZ(fp_spill_mask); in RemoveFrame() 167 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in RemoveFrame()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 156 API_ENFORCEMENT_POLICY_SHIFT = CTZ(HIDDEN_API_ENFORCEMENT_POLICY_MASK),
|
/art/runtime/ |
D | stack_map.cc | 162 uint32_t bit = CTZ(bits); in DecodeDexRegisterMap()
|
D | art_method.h | 181 static const int kAccFlagsShift = CTZ(kAccIntrinsicBits); in GetIntrinsic()
|
D | art_method.cc | 692 static const int kAccFlagsShift = CTZ(kAccIntrinsicBits); in SetIntrinsic()
|
D | oat_file.cc | 2205 size_t index_mask_span = (mask != 0u) ? 32u - index_bits - CTZ(mask) : 0u; in DCheckIndexToBssMapping()
|
/art/compiler/optimizing/ |
D | intrinsics_x86_64.cc | 2412 value = is_long ? CTZ(static_cast<uint64_t>(value)) in GenOneBit() 2413 : CTZ(static_cast<uint32_t>(value)); in GenOneBit() 2612 value = is_long ? CTZ(static_cast<uint64_t>(value)) : CTZ(static_cast<uint32_t>(value)); in GenTrailingZeros()
|
D | intrinsics_x86.cc | 580 value = is_long ? CTZ(static_cast<uint64_t>(value)) in GenLowestOneBit() 581 : CTZ(static_cast<uint32_t>(value)); in GenLowestOneBit() 2421 value = is_long ? CTZ(static_cast<uint64_t>(value)) : CTZ(static_cast<uint32_t>(value)); in GenTrailingZeros()
|
D | instruction_simplifier.cc | 1225 size_t trailing_ones = CTZ(~static_cast<uint64_t>(value)); in VisitTypeConversion() 1418 size_t num_tail_bits_set = CTZ(value + 1); in VisitAnd()
|
D | code_generator_arm_vixl.cc | 347 uint32_t begin = CTZ(fp_spills); in SaveLiveRegisters() 350 uint32_t end = (tmp == 0u) ? 32u : CTZ(tmp); // CTZ(0) is undefined. in SaveLiveRegisters() 373 uint32_t begin = CTZ(fp_spills); in RestoreLiveRegisters() 376 uint32_t end = (tmp == 0u) ? 32u : CTZ(tmp); // CTZ(0) is undefined. in RestoreLiveRegisters() 2138 DCHECK_EQ(fpu_spill_mask_ >> CTZ(fpu_spill_mask_), ~0u >> (32 - POPCOUNT(fpu_spill_mask_))); in GenerateFrameEntry() 2180 DCHECK_EQ(fpu_spill_mask_ >> CTZ(fpu_spill_mask_), ~0u >> (32 - POPCOUNT(fpu_spill_mask_))); in GenerateFrameExit() 3981 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
|
D | register_allocator_graph_color.cc | 1787 return conflict_mask.all() ? conflict_mask.size() : CTZ(~conflict_mask.to_ulong()); in FindFirstZeroInConflictMask()
|
D | nodes.cc | 3189 static_cast<uint32_t>(Intrinsics::k ## Name) <= (kAccIntrinsicBits >> CTZ(kAccIntrinsicBits)), \
|
D | code_generator_x86_64.cc | 3621 int shift = CTZ(imm); in DivByPowerOfTwo() 3642 int shift = CTZ(imm); in DivByPowerOfTwo()
|
D | code_generator_mips.cc | 3902 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo() 3949 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
|
D | code_generator_arm64.cc | 2903 int ctz_imm = CTZ(abs_imm); in FOR_EACH_CONDITION_INSTRUCTION()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.h | 167 int shift_cnt = 64 - CTZ(value + UINT64_C(1)); in TemplateLoadConst64() 176 int shift_cnt = CTZ(value); in TemplateLoadConst64() 218 shift_cnt = 16 + CTZ(value >> 16); in TemplateLoadConst64()
|
/art/libdexfile/dex/ |
D | dex_file_verifier_test.cc | 665 uint32_t index = CTZ(src_value); in ApplyMaskShifted()
|