/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 | 128 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, in BeginStackMapEntry() local 130 CHECK_EQ(stack_map.Row(), stack_map_index); in BeginStackMapEntry() 132 StackMap stack_map = code_info.GetCatchStackMapForDexPc(dex_pc); in BeginStackMapEntry() local 133 CHECK_EQ(stack_map.Row(), stack_map_index); in BeginStackMapEntry() 135 StackMap stack_map = code_info.GetStackMapAt(stack_map_index); in BeginStackMapEntry() local 136 CHECK_EQ(stack_map.GetNativePcOffset(instruction_set_), native_pc_offset); in BeginStackMapEntry() 137 CHECK_EQ(stack_map.GetKind(), static_cast<uint32_t>(kind)); in BeginStackMapEntry() 138 CHECK_EQ(stack_map.GetDexPc(), dex_pc); in BeginStackMapEntry() 139 CHECK_EQ(code_info.GetRegisterMaskOf(stack_map), register_mask); in BeginStackMapEntry() 140 BitMemoryRegion seen_stack_mask = code_info.GetStackMaskOf(stack_map); in BeginStackMapEntry() [all …]
|
D | optimizing_compiler.cc | 707 ScopedArenaVector<uint8_t> stack_map = codegen->BuildStackMaps(code_item_for_osr_check); in Emit() local 714 ArrayRef<const uint8_t>(stack_map), in Emit() 1186 ScopedArenaVector<uint8_t> stack_map = CreateJniStackMap(&stack_map_allocator, in JniCompile() local 1192 ArrayRef<const uint8_t>(stack_map), in JniCompile() 1245 ScopedArenaVector<uint8_t> stack_map = CreateJniStackMap(&stack_map_allocator, in JitCompile() local 1253 stack_map.size(), in JitCompile() 1293 ArrayRef<const uint8_t>(stack_map), in JitCompile() 1344 ScopedArenaVector<uint8_t> stack_map = codegen->BuildStackMaps(code_item); in JitCompile() local 1351 stack_map.size(), in JitCompile() 1389 info.code_info = stack_map.size() == 0 ? nullptr : stack_map.data(); in JitCompile() [all …]
|
D | code_generator.cc | 1130 ScopedArenaVector<uint8_t> stack_map = GetStackMapStream()->Encode(); in BuildStackMaps() local 1132 CheckLoopEntriesCanBeUsedForOsr(*graph_, CodeInfo(stack_map.data()), *code_item); in BuildStackMaps() 1134 return stack_map; in BuildStackMaps()
|
/art/runtime/ |
D | stack_map.h | 200 const StackMap& stack_map) const; 315 BitMemoryRegion GetStackMaskOf(const StackMap& stack_map) const { in GetStackMaskOf() argument 316 uint32_t index = stack_map.GetStackMaskIndex(); in GetStackMaskOf() 320 uint32_t GetRegisterMaskOf(const StackMap& stack_map) const { in GetRegisterMaskOf() argument 321 uint32_t index = stack_map.GetRegisterMaskIndex(); in GetRegisterMaskOf() 347 ALWAYS_INLINE DexRegisterMap GetDexRegisterMapOf(StackMap stack_map) const { in GetDexRegisterMapOf() argument 348 if (stack_map.HasDexRegisterMap()) { in GetDexRegisterMapOf() 350 DecodeDexRegisterMap(stack_map.Row(), /* first_dex_register= */ 0, &map); in GetDexRegisterMapOf() 356 ALWAYS_INLINE DexRegisterMap GetInlineDexRegisterMapOf(StackMap stack_map, in GetInlineDexRegisterMapOf() argument 358 if (stack_map.HasDexRegisterMap()) { in GetInlineDexRegisterMapOf() [all …]
|
D | oat_quick_method_header.cc | 44 StackMap stack_map = code_info.GetStackMapForNativePcOffset(sought_offset); in ToDexPc() local 45 if (stack_map.IsValid()) { in ToDexPc() 46 return stack_map.GetDexPc(); in ToDexPc() 77 StackMap stack_map = in ToNativeQuickPc() local 80 if (stack_map.IsValid()) { in ToNativeQuickPc() 82 stack_map.GetNativePcOffset(kRuntimeISA); in ToNativeQuickPc()
|
D | check_reference_map_visitor.h | 73 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in CheckOptimizedMethod() local 82 DexRegisterMap dex_register_map = code_info.GetDexRegisterMapOf(stack_map); in CheckOptimizedMethod() 84 uint32_t register_mask = code_info.GetRegisterMaskOf(stack_map); in CheckOptimizedMethod() 85 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckOptimizedMethod()
|
D | stack_map.cc | 173 StackMap stack_map = GetStackMapAt(s); in DecodeDexRegisterMap() local 178 uint32_t mask_index = stack_map.GetDexRegisterMaskIndex(); in DecodeDexRegisterMap() 188 uint32_t map_index = stack_map.GetDexRegisterMapIndex(); in DecodeDexRegisterMap() 307 for (StackMap stack_map : stack_maps_) { in Dump() local 308 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump() 339 const StackMap& stack_map) const { in Dump() 340 uint32_t depth = Row() - stack_map.GetInlineInfoIndex(); in Dump() 355 code_info.GetInlineDexRegisterMapOf(stack_map, *this).Dump(vios); in Dump()
|
D | stack.cc | 131 StackMap* stack_map = GetCurrentStackMap(); in GetDexPc() local 132 DCHECK(stack_map->IsValid()); in GetDexPc() 133 return stack_map->GetDexPc(); in GetDexPc() 284 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in GetVRegFromOptimizedCode() local 285 DCHECK(stack_map.IsValid()); in GetVRegFromOptimizedCode() 288 ? code_info.GetInlineDexRegisterMapOf(stack_map, current_inline_frames_.back()) in GetVRegFromOptimizedCode() 289 : code_info.GetDexRegisterMapOf(stack_map); in GetVRegFromOptimizedCode() 298 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in GetVRegFromOptimizedCode() 307 uint32_t register_mask = code_info.GetRegisterMaskOf(stack_map); in GetVRegFromOptimizedCode() 898 StackMap* stack_map = GetCurrentStackMap(); in WalkStack() local [all …]
|
D | quick_exception_handler.cc | 461 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in HandleOptimizingDeoptimization() local 464 uint32_t register_mask = code_info.GetRegisterMaskOf(stack_map); in HandleOptimizingDeoptimization() 465 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in HandleOptimizingDeoptimization() 467 ? code_info.GetInlineDexRegisterMapOf(stack_map, GetCurrentInlinedFrame()) in HandleOptimizingDeoptimization() 468 : code_info.GetDexRegisterMapOf(stack_map); in HandleOptimizingDeoptimization()
|
D | Android.bp | 237 "stack_map.cc",
|
/art/compiler/debug/ |
D | elf_debug_loc_writer.h | 96 StackMap stack_map = code_info.GetStackMapAt(s); in GetVariableLocations() local 97 DCHECK(stack_map.IsValid()); in GetVariableLocations() 98 if (!stack_map.HasDexRegisterMap()) { in GetVariableLocations() 106 const uint32_t pc_offset = stack_map.GetNativePcOffset(isa); in GetVariableLocations() 118 const StackMap stack_map = code_info.GetStackMapAt(stack_map_index); in GetVariableLocations() local 130 uint32_t dex_pc = stack_map.GetDexPc(); in GetVariableLocations()
|
D | elf_debug_line_writer.h | 97 for (StackMap stack_map : code_info.GetStackMaps()) { in WriteCompilationUnit() local 98 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit() 99 const int32_t dex = stack_map.GetDexPc(); in WriteCompilationUnit() 101 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/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 159 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in artCriticalNativeFrameSize() local 160 DCHECK(stack_map.IsValid()); in artCriticalNativeFrameSize() 161 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in artCriticalNativeFrameSize() 164 uint32_t dex_pc = inline_infos.empty() ? stack_map.GetDexPc() : inline_infos.back().GetDexPc(); in artCriticalNativeFrameSize()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 355 const uint8_t* stack_map, in CommitCode() argument 382 (stack_map != nullptr) ? result - stack_map : 0u, in CommitCode() 452 ArrayRef<const uint8_t> stack_map) { in CommitData() argument 457 DCHECK_LE(root_table_size + stack_map.size(), reserved_data.size()); in CommitData() 459 memcpy(stack_map_data, stack_map.data(), stack_map.size()); in CommitData() 462 if (UNLIKELY(!FlushCpuCaches(roots_data, roots_data + root_table_size + stack_map.size()))) { in CommitData()
|
D | jit_memory_region.h | 93 const uint8_t* stack_map, 100 ArrayRef<const uint8_t> stack_map)
|
D | jit.cc | 496 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc); in PrepareForOsr() local 497 if (!stack_map.IsValid()) { in PrepareForOsr() 505 DexRegisterMap vreg_map = code_info.GetDexRegisterMapOf(stack_map); in PrepareForOsr() 550 osr_data->native_pc = stack_map.GetNativePcOffset(kRuntimeISA) + in PrepareForOsr()
|
D | jit_code_cache.cc | 390 static uint32_t GetNumberOfRoots(const uint8_t* stack_map) { in GetNumberOfRoots() argument 393 return reinterpret_cast<const uint32_t*>(stack_map)[-1]; in GetNumberOfRoots() 664 ArrayRef<const uint8_t> stack_map, in Commit() argument 694 if (!region->CommitData(reserved_data, roots, stack_map)) { in Commit()
|
D | jit_code_cache.h | 268 ArrayRef<const uint8_t> stack_map, // Compiler output (source).
|
/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 | 212 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in DoGetCalleeSaveMethodCaller() local 213 DCHECK(stack_map.IsValid()); in DoGetCalleeSaveMethodCaller() 214 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in DoGetCalleeSaveMethodCaller()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 263 StackMap stack_map = code_info.GetStackMapForNativePcOffset(outer_pc_offset); in GetCallingDexPc() local 264 DCHECK(stack_map.IsValid()); in GetCallingDexPc() 265 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in GetCallingDexPc() 269 return stack_map.GetDexPc(); in GetCallingDexPc() 1170 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in DumpB74410240DebugData() local 1171 CHECK(stack_map.IsValid()); in DumpB74410240DebugData() 1172 uint32_t dex_pc = stack_map.GetDexPc(); in DumpB74410240DebugData() 1186 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in DumpB74410240DebugData()
|
/art/oatdump/ |
D | oatdump.cc | 1633 StackMap stack_map = helper.GetStackMap(); in DumpCode() local 1634 DCHECK(stack_map.IsValid()); in DumpCode() 1635 stack_map.Dump(vios, in DumpCode()
|