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.cc34 size_t mask_bits = CalculateMaskBits(num_class_defs); in Create() local
35 size_t size = 1u << mask_bits; in Create()
40 const uint32_t mask = Entry::GetMask(mask_bits); in Create()
52 entries[pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
53 DCHECK(entries[pos].IsLast(mask_bits)); in Create()
68 while (!entries[tail_pos].IsLast(mask_bits)) { in Create()
69 tail_pos = (tail_pos + entries[tail_pos].GetNextPosDelta(mask_bits)) & mask; in Create()
78 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
79 entries[tail_pos].SetNextPosDelta((insert_pos - tail_pos) & mask, mask_bits); in Create()
80 DCHECK(entries[insert_pos].IsLast(mask_bits)); in Create()
[all …]
/art/runtime/oat/
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.cc7878 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
7882 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
7898 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7908 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7911 __ Ubfx(temp, temp, 0, mask_bits); in GenerateBitstringTypeCheckCompare()
7921 __ Lsl(temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7924 __ Cmp(temp, path_to_root << (32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7926 __ Sub(temp, temp, path_to_root << (32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
Dcode_generator_arm64.cc2094 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
2096 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
2103 __ Ubfx(temp, temp, 0, mask_bits); in GenerateBitstringTypeCheckCompare()
Dcode_generator_x86_64.cc6610 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
6612 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
6621 __ shll(temp, Immediate(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
Dcode_generator_x86.cc7527 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local
7529 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare()
7538 __ shll(temp, Immediate(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()