/art/runtime/ |
D | oat_file-inl.h | 37 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetOatQuickMethodHeaderOffset() local 38 if (method_header == nullptr) { in GetOatQuickMethodHeaderOffset() 41 return reinterpret_cast<const uint8_t*>(method_header) - begin_; in GetOatQuickMethodHeaderOffset() 45 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetQuickCodeSizeOffset() local 46 if (method_header == nullptr) { in GetQuickCodeSizeOffset() 49 return reinterpret_cast<const uint8_t*>(method_header->GetCodeSizeAddr()) - begin_; in GetQuickCodeSizeOffset() 82 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetVmapTableOffsetOffset() local 83 if (method_header == nullptr) { in GetVmapTableOffsetOffset() 86 return reinterpret_cast<const uint8_t*>(method_header->GetVmapTableOffsetAddr()) - begin_; in GetVmapTableOffsetOffset()
|
D | art_method.cc | 598 OatQuickMethodHeader* method_header = in GetOatQuickMethodHeader() local 601 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 602 return method_header; in GetOatQuickMethodHeader() 610 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() local 611 if (method_header != nullptr) { in GetOatQuickMethodHeader() 612 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 613 return method_header; in GetOatQuickMethodHeader() 648 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromEntryPoint(oat_entry_point); in GetOatQuickMethodHeader() local 652 return method_header; in GetOatQuickMethodHeader() 655 DCHECK(method_header->Contains(pc)) in GetOatQuickMethodHeader() [all …]
|
D | cha.cc | 209 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in VisitFrame() local 210 DCHECK(method_header != nullptr); in VisitFrame() 211 if (!method_header->HasShouldDeoptimizeFlag()) { in VisitFrame() 215 auto it = std::find(method_headers_.begin(), method_headers_.end(), method_header); in VisitFrame() 670 OatQuickMethodHeader* method_header = dependent.second; in InvalidateSingleImplementationMethods() local 676 headers.push_back({method, method_header}); in InvalidateSingleImplementationMethods() 677 dependent_method_headers.insert(method_header); in InvalidateSingleImplementationMethods()
|
D | fault_handler.cc | 329 const OatQuickMethodHeader* method_header = method_obj->GetOatQuickMethodHeader(return_pc); in IsInGeneratedCode() local 336 reinterpret_cast<uintptr_t>(method_header->GetEntryPoint()); in IsInGeneratedCode() 339 uint32_t dexpc = method_header->ToDexPc(method_obj, return_pc, false); in IsInGeneratedCode()
|
D | stack.cc | 83 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in GetMethod() local 84 CodeInfo code_info(method_header); in GetMethod() 208 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in GetVRegFromOptimizedCode() local 209 CodeInfo code_info(method_header); in GetVRegFromOptimizedCode() 211 uint32_t native_pc_offset = method_header->NativeQuickPcOffset(cur_quick_frame_pc_); in GetVRegFromOptimizedCode()
|
D | quick_exception_handler.cc | 470 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in HandleOptimizingDeoptimization() local 471 CodeInfo code_info(method_header); in HandleOptimizingDeoptimization() 472 uintptr_t native_pc_offset = method_header->NativeQuickPcOffset(GetCurrentQuickFramePc()); in HandleOptimizingDeoptimization()
|
D | thread.cc | 3776 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in VisitQuickFrameWithVregCallback() local 3777 DCHECK(method_header->IsOptimized()); in VisitQuickFrameWithVregCallback() 3780 uintptr_t native_pc_offset = method_header->NativeQuickPcOffset(GetCurrentQuickFramePc()); in VisitQuickFrameWithVregCallback() 3781 CodeInfo code_info(method_header, kPrecise in VisitQuickFrameWithVregCallback()
|
/art/test/004-ReferenceMap/ |
D | stack_walk_refmap_jni.cc | 26 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); \ 27 uintptr_t native_quick_pc = method_header->ToNativeQuickPc(GetMethod(), \ 32 CheckReferences(t, t_size, method_header->NativeQuickPcOffset(native_quick_pc)); \
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 712 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable() local 713 uint8_t* data = method_header->GetOptimizedCodeInfoPtr(); in GetRootTable() 829 for (const OatQuickMethodHeader* method_header : method_headers) { in FreeAllMethodHeaders() local 830 FreeCodeAndData(method_header->GetCode()); in FreeAllMethodHeaders() 994 OatQuickMethodHeader* method_header = nullptr; in CommitCodeInternal() local 1020 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in CommitCodeInternal() 1027 new (method_header) OatQuickMethodHeader( in CommitCodeInternal() 1033 method_header->SetHasShouldDeoptimizeFlag(); in CommitCodeInternal() 1038 method_header = TranslateAddress(method_header, non_exec_pages_, exec_pages_); in CommitCodeInternal() 1118 class_linker->GetClassHierarchyAnalysis()->AddDependency(single_impl, method, method_header); in CommitCodeInternal() [all …]
|
/art/compiler/ |
D | common_compiler_test.cc | 59 OatQuickMethodHeader method_header(vmap_table_offset, code_size); in MakeExecutable() local 64 const size_t size = vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable() 66 chunk->resize(sizeof(method_header)); in MakeExecutable() 68 memcpy(&(*chunk)[0], &method_header, sizeof(method_header)); in MakeExecutable()
|
D | exception_test.cc | 96 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_.data(), code_size); in SetUp() local 98 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
|
/art/oatdump/ |
D | oatdump.cc | 298 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in WalkOatMethod() local 299 if (method_header == nullptr || method_header->GetCodeSize() == 0) { in WalkOatMethod() 318 info.is_optimized = method_header->IsOptimized(); in WalkOatMethod() 321 info.code_size = method_header->GetCodeSize(); in WalkOatMethod() 322 info.frame_size_in_bytes = method_header->GetFrameSizeInBytes(); in WalkOatMethod() 323 info.code_info = info.is_optimized ? method_header->GetOptimizedCodeInfoPtr() : nullptr; in WalkOatMethod() 1196 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in DumpOatMethod() local 1197 if (AddStatsObject(method_header)) { in DumpOatMethod() 1198 stats_.Child("QuickMethodHeader")->AddBytes(sizeof(*method_header)); in DumpOatMethod() 1201 vios->Stream() << StringPrintf("%p ", method_header); in DumpOatMethod() [all …]
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 1313 const auto* method_header = reinterpret_cast<const OatQuickMethodHeader*>(code); in JitCompile() local 1314 const uintptr_t code_address = reinterpret_cast<uintptr_t>(method_header->GetCode()); in JitCompile() 1329 info.frame_size_in_bytes = method_header->GetFrameSizeInBytes(); in JitCompile() 1422 const auto* method_header = reinterpret_cast<const OatQuickMethodHeader*>(code); in JitCompile() local 1423 const uintptr_t code_address = reinterpret_cast<uintptr_t>(method_header->GetCode()); in JitCompile() 1438 info.frame_size_in_bytes = method_header->GetFrameSizeInBytes(); in JitCompile()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1324 OatQuickMethodHeader* method_header = &oat_class->method_headers_[method_offsets_index_]; in VisitMethod() local 1325 uint32_t vmap_table_offset = method_header->GetVmapTableOffset(); in VisitMethod() 1336 *method_header = OatQuickMethodHeader(vmap_table_offset, code_size); in VisitMethod() 1340 offset_ += sizeof(*method_header); // Method header is prepended before code. in VisitMethod() 1362 info.is_optimized = method_header->IsOptimized(); in VisitMethod() 1720 const OatQuickMethodHeader& method_header = in VisitMethod() local 1722 if (!out->WriteFully(&method_header, sizeof(method_header))) { in VisitMethod() 1726 writer_->size_method_header_ += sizeof(method_header); in VisitMethod() 1727 offset_ += sizeof(method_header); in VisitMethod()
|