Searched refs:mask_bits (Results 1 – 7 of 7) sorted by relevance
/art/libdexfile/dex/ |
D | type_lookup_table.h | 113 Entry(uint32_t str_offset, uint32_t hash, uint32_t class_def_index, uint32_t mask_bits) in Entry() argument 115 data_(((hash & ~GetMask(mask_bits)) | class_def_index) << mask_bits) { in Entry() 116 DCHECK_EQ(class_def_index & ~GetMask(mask_bits), 0u); in Entry() 119 void SetNextPosDelta(uint32_t next_pos_delta, uint32_t mask_bits) { in SetNextPosDelta() argument 120 DCHECK_EQ(GetNextPosDelta(mask_bits), 0u); in SetNextPosDelta() 121 DCHECK_EQ(next_pos_delta & ~GetMask(mask_bits), 0u); in SetNextPosDelta() 130 bool IsLast(uint32_t mask_bits) const { in IsLast() argument 131 return GetNextPosDelta(mask_bits) == 0u; in IsLast() 138 uint32_t GetNextPosDelta(uint32_t mask_bits) const { in GetNextPosDelta() argument 139 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 | 7503 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local 7507 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare() 7523 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare() 7533 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare() 7536 __ Ubfx(temp, temp, 0, mask_bits); in GenerateBitstringTypeCheckCompare() 7546 __ Lsl(temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare() 7549 __ Cmp(temp, path_to_root << (32u - mask_bits)); in GenerateBitstringTypeCheckCompare() 7551 __ Sub(temp, temp, path_to_root << (32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
|
D | code_generator_arm64.cc | 1881 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local 1883 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare() 1890 __ Ubfx(temp, temp, 0, mask_bits); in GenerateBitstringTypeCheckCompare()
|
D | code_generator_x86_64.cc | 6062 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local 6064 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare() 6073 __ shll(temp, Immediate(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
|
D | code_generator_x86.cc | 6966 size_t mask_bits = WhichPowerOf2(mask + 1); in GenerateBitstringTypeCheckCompare() local 6968 if (mask_bits == 16u) { in GenerateBitstringTypeCheckCompare() 6977 __ shll(temp, Immediate(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
|