/art/compiler/optimizing/ |
D | stack_map_test.cc | 32 const StackMap& stack_map, in CheckStackMask() argument 34 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in CheckStackMask() 78 StackMap stack_map = code_info.GetStackMapAt(0, encoding); in TEST() local 79 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0, encoding))); in TEST() 80 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64, encoding))); in TEST() 81 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST() 82 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 83 ASSERT_EQ(0x3u, code_info.GetRegisterMaskOf(encoding, stack_map)); in TEST() 85 ASSERT_TRUE(CheckStackMask(code_info, encoding, stack_map, sp_mask)); in TEST() 87 ASSERT_TRUE(stack_map.HasDexRegisterMap(encoding.stack_map.encoding)); in TEST() [all …]
|
D | stack_map_stream.cc | 166 encoding.stack_map.num_entries = stack_maps_.size(); in PrepareForFillIn() 167 encoding.stack_map.encoding.SetFromSizes( in PrepareForFillIn() 326 DCHECK_EQ(encoding.stack_map.num_entries, stack_maps_.size()); in FillInCodeInfo() 352 StackMap stack_map = code_info.GetStackMapAt(i, encoding); in FillInCodeInfo() local 355 stack_map.SetDexPc(encoding.stack_map.encoding, entry.dex_pc); in FillInCodeInfo() 356 stack_map.SetNativePcCodeOffset(encoding.stack_map.encoding, entry.native_pc_code_offset); in FillInCodeInfo() 357 stack_map.SetRegisterMaskIndex(encoding.stack_map.encoding, entry.register_mask_index); in FillInCodeInfo() 358 stack_map.SetStackMaskIndex(encoding.stack_map.encoding, entry.stack_mask_index); in FillInCodeInfo() 363 stack_map.SetDexRegisterMapOffset(encoding.stack_map.encoding, offset); in FillInCodeInfo() 378 stack_map.SetInlineInfoIndex(encoding.stack_map.encoding, next_inline_info_index); in FillInCodeInfo() [all …]
|
D | optimizing_compiler.cc | 855 ArenaVector<uint8_t> stack_map(arena->Adapter(kArenaAllocStackMaps)); in Emit() local 860 stack_map.resize(stack_map_size); in Emit() 862 codegen->BuildStackMaps(MemoryRegion(stack_map.data(), stack_map.size()), in Emit() 877 ArrayRef<const uint8_t>(stack_map), in Emit()
|
/art/runtime/ |
D | oat_quick_method_header.cc | 46 StackMap stack_map = code_info.GetStackMapForNativePcOffset(sought_offset, encoding); in ToDexPc() local 47 if (stack_map.IsValid()) { in ToDexPc() 48 return stack_map.GetDexPc(encoding.stack_map.encoding); in ToDexPc() 79 StackMap stack_map = in ToNativeQuickPc() local 82 if (stack_map.IsValid()) { in ToNativeQuickPc() 84 stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA); in ToNativeQuickPc()
|
D | stack_map.h | 1271 BitEncodingTable<StackMapEncoding> stack_map; member 1283 stack_map.Decode(&ptr); in CodeInfoEncoding() 1287 if (stack_map.encoding.GetInlineInfoEncoding().BitSize() > 0) { in CodeInfoEncoding() 1302 stack_map.Encode(dest); in Compress() 1306 if (stack_map.encoding.GetInlineInfoEncoding().BitSize() > 0) { in Compress() 1319 stack_map.UpdateBitOffset(&bit_offset); in ComputeTableOffsets() 1376 return encoding.stack_map.encoding.GetInlineInfoEncoding().BitSize() > 0; in HasInlineInfo() 1389 return StackMap(encoding.stack_map.BitRegion(region_, index)); in GetStackMapAt() 1397 const StackMap& stack_map) const { in GetStackMaskOf() argument 1398 return GetStackMask(stack_map.GetStackMaskIndex(encoding.stack_map.encoding), encoding); in GetStackMaskOf() [all …]
|
D | check_reference_map_visitor.h | 67 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in CheckOptimizedMethod() local 70 code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_dex_registers); in CheckOptimizedMethod() 71 uint32_t register_mask = code_info.GetRegisterMaskOf(encoding, stack_map); in CheckOptimizedMethod() 72 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in CheckOptimizedMethod()
|
D | stack_map.cc | 130 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()
|
D | stack.cc | 83 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetCurrentInlineInfo() local 84 DCHECK(stack_map.IsValid()); in GetCurrentInlineInfo() 85 return code_info.GetInlineInfoOf(stack_map, encoding); in GetCurrentInlineInfo() 235 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetVRegFromOptimizedCode() local 236 DCHECK(stack_map.IsValid()); in GetVRegFromOptimizedCode() 241 code_info.GetInlineInfoOf(stack_map, encoding), in GetVRegFromOptimizedCode() 244 : code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_dex_registers); in GetVRegFromOptimizedCode() 789 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in WalkStack() local 790 if (stack_map.IsValid() && stack_map.HasInlineInfo(encoding.stack_map.encoding)) { in WalkStack() 791 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in WalkStack()
|
D | quick_exception_handler.cc | 407 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in HandleOptimizingDeoptimization() local 409 uint32_t register_mask = code_info.GetRegisterMaskOf(encoding, stack_map); in HandleOptimizingDeoptimization() 410 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(encoding, stack_map); in HandleOptimizingDeoptimization() 413 code_info.GetInlineInfoOf(stack_map, encoding), in HandleOptimizingDeoptimization() 416 : code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_vregs); in HandleOptimizingDeoptimization()
|
D | Android.bp | 209 "stack_map.cc",
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 105 StackMap stack_map = code_info.GetStackMapAt(s, encoding); in WriteCompilationUnit() local 106 DCHECK(stack_map.IsValid()); in WriteCompilationUnit() 107 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa); in WriteCompilationUnit() 108 const int32_t dex = stack_map.GetDexPc(encoding.stack_map.encoding); in WriteCompilationUnit() 110 if (stack_map.HasDexRegisterMap(encoding.stack_map.encoding)) { in WriteCompilationUnit()
|
D | elf_debug_loc_writer.h | 105 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()
|
D | elf_debug_info_writer.h | 186 const StackMap& stack_map = code_info.GetStackMapAt(s, encoding); in Write() local 188 stack_map, encoding, dex_code->registers_size_)); in Write()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 207 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/ |
D | jit_code_cache.cc | 226 uint8_t* stack_map, in CommitCode() argument 241 stack_map, in CommitCode() 259 stack_map, in CommitCode() 294 static uint32_t GetNumberOfRoots(const uint8_t* stack_map) { in GetNumberOfRoots() argument 297 return reinterpret_cast<const uint32_t*>(stack_map)[-1]; in GetNumberOfRoots() 549 uint8_t* stack_map, in CommitCodeInternal() argument 563 DCHECK(stack_map != nullptr); in CommitCodeInternal() 587 code_ptr - stack_map, in CommitCodeInternal() 644 DCHECK_EQ(FromStackMapToRoots(stack_map), roots_data); in CommitCodeInternal() 645 DCHECK_LE(roots_data, stack_map); in CommitCodeInternal()
|
D | jit.cc | 487 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc + dex_pc_offset, encoding); in MaybeDoOnStackReplacement() local 488 if (!stack_map.IsValid()) { in MaybeDoOnStackReplacement() 504 code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_vregs); in MaybeDoOnStackReplacement() 550 native_pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA) + in MaybeDoOnStackReplacement()
|
D | jit_code_cache.h | 108 uint8_t* stack_map, 262 uint8_t* stack_map,
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 356 StackMap stack_map = code_info.GetStackMapForNativePcOffset(outer_pc_offset, encoding); in GetCallingDexPc() local 357 DCHECK(stack_map.IsValid()); in GetCallingDexPc() 358 if (stack_map.HasInlineInfo(encoding.stack_map.encoding)) { in GetCallingDexPc() 359 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in GetCallingDexPc() 363 return stack_map.GetDexPc(encoding.stack_map.encoding); in GetCallingDexPc()
|
/art/oatdump/ |
D | oatdump.cc | 1571 if (last.GetNativePcOffset(encoding_.stack_map.encoding, instruction_set) > in StackMapsHelper() 1572 current.GetNativePcOffset(encoding_.stack_map.encoding, instruction_set)) { in StackMapsHelper() 1588 uint32_t left_pc = left.GetNativePcOffset(encoding_.stack_map.encoding, in StackMapsHelper() 1591 uint32_t right_pc = right.GetNativePcOffset(encoding_.stack_map.encoding, in StackMapsHelper() 1597 offset_ = GetStackMapAt(0).GetNativePcOffset(encoding_.stack_map.encoding, in StackMapsHelper() 1622 : GetStackMapAt(stack_map_index_).GetNativePcOffset(encoding_.stack_map.encoding, in Next() 1661 StackMapEncoding stack_map_encoding(encoding.stack_map.encoding); in DumpCode() 1662 const size_t num_stack_maps = encoding.stack_map.num_entries; in DumpCode() 1742 StackMap stack_map = helper.GetStackMap(); in DumpCode() local 1743 DCHECK(stack_map.IsValid()); in DumpCode() [all …]
|