Home
last modified time | relevance | path

Searched refs:mask_bits (Results 1 – 7 of 7) sorted by relevance

/art/libdexfile/dex/
Dtype_lookup_table.h115 Entry(uint32_t str_offset, uint32_t hash, uint32_t class_def_index, uint32_t mask_bits) in Entry() argument
117 data_(((hash & ~GetMask(mask_bits)) | class_def_index) << mask_bits) { in Entry()
118 DCHECK_EQ(class_def_index & ~GetMask(mask_bits), 0u); in Entry()
121 void SetNextPosDelta(uint32_t next_pos_delta, uint32_t mask_bits) { in SetNextPosDelta() argument
122 DCHECK_EQ(GetNextPosDelta(mask_bits), 0u); in SetNextPosDelta()
123 DCHECK_EQ(next_pos_delta & ~GetMask(mask_bits), 0u); in SetNextPosDelta()
132 bool IsLast(uint32_t mask_bits) const { in IsLast() argument
133 return GetNextPosDelta(mask_bits) == 0u; in IsLast()
140 uint32_t GetNextPosDelta(uint32_t mask_bits) const { in GetNextPosDelta() argument
141 return data_ & GetMask(mask_bits); in GetNextPosDelta()
[all …]
Dtype_lookup_table.cc38 size_t mask_bits = CalculateMaskBits(num_class_defs); in Create() local
39 size_t size = 1u << mask_bits; in Create()
44 const uint32_t mask = Entry::GetMask(mask_bits); in Create()
56 entries[pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
57 DCHECK(entries[pos].IsLast(mask_bits)); in Create()
72 while (!entries[tail_pos].IsLast(mask_bits)) { in Create()
73 tail_pos = (tail_pos + entries[tail_pos].GetNextPosDelta(mask_bits)) & mask; in Create()
82 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
83 entries[tail_pos].SetNextPosDelta((insert_pos - tail_pos) & mask, mask_bits); in Create()
84 DCHECK(entries[insert_pos].IsLast(mask_bits)); in Create()
[all …]
/art/runtime/
Dindex_bss_mapping.cc33 size_t mask_bits = 32u - index_bits; in GetBssOffset() local
34 if (diff > mask_bits) { in GetBssOffset()
/art/compiler/optimizing/
Dcode_generator_arm_vixl.cc7643 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
7647 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
7663 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7673 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7676 __ Ubfx(temp, temp, 0, mask_bits); in GenerateBitstringTypeCheckCompare()
7686 __ Lsl(temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7689 __ Cmp(temp, path_to_root << (32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7691 __ Sub(temp, temp, path_to_root << (32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
Dcode_generator_arm64.cc1929 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
1931 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
1938 __ Ubfx(temp, temp, 0, mask_bits); in GenerateBitstringTypeCheckCompare()
Dcode_generator_x86_64.cc6301 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
6303 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
6312 __ shll(temp, Immediate(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
Dcode_generator_x86.cc7252 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
7254 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
7263 __ shll(temp, Immediate(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()