/art/compiler/optimizing/ |
D | stack_map_test.cc | 31 const CodeInfo& code_info, in CheckStackMask() argument 34 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckStackMask() 67 CodeInfo code_info(memory.data()); in TEST() local 68 ASSERT_EQ(1u, code_info.GetNumberOfStackMaps()); in TEST() 70 uint32_t number_of_catalog_entries = code_info.GetNumberOfLocationCatalogEntries(); in TEST() 73 StackMap stack_map = code_info.GetStackMapAt(0); in TEST() 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() 78 ASSERT_EQ(0x3u, code_info.GetRegisterMaskOf(stack_map)); in TEST() 80 ASSERT_TRUE(CheckStackMask(code_info, stack_map, sp_mask)); in TEST() [all …]
|
D | stack_map_stream.cc | 114 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginStackMapEntry() argument 116 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, in BeginStackMapEntry() 120 StackMap stack_map = code_info.GetCatchStackMapForDexPc(dex_pc); in BeginStackMapEntry() 123 StackMap stack_map = code_info.GetStackMapAt(stack_map_index); 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() 160 dchecks_.emplace_back([=](const CodeInfo& code_info) { in EndStackMapEntry() argument 161 StackMap stack_map = code_info.GetStackMapAt(stack_map_index); in EndStackMapEntry() 164 CHECK_EQ(code_info.GetInlineInfosOf(stack_map).size(), inlining_depth); in EndStackMapEntry() 200 dchecks_.emplace_back([=](const CodeInfo& code_info) { in BeginInlineInfoEntry() argument [all …]
|
D | code_generator.cc | 972 const CodeInfo& code_info, in CheckCovers() argument 978 DCHECK(code_info.GetOsrStackMapForDexPc(dex_pc).IsValid()); in CheckCovers() 988 const CodeInfo& code_info, in CheckLoopEntriesCanBeUsedForOsr() argument 1011 CheckCovers(target, graph, code_info, loop_headers, &covered); in CheckLoopEntriesCanBeUsedForOsr() 1021 CheckCovers(target, graph, code_info, loop_headers, &covered); in CheckLoopEntriesCanBeUsedForOsr()
|
D | optimizing_compiler.cc | 1330 info.code_info = nullptr; in JitCompile() 1439 info.code_info = stack_map.size() == 0 ? nullptr : stack_map_data; in JitCompile()
|
/art/runtime/ |
D | oat_quick_method_header.cc | 36 CodeInfo code_info(this, CodeInfo::DecodeFlags::InlineInfoOnly); in ToDexPc() local 37 StackMap stack_map = code_info.GetStackMapForNativePcOffset(sought_offset); in ToDexPc() 61 CodeInfo code_info(this, CodeInfo::DecodeFlags::InlineInfoOnly); in ToNativeQuickPc() local 67 LIKELY(is_for_catch_handler) ? code_info.GetCatchStackMapForDexPc(dex_pc) in ToNativeQuickPc() 68 : code_info.GetStackMapForDexPc(dex_pc); in ToNativeQuickPc()
|
D | stack_map.cc | 63 CodeInfo code_info; // Temporary storage for decoded data. in Dedupe() local 64 ForEachHeaderField([this, &reader, &code_info](auto member_pointer) { in Dedupe() 65 code_info.*member_pointer = reader.ReadVarint(); in Dedupe() 66 writer_.WriteVarint(code_info.*member_pointer); in Dedupe() 68 ForEachBitTableField([this, &reader, &code_info](auto member_pointer) { in Dedupe() 72 (code_info.*member_pointer).Decode(reader); in Dedupe() 190 CodeInfo code_info; // Temporary storage for decoded tables. in CollectSizeStats() local 191 ForEachBitTableField([codeinfo_stats, &reader, &code_info](auto member_pointer) { in CollectSizeStats() 192 auto& table = code_info.*member_pointer; in CollectSizeStats() 278 const CodeInfo& code_info, in Dump() argument [all …]
|
D | check_reference_map_visitor.h | 67 CodeInfo code_info(GetCurrentOatQuickMethodHeader()); in CheckOptimizedMethod() 68 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in CheckOptimizedMethod() 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 | quick_exception_handler.cc | 298 CodeInfo code_info(handler_method_header_); in SetCatchEnvironmentForOptimizedHandler() local 301 StackMap catch_stack_map = code_info.GetCatchStackMapForDexPc(GetHandlerDexPc()); in SetCatchEnvironmentForOptimizedHandler() 303 DexRegisterMap catch_vreg_map = code_info.GetDexRegisterMapOf(catch_stack_map); in SetCatchEnvironmentForOptimizedHandler() 311 code_info.GetStackMapForNativePcOffset(stack_visitor->GetNativePcOffset()); in SetCatchEnvironmentForOptimizedHandler() 313 DexRegisterMap throw_vreg_map = code_info.GetDexRegisterMapOf(throw_stack_map); in SetCatchEnvironmentForOptimizedHandler() 471 CodeInfo code_info(method_header); in HandleOptimizingDeoptimization() local 473 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in HandleOptimizingDeoptimization() 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() [all …]
|
D | stack.cc | 84 CodeInfo code_info(method_header); in GetMethod() local 86 return GetResolvedMethod(*GetCurrentQuickFrame(), code_info, current_inline_frames_); in GetMethod() 209 CodeInfo code_info(method_header); in GetVRegFromOptimizedCode() local 212 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); 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()
|
D | stack_map.h | 165 const CodeInfo& code_info, 286 size_t Dedupe(const uint8_t* code_info); 439 static void CollectSizeStats(const uint8_t* code_info, /*out*/ Stats* parent);
|
D | thread.cc | 3781 CodeInfo code_info(method_header, kPrecise in VisitQuickFrameWithVregCallback() local 3784 StackMap map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in VisitQuickFrameWithVregCallback() 3787 T vreg_info(m, code_info, map, visitor_); in VisitQuickFrameWithVregCallback() 3790 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(map); in VisitQuickFrameWithVregCallback() 3805 uint32_t register_mask = code_info.GetRegisterMaskOf(map); in VisitQuickFrameWithVregCallback() 3852 const CodeInfo& code_info ATTRIBUTE_UNUSED, in VisitQuickFrameNonPrecise() 3886 code_info(_code_info), in VisitQuickFramePrecise() 3887 dex_register_map(code_info.GetDexRegisterMapOf(map)), in VisitQuickFramePrecise() 3933 const CodeInfo& code_info; in VisitQuickFramePrecise() member
|
/art/compiler/debug/ |
D | elf_debug_loc_writer.h | 101 const CodeInfo code_info(method_info->code_info); in GetVariableLocations() 103 for (uint32_t s = 0; s < code_info.GetNumberOfStackMaps(); s++) { in GetVariableLocations() 104 StackMap stack_map = code_info.GetStackMapAt(s); in GetVariableLocations() 126 const StackMap stack_map = code_info.GetStackMapAt(stack_map_index); in GetVariableLocations() 187 if (method_info->code_info == nullptr || dex_register_maps.empty()) { in WriteDebugLocEntry()
|
D | elf_debug_line_writer.h | 95 if (mi->code_info != nullptr) { in WriteCompilationUnit() 97 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit() 98 pc2dex_map.reserve(code_info.GetNumberOfStackMaps()); in WriteCompilationUnit() 99 for (StackMap stack_map : code_info.GetStackMaps()) { in WriteCompilationUnit()
|
D | method_debug_info.h | 44 const uint8_t* code_info; member
|
D | elf_debug_info_writer.h | 191 std::unique_ptr<const CodeInfo> code_info; in Write() local 193 if (accessor.HasCodeItem() && mi->code_info != nullptr) { in Write() 194 code_info.reset(new CodeInfo(mi->code_info)); in Write() 195 for (StackMap stack_map : code_info->GetStackMaps()) { in Write() 196 dex_reg_maps.push_back(code_info->GetDexRegisterMapOf(stack_map)); in Write()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 207 CodeInfo code_info(current_code, CodeInfo::DecodeFlags::InlineInfoOnly); in DoGetCalleeSaveMethodCaller() local 208 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in DoGetCalleeSaveMethodCaller() 210 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in DoGetCalleeSaveMethodCaller() 212 caller = GetResolvedMethod(outer_method, code_info, inline_infos); in DoGetCalleeSaveMethodCaller()
|
D | entrypoint_utils-inl.h | 50 const CodeInfo& code_info, in GetResolvedMethod() argument 67 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in GetResolvedMethod() 82 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in GetResolvedMethod()
|
/art/runtime/jit/ |
D | jit.cc | 455 CodeInfo code_info(osr_method); in MaybeDoOnStackReplacement() local 458 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc + dex_pc_offset); in MaybeDoOnStackReplacement() 474 DexRegisterMap vreg_map = code_info.GetDexRegisterMapOf(stack_map); in MaybeDoOnStackReplacement()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 346 CodeInfo code_info(current_code, CodeInfo::DecodeFlags::InlineInfoOnly); in GetCallingDexPc() local 347 StackMap stack_map = code_info.GetStackMapForNativePcOffset(outer_pc_offset); in GetCallingDexPc() 349 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in GetCallingDexPc() 1251 CodeInfo code_info(current_code); in DumpB74410240DebugData() local 1252 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset); in DumpB74410240DebugData() 1268 BitTableRange<InlineInfo> inline_infos = code_info.GetInlineInfosOf(stack_map); in DumpB74410240DebugData() 1276 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in DumpB74410240DebugData()
|
/art/oatdump/ |
D | oatdump.cc | 323 info.code_info = info.is_optimized ? method_header->GetOptimizedCodeInfoPtr() : nullptr; in WalkOatMethod() 1356 CodeInfo code_info(raw_code_info); in DumpVmapData() local 1359 DumpCodeInfo(vios, code_info, oat_method); in DumpVmapData() 1373 const CodeInfo& code_info, in DumpCodeInfo() argument 1375 code_info.Dump(vios, in DumpCodeInfo()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1347 const uint8_t* code_info = compiled_method->GetVmapTable().data(); in VisitMethod() local 1348 DCHECK(code_info != nullptr); in VisitMethod() 1366 info.frame_size_in_bytes = CodeInfo::DecodeFrameInfo(code_info).FrameSizeInBytes(); in VisitMethod() 1367 info.code_info = code_info; in VisitMethod()
|