Lines Matching refs:stack_map
175 encoding.stack_map.num_entries = stack_maps_.size(); in PrepareForFillIn()
176 encoding.stack_map.encoding.SetFromSizes( in PrepareForFillIn()
335 DCHECK_EQ(encoding.stack_map.num_entries, stack_maps_.size()); in FillInCodeInfo()
361 StackMap stack_map = code_info.GetStackMapAt(i, encoding); in FillInCodeInfo() local
364 stack_map.SetDexPc(encoding.stack_map.encoding, entry.dex_pc); in FillInCodeInfo()
365 stack_map.SetNativePcCodeOffset(encoding.stack_map.encoding, entry.native_pc_code_offset); in FillInCodeInfo()
366 stack_map.SetRegisterMaskIndex(encoding.stack_map.encoding, entry.register_mask_index); in FillInCodeInfo()
367 stack_map.SetStackMaskIndex(encoding.stack_map.encoding, entry.stack_mask_index); in FillInCodeInfo()
372 stack_map.SetDexRegisterMapOffset(encoding.stack_map.encoding, offset); in FillInCodeInfo()
387 stack_map.SetInlineInfoIndex(encoding.stack_map.encoding, next_inline_info_index); in FillInCodeInfo()
420 } else if (encoding.stack_map.encoding.GetInlineInfoEncoding().BitSize() > 0) { in FillInCodeInfo()
421 stack_map.SetInlineInfoIndex(encoding.stack_map.encoding, StackMap::kNoInlineInfo); in FillInCodeInfo()
558 for (StackMapEntry& stack_map : stack_maps_) { in PrepareRegisterMasks()
560 stack_map.register_mask_index = dedupe.emplace(stack_map.register_mask, index).first->second; in PrepareRegisterMasks()
561 register_masks_[index] = stack_map.register_mask; in PrepareRegisterMasks()
570 for (StackMapEntry& stack_map : stack_maps_) { in PrepareMethodIndices()
572 const uint32_t method_index = stack_map.dex_method_index; in PrepareMethodIndices()
574 stack_map.dex_method_index_idx = dedupe.emplace(method_index, index).first->second; in PrepareMethodIndices()
600 for (StackMapEntry& stack_map : stack_maps_) { in PrepareStackMasks()
604 stack_mask.StoreBit(i, stack_map.sp_mask != nullptr && stack_map.sp_mask->IsBitSet(i)); in PrepareStackMasks()
606 stack_map.stack_mask_index = dedup.emplace(stack_mask, index).first->second; in PrepareStackMasks()
618 const StackMap stack_map = code_info.GetStackMapAt(s, encoding); in CheckCodeInfo() local
619 const StackMapEncoding& stack_map_encoding = encoding.stack_map.encoding; in CheckCodeInfo()
623 DCHECK_EQ(stack_map.GetNativePcOffset(stack_map_encoding, instruction_set_), in CheckCodeInfo()
625 DCHECK_EQ(stack_map.GetDexPc(stack_map_encoding), entry.dex_pc); in CheckCodeInfo()
626 DCHECK_EQ(stack_map.GetRegisterMaskIndex(stack_map_encoding), entry.register_mask_index); in CheckCodeInfo()
627 DCHECK_EQ(code_info.GetRegisterMaskOf(encoding, stack_map), entry.register_mask); in CheckCodeInfo()
629 DCHECK_EQ(stack_map.GetStackMaskIndex(stack_map_encoding), entry.stack_mask_index); in CheckCodeInfo()
630 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in CheckCodeInfo()
652 stack_map, encoding, entry.dex_register_entry.num_dex_registers), in CheckCodeInfo()
658 DCHECK_EQ(stack_map.HasInlineInfo(stack_map_encoding), (entry.inlining_depth != 0)); in CheckCodeInfo()
660 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in CheckCodeInfo()