/art/compiler/optimizing/ |
D | stack_map_test.cc | 32 const StackMap& stack_map, in CheckStackMask() argument 34 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckStackMask() 73 StackMap stack_map = code_info.GetStackMapAt(0); in TEST() local 74 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST() 75 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64 * kPcAlign))); in TEST() 76 ASSERT_EQ(0u, stack_map.GetDexPc()); in TEST() 77 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST() 78 ASSERT_EQ(0x3u, code_info.GetRegisterMaskOf(stack_map)); in TEST() 80 ASSERT_TRUE(CheckStackMask(code_info, stack_map, sp_mask)); in TEST() 82 ASSERT_TRUE(stack_map.HasDexRegisterMap()); in TEST() [all …]
|
D | stack_map_stream.cc | 116 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, in BeginStackMapEntry() local 118 CHECK_EQ(stack_map.Row(), stack_map_index); in BeginStackMapEntry() 120 StackMap stack_map = code_info.GetCatchStackMapForDexPc(dex_pc); in BeginStackMapEntry() local 121 CHECK_EQ(stack_map.Row(), stack_map_index); in BeginStackMapEntry() 123 StackMap stack_map = code_info.GetStackMapAt(stack_map_index); in BeginStackMapEntry() local 124 CHECK_EQ(stack_map.GetNativePcOffset(instruction_set_), native_pc_offset); in BeginStackMapEntry() 125 CHECK_EQ(stack_map.GetKind(), static_cast<uint32_t>(kind)); in BeginStackMapEntry() 126 CHECK_EQ(stack_map.GetDexPc(), dex_pc); in BeginStackMapEntry() 127 CHECK_EQ(code_info.GetRegisterMaskOf(stack_map), register_mask); in BeginStackMapEntry() 128 BitMemoryRegion seen_stack_mask = code_info.GetStackMaskOf(stack_map); in BeginStackMapEntry() [all …]
|
D | optimizing_compiler.cc | 755 ScopedArenaVector<uint8_t> stack_map = codegen->BuildStackMaps(code_item_for_osr_check); in Emit() local 762 ArrayRef<const uint8_t>(stack_map), in Emit() 1228 ScopedArenaVector<uint8_t> stack_map = CreateJniStackMap(&stack_map_allocator, in JniCompile() local 1234 ArrayRef<const uint8_t>(stack_map), in JniCompile() 1280 ScopedArenaVector<uint8_t> stack_map = CreateJniStackMap(&stack_map_allocator, in JitCompile() local 1285 stack_map.size(), in JitCompile() 1294 memcpy(stack_map_data, stack_map.data(), stack_map.size()); in JitCompile() 1377 ScopedArenaVector<uint8_t> stack_map = codegen->BuildStackMaps(code_item); in JitCompile() local 1382 stack_map.size(), in JitCompile() 1391 memcpy(stack_map_data, stack_map.data(), stack_map.size()); in JitCompile() [all …]
|
D | code_generator.cc | 1032 ScopedArenaVector<uint8_t> stack_map = GetStackMapStream()->Encode(); in BuildStackMaps() local 1034 CheckLoopEntriesCanBeUsedForOsr(*graph_, CodeInfo(stack_map.data()), *code_item); in BuildStackMaps() 1036 return stack_map; in BuildStackMaps()
|
/art/runtime/ |
D | stack_map.h | 201 const StackMap& stack_map) const; 328 BitMemoryRegion GetStackMaskOf(const StackMap& stack_map) const { in GetStackMaskOf() argument 329 uint32_t index = stack_map.GetStackMaskIndex(); in GetStackMaskOf() 333 uint32_t GetRegisterMaskOf(const StackMap& stack_map) const { in GetRegisterMaskOf() argument 334 uint32_t index = stack_map.GetRegisterMaskIndex(); in GetRegisterMaskOf() 360 ALWAYS_INLINE DexRegisterMap GetDexRegisterMapOf(StackMap stack_map) const { in GetDexRegisterMapOf() argument 361 if (stack_map.HasDexRegisterMap()) { in GetDexRegisterMapOf() 363 DecodeDexRegisterMap(stack_map.Row(), /* first_dex_register= */ 0, &map); in GetDexRegisterMapOf() 369 ALWAYS_INLINE DexRegisterMap GetInlineDexRegisterMapOf(StackMap stack_map, in GetInlineDexRegisterMapOf() argument 371 if (stack_map.HasDexRegisterMap()) { in GetInlineDexRegisterMapOf() [all …]
|
D | oat_quick_method_header.cc | 37 StackMap stack_map = code_info.GetStackMapForNativePcOffset(sought_offset); in ToDexPc() local 38 if (stack_map.IsValid()) { in ToDexPc() 39 return stack_map.GetDexPc(); in ToDexPc() 66 StackMap stack_map = in ToNativeQuickPc() local 69 if (stack_map.IsValid()) { in ToNativeQuickPc() 71 stack_map.GetNativePcOffset(kRuntimeISA); in ToNativeQuickPc()
|
D | check_reference_map_visitor.h | 68 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in CheckOptimizedMethod() local 71 DexRegisterMap dex_register_map = code_info.GetDexRegisterMapOf(stack_map); in CheckOptimizedMethod() 73 uint32_t register_mask = code_info.GetRegisterMaskOf(stack_map); in CheckOptimizedMethod() 74 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckOptimizedMethod()
|
D | stack_map.cc | 132 StackMap stack_map = GetStackMapAt(s); in DecodeDexRegisterMap() local 137 uint32_t mask_index = stack_map.GetDexRegisterMaskIndex(); in DecodeDexRegisterMap() 147 uint32_t map_index = stack_map.GetDexRegisterMapIndex(); in DecodeDexRegisterMap() 271 for (StackMap stack_map : stack_maps_) { in Dump() local 272 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump() 303 const StackMap& stack_map) const { in Dump() 304 uint32_t depth = Row() - stack_map.GetInlineInfoIndex(); in Dump() 319 code_info.GetInlineDexRegisterMapOf(stack_map, *this).Dump(vios); in Dump()
|
D | stack.cc | 212 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in GetVRegFromOptimizedCode() local 213 DCHECK(stack_map.IsValid()); in GetVRegFromOptimizedCode() 216 ? code_info.GetInlineDexRegisterMapOf(stack_map, current_inline_frames_.back()) in GetVRegFromOptimizedCode() 217 : code_info.GetDexRegisterMapOf(stack_map); in GetVRegFromOptimizedCode() 226 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in GetVRegFromOptimizedCode() 235 uint32_t register_mask = code_info.GetRegisterMaskOf(stack_map); in GetVRegFromOptimizedCode() 823 StackMap stack_map = current_code_info_.GetStackMapForNativePcOffset(native_pc_offset); in WalkStack() local 824 if (stack_map.IsValid() && stack_map.HasInlineInfo()) { in WalkStack() 826 for (current_inline_frames_ = current_code_info_.GetInlineInfosOf(stack_map); in WalkStack()
|
D | quick_exception_handler.cc | 473 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in HandleOptimizingDeoptimization() local 476 uint32_t register_mask = code_info.GetRegisterMaskOf(stack_map); in HandleOptimizingDeoptimization() 477 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in HandleOptimizingDeoptimization() 479 ? code_info.GetInlineDexRegisterMapOf(stack_map, GetCurrentInlinedFrame()) in HandleOptimizingDeoptimization() 480 : code_info.GetDexRegisterMapOf(stack_map); in HandleOptimizingDeoptimization()
|
D | Android.bp | 197 "stack_map.cc",
|
/art/compiler/debug/ |
D | elf_debug_loc_writer.h | 104 StackMap stack_map = code_info.GetStackMapAt(s); in GetVariableLocations() local 105 DCHECK(stack_map.IsValid()); in GetVariableLocations() 106 if (!stack_map.HasDexRegisterMap()) { in GetVariableLocations() 114 const uint32_t pc_offset = stack_map.GetNativePcOffset(isa); in GetVariableLocations() 126 const StackMap stack_map = code_info.GetStackMapAt(stack_map_index); in GetVariableLocations() local 138 uint32_t dex_pc = stack_map.GetDexPc(); in GetVariableLocations()
|
D | elf_debug_line_writer.h | 99 for (StackMap stack_map : code_info.GetStackMaps()) { in WriteCompilationUnit() local 100 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit() 101 const int32_t dex = stack_map.GetDexPc(); in WriteCompilationUnit() 103 if (stack_map.HasDexRegisterMap()) { in WriteCompilationUnit()
|
D | elf_debug_info_writer.h | 195 for (StackMap stack_map : code_info->GetStackMaps()) { in Write() local 196 dex_reg_maps.push_back(code_info->GetDexRegisterMapOf(stack_map)); in Write()
|
/art/compiler/ |
D | exception_test.cc | 84 ScopedArenaVector<uint8_t> stack_map = stack_maps.Encode(); in SetUp() local 86 const size_t stack_maps_size = stack_map.size(); in SetUp() 95 memcpy(&fake_header_code_and_maps_[0], stack_map.data(), stack_maps_size); in SetUp()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 208 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in DoGetCalleeSaveMethodCaller() local 209 DCHECK(stack_map.IsValid()); in DoGetCalleeSaveMethodCaller() 210 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in DoGetCalleeSaveMethodCaller()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 601 uint8_t* stack_map, in CommitCode() argument 612 stack_map, in CommitCode() 626 stack_map, in CommitCode() 668 static uint32_t GetNumberOfRoots(const uint8_t* stack_map) { in GetNumberOfRoots() argument 671 return reinterpret_cast<const uint32_t*>(stack_map)[-1]; in GetNumberOfRoots() 976 uint8_t* stack_map, in CommitCodeInternal() argument 1028 (stack_map != nullptr) ? code_ptr - stack_map : 0u, in CommitCodeInternal() 1137 DCHECK_EQ(FromStackMapToRoots(stack_map), roots_data); in CommitCodeInternal() 1138 DCHECK_LE(roots_data, stack_map); in CommitCodeInternal()
|
D | jit.cc | 458 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc + dex_pc_offset); in MaybeDoOnStackReplacement() local 459 if (!stack_map.IsValid()) { in MaybeDoOnStackReplacement() 474 DexRegisterMap vreg_map = code_info.GetDexRegisterMapOf(stack_map); in MaybeDoOnStackReplacement() 517 native_pc = stack_map.GetNativePcOffset(kRuntimeISA) + in MaybeDoOnStackReplacement()
|
D | jit_code_cache.h | 135 uint8_t* stack_map, 296 uint8_t* stack_map,
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 347 StackMap stack_map = code_info.GetStackMapForNativePcOffset(outer_pc_offset); in GetCallingDexPc() local 348 DCHECK(stack_map.IsValid()); in GetCallingDexPc() 349 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in GetCallingDexPc() 353 return stack_map.GetDexPc(); in GetCallingDexPc() 1252 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in DumpB74410240DebugData() local 1253 CHECK(stack_map.IsValid()); in DumpB74410240DebugData() 1254 uint32_t dex_pc = stack_map.GetDexPc(); in DumpB74410240DebugData() 1268 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in DumpB74410240DebugData()
|
/art/oatdump/ |
D | oatdump.cc | 1630 StackMap stack_map = helper.GetStackMap(); in DumpCode() local 1631 DCHECK(stack_map.IsValid()); in DumpCode() 1632 stack_map.Dump(vios, in DumpCode()
|