/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 | 607 OatQuickMethodHeader* method_header = in GetOatQuickMethodHeader() local 610 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 611 return method_header; in GetOatQuickMethodHeader() 624 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() local 625 if (method_header != nullptr) { in GetOatQuickMethodHeader() 626 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 627 return method_header; in GetOatQuickMethodHeader() 662 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromEntryPoint(oat_entry_point); in GetOatQuickMethodHeader() local 666 return method_header; in GetOatQuickMethodHeader() 669 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 | 330 const OatQuickMethodHeader* method_header = method_obj->GetOatQuickMethodHeader(return_pc); in IsInGeneratedCode() local 337 reinterpret_cast<uintptr_t>(method_header->GetEntryPoint()); in IsInGeneratedCode() 347 dexpc = method_header->ToDexPc(reinterpret_cast<ArtMethod**>(sp), return_pc, false); in IsInGeneratedCode()
|
D | quick_exception_handler.cc | 456 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in HandleOptimizingDeoptimization() local 457 CodeInfo code_info(method_header); in HandleOptimizingDeoptimization() 458 uintptr_t native_pc_offset = method_header->NativeQuickPcOffset(GetCurrentQuickFramePc()); in HandleOptimizingDeoptimization()
|
D | stack.cc | 279 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in GetVRegFromOptimizedCode() local 280 CodeInfo code_info(method_header); in GetVRegFromOptimizedCode() 282 uint32_t native_pc_offset = method_header->NativeQuickPcOffset(cur_quick_frame_pc_); in GetVRegFromOptimizedCode()
|
/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 | 359 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod() local 360 return method_header->GetEntryPoint(); in GetSavedEntryPointOfPreCompiledMethod() 408 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable() local 409 uint8_t* data = method_header->GetOptimizedCodeInfoPtr(); in GetRootTable() 496 for (const OatQuickMethodHeader* method_header : method_headers) { in FreeAllMethodHeaders() local 497 removed_symbols.push_back(method_header->GetCode()); in FreeAllMethodHeaders() 503 for (const OatQuickMethodHeader* method_header : method_headers) { in FreeAllMethodHeaders() local 504 FreeCodeAndData(method_header->GetCode(), /*free_debug_info=*/ false); in FreeAllMethodHeaders() 669 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in Commit() local 706 class_linker->GetClassHierarchyAnalysis()->AddDependency(single_impl, method, method_header); in Commit() [all …]
|
D | jit_memory_region.cc | 379 OatQuickMethodHeader* method_header = in CommitCode() local 381 new (method_header) OatQuickMethodHeader( in CommitCode() 385 method_header->SetHasShouldDeoptimizeFlag(); in CommitCode()
|
/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 | 295 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in WalkOatMethod() local 296 if (method_header == nullptr || method_header->GetCodeSize() == 0) { in WalkOatMethod() 315 info.is_optimized = method_header->IsOptimized(); in WalkOatMethod() 318 info.code_size = method_header->GetCodeSize(); in WalkOatMethod() 319 info.frame_size_in_bytes = method_header->GetFrameSizeInBytes(); in WalkOatMethod() 320 info.code_info = info.is_optimized ? method_header->GetOptimizedCodeInfoPtr() : nullptr; in WalkOatMethod() 1195 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in DumpOatMethod() local 1196 if (AddStatsObject(method_header)) { in DumpOatMethod() 1197 stats_.Child("QuickMethodHeader")->AddBytes(sizeof(*method_header)); in DumpOatMethod() 1200 vios->Stream() << StringPrintf("%p ", method_header); in DumpOatMethod() [all …]
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1345 OatQuickMethodHeader* method_header = &oat_class->method_headers_[method_offsets_index_]; in VisitMethod() local 1346 uint32_t vmap_table_offset = method_header->GetVmapTableOffset(); in VisitMethod() 1357 *method_header = OatQuickMethodHeader(vmap_table_offset, code_size); in VisitMethod() 1361 offset_ += sizeof(*method_header); // Method header is prepended before code. in VisitMethod() 1383 info.is_optimized = method_header->IsOptimized(); in VisitMethod() 1743 const OatQuickMethodHeader& method_header = in VisitMethod() local 1745 if (!out->WriteFully(&method_header, sizeof(method_header))) { in VisitMethod() 1749 writer_->size_method_header_ += sizeof(method_header); in VisitMethod() 1750 offset_ += sizeof(method_header); in VisitMethod()
|