Home
last modified time | relevance | path

Searched refs:stack_map (Results 1 – 17 of 17) sorted by relevance

/art/compiler/optimizing/
Dstack_map_test.cc32 const StackMap& stack_map, in CheckStackMask() argument
34 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in CheckStackMask()
79 StackMap stack_map = code_info.GetStackMapAt(0, encoding); in TEST() local
80 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0, encoding))); in TEST()
81 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64, encoding))); in TEST()
82 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
83 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
84 ASSERT_EQ(0x3u, code_info.GetRegisterMaskOf(encoding, stack_map)); in TEST()
86 ASSERT_TRUE(CheckStackMask(code_info, encoding, stack_map, sp_mask)); in TEST()
88 ASSERT_TRUE(stack_map.HasDexRegisterMap(encoding.stack_map.encoding)); in TEST()
[all …]
Dstack_map_stream.cc175 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()
[all …]
Doptimizing_compiler.cc708 ArenaVector<uint8_t> stack_map(allocator->Adapter(kArenaAllocStackMaps)); in Emit() local
713 stack_map.resize(stack_map_size); in Emit()
715 codegen->BuildStackMaps(MemoryRegion(stack_map.data(), stack_map.size()), in Emit()
730 ArrayRef<const uint8_t>(stack_map), in Emit()
/art/runtime/
Doat_quick_method_header.cc47 StackMap stack_map = code_info.GetStackMapForNativePcOffset(sought_offset, encoding); in ToDexPc() local
48 if (stack_map.IsValid()) { in ToDexPc()
49 return stack_map.GetDexPc(encoding.stack_map.encoding); in ToDexPc()
80 StackMap stack_map = in ToNativeQuickPc() local
83 if (stack_map.IsValid()) { in ToNativeQuickPc()
85 stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA); in ToNativeQuickPc()
Dcheck_reference_map_visitor.h69 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in CheckOptimizedMethod() local
73 code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_dex_registers); in CheckOptimizedMethod()
74 uint32_t register_mask = code_info.GetRegisterMaskOf(encoding, stack_map); in CheckOptimizedMethod()
75 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in CheckOptimizedMethod()
Dstack_map.cc130 encoding.stack_map.encoding.Dump(vios); in Dump()
139 StackMap stack_map = GetStackMapAt(i, encoding); in Dump() local
140 stack_map.Dump(vios, in Dump()
199 StackMapEncoding stack_map_encoding = encoding.stack_map.encoding; in Dump()
205 << " [entry_size=0x" << encoding.stack_map.encoding.BitSize() << " bits]" in Dump()
Dstack.cc84 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetCurrentInlineInfo() local
85 DCHECK(stack_map.IsValid()); in GetCurrentInlineInfo()
86 return code_info.GetInlineInfoOf(stack_map, encoding); in GetCurrentInlineInfo()
236 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetVRegFromOptimizedCode() local
237 DCHECK(stack_map.IsValid()); in GetVRegFromOptimizedCode()
242 code_info.GetInlineInfoOf(stack_map, encoding), in GetVRegFromOptimizedCode()
245 : code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_dex_registers); in GetVRegFromOptimizedCode()
837 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in WalkStack() local
838 if (stack_map.IsValid() && stack_map.HasInlineInfo(encoding.stack_map.encoding)) { in WalkStack()
839 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in WalkStack()
Dquick_exception_handler.cc410 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in HandleOptimizingDeoptimization() local
413 uint32_t register_mask = code_info.GetRegisterMaskOf(encoding, stack_map); in HandleOptimizingDeoptimization()
414 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in HandleOptimizingDeoptimization()
417 code_info.GetInlineInfoOf(stack_map, encoding), in HandleOptimizingDeoptimization()
420 : code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_vregs); in HandleOptimizingDeoptimization()
DAndroid.bp199 "stack_map.cc",
/art/compiler/debug/
Delf_debug_line_writer.h106 StackMap stack_map = code_info.GetStackMapAt(s, encoding); in WriteCompilationUnit() local
107 DCHECK(stack_map.IsValid()); in WriteCompilationUnit()
108 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa); in WriteCompilationUnit()
109 const int32_t dex = stack_map.GetDexPc(encoding.stack_map.encoding); in WriteCompilationUnit()
111 if (stack_map.HasDexRegisterMap(encoding.stack_map.encoding)) { in WriteCompilationUnit()
Delf_debug_loc_writer.h105 StackMap stack_map = code_info.GetStackMapAt(s, encoding); in GetVariableLocations() local
106 DCHECK(stack_map.IsValid()); in GetVariableLocations()
107 if (!stack_map.HasDexRegisterMap(encoding.stack_map.encoding)) { in GetVariableLocations()
115 const uint32_t pc_offset = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa); in GetVariableLocations()
127 const StackMap& stack_map = code_info.GetStackMapAt(stack_map_index, encoding); in GetVariableLocations() local
139 uint32_t dex_pc = stack_map.GetDexPc(encoding.stack_map.encoding); in GetVariableLocations()
Delf_debug_info_writer.h212 const StackMap& stack_map = code_info.GetStackMapAt(s, encoding); in Write() local
214 stack_map, encoding, accessor.RegistersSize())); in Write()
/art/runtime/entrypoints/
Dentrypoint_utils.cc207 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in DoGetCalleeSaveMethodCaller() local
208 DCHECK(stack_map.IsValid()); in DoGetCalleeSaveMethodCaller()
209 if (stack_map.HasInlineInfo(encoding.stack_map.encoding)) { in DoGetCalleeSaveMethodCaller()
210 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in DoGetCalleeSaveMethodCaller()
/art/runtime/jit/
Djit.cc493 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc + dex_pc_offset, encoding); in MaybeDoOnStackReplacement() local
494 if (!stack_map.IsValid()) { in MaybeDoOnStackReplacement()
510 code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_vregs); in MaybeDoOnStackReplacement()
556 native_pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA) + in MaybeDoOnStackReplacement()
Djit_code_cache.h134 uint8_t* stack_map,
282 uint8_t* stack_map,
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc359 StackMap stack_map = code_info.GetStackMapForNativePcOffset(outer_pc_offset, encoding); in GetCallingDexPc() local
360 DCHECK(stack_map.IsValid()); in GetCallingDexPc()
361 if (stack_map.HasInlineInfo(encoding.stack_map.encoding)) { in GetCallingDexPc()
362 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in GetCallingDexPc()
366 return stack_map.GetDexPc(encoding.stack_map.encoding); in GetCallingDexPc()
1234 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in DumpB74410240DebugData() local
1235 CHECK(stack_map.IsValid()); in DumpB74410240DebugData()
1236 uint32_t dex_pc = stack_map.GetDexPc(encoding.stack_map.encoding); in DumpB74410240DebugData()
1250 if (stack_map.HasInlineInfo(encoding.stack_map.encoding)) { in DumpB74410240DebugData()
1251 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in DumpB74410240DebugData()
/art/oatdump/
Doatdump.cc1731 if (last.GetNativePcOffset(encoding_.stack_map.encoding, instruction_set) > in StackMapsHelper()
1732 current.GetNativePcOffset(encoding_.stack_map.encoding, instruction_set)) { in StackMapsHelper()
1748 uint32_t left_pc = left.GetNativePcOffset(encoding_.stack_map.encoding, in StackMapsHelper()
1751 uint32_t right_pc = right.GetNativePcOffset(encoding_.stack_map.encoding, in StackMapsHelper()
1757 offset_ = GetStackMapAt(0).GetNativePcOffset(encoding_.stack_map.encoding, in StackMapsHelper()
1782 : GetStackMapAt(stack_map_index_).GetNativePcOffset(encoding_.stack_map.encoding, in Next()
1823 StackMapEncoding stack_map_encoding(encoding.stack_map.encoding); in DumpCode()
1824 const size_t num_stack_maps = encoding.stack_map.num_entries; in DumpCode()
1905 StackMap stack_map = helper.GetStackMap(); in DumpCode() local
1906 DCHECK(stack_map.IsValid()); in DumpCode()
[all …]