Searched refs:mask_bits (Results 1 – 7 of 7) sorted by relevance
/art/libdexfile/dex/ |
D | type_lookup_table.h | 115 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 …]
|
D | type_lookup_table.cc | 38 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/ |
D | index_bss_mapping.cc | 33 size_t mask_bits = 32u - index_bits; in GetBssOffset() local 34 if (diff > mask_bits) { in GetBssOffset()
|
/art/compiler/optimizing/ |
D | code_generator_arm_vixl.cc | 7643 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()
|
D | code_generator_arm64.cc | 1929 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()
|
D | code_generator_x86_64.cc | 6301 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()
|
D | code_generator_x86.cc | 7252 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()
|