Home
last modified time | relevance | path

Searched refs:CTZ (Results 1 – 18 of 18) sorted by relevance

/art/runtime/gc/accounting/
Dbitmap-inl.h89 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()
Dspace_bitmap-inl.h114 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()
Dspace_bitmap.cc199 const size_t shift = CTZ(garbage); in SweepWalk()
/art/libartbase/base/
Dbit_utils_test.cc45 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 …]
Dbit_vector-inl.h67 return word_index * 32u + CTZ(word); in FindIndex()
Dbit_utils.h69 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()
Dbit_utils_iterator.h83 return CTZ(this->bits_);
/art/libelffile/dwarf/
Ddebug_frame_opcode_writer.h91 int num_zeros = CTZ(reg_mask); in RelOffsetForMany()
105 int num_zeros = CTZ(reg_mask); in RestoreMany()
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc105 uint32_t first = CTZ(fp_spill_mask); in BuildFrame()
108 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in BuildFrame()
171 uint32_t first = CTZ(fp_spill_mask); in RemoveFrame()
173 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in RemoveFrame()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc159 API_ENFORCEMENT_POLICY_SHIFT = CTZ(HIDDEN_API_ENFORCEMENT_POLICY_MASK),
/art/runtime/
Dstack_map.cc203 uint32_t bit = CTZ(bits); in DecodeDexRegisterMap()
Dart_method.h183 static const int kAccFlagsShift = CTZ(kAccIntrinsicBits); in GetIntrinsic()
Dart_method.cc706 static const int kAccFlagsShift = CTZ(kAccIntrinsicBits); in SetIntrinsic()
Doat_file.cc2191 size_t index_mask_span = (mask != 0u) ? 32u - index_bits - CTZ(mask) : 0u; in DCheckIndexToBssMapping()
/art/libdexfile/dex/
Ddex_file_verifier_test.cc667 uint32_t index = CTZ(src_value); in ApplyMaskShifted()
/art/compiler/optimizing/
Dinstruction_simplifier.cc1215 size_t trailing_ones = CTZ(~static_cast<uint64_t>(value)); in VisitTypeConversion()
1408 size_t num_tail_bits_set = CTZ(value + 1); in VisitAnd()
Dregister_allocator_graph_color.cc1787 return conflict_mask.all() ? conflict_mask.size() : CTZ(~conflict_mask.to_ulong()); in FindFirstZeroInConflictMask()
Dnodes.cc3189 static_cast<uint32_t>(Intrinsics::k ## Name) <= (kAccIntrinsicBits >> CTZ(kAccIntrinsicBits)), \