Lines Matching refs:oat_method
287 void WalkOatMethod(const OatFile::OatMethod& oat_method,
298 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader();
304 uint32_t entry_point = oat_method.GetCodeOffset() - oat_header.GetExecutableOffset();
316 info.deduped = !seen_offsets_.insert(oat_method.GetCodeOffset()).second;
870 oat_method) {
871 uint32_t code_offset = oat_method.GetCodeOffset();
876 offsets_.insert(oat_method.GetVmapTableOffset());
1130 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_index);
1131 uint32_t code_offset = oat_method.GetCodeOffset();
1132 uint32_t code_size = oat_method.GetQuickCodeSize();
1184 uint32_t aligned_code_begin = AlignCodeOffset(oat_method.GetCodeOffset());
1195 uint32_t method_header_offset = oat_method.GetOatQuickMethodHeaderOffset();
1196 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader();
1216 vios->Stream() << StringPrintf("%p ", oat_method.GetVmapTable());
1223 IsMethodGeneratedByDexToDexCompiler(oat_method, code_item_accessor)
1232 oat_method.GetVmapTableOffsetOffset());
1235 DumpVmapData(vios, oat_method, code_item_accessor);
1243 << StringPrintf("frame_size_in_bytes: %zd\n", oat_method.GetFrameSizeInBytes());
1244 vios->Stream() << StringPrintf("core_spill_mask: 0x%08x ", oat_method.GetCoreSpillMask());
1245 DumpSpillMask(vios->Stream(), oat_method.GetCoreSpillMask(), false);
1247 vios->Stream() << StringPrintf("fp_spill_mask: 0x%08x ", oat_method.GetFpSpillMask());
1248 DumpSpillMask(vios->Stream(), oat_method.GetFpSpillMask(), true);
1256 DumpVregLocations(vios->Stream(), oat_method, code_item_accessor);
1260 uint32_t code_size_offset = oat_method.GetQuickCodeSizeOffset();
1268 const void* code = oat_method.GetQuickCode();
1300 DumpCode(vios, oat_method, code_item_accessor, true, kPrologueBytes);
1313 DumpCode(vios, oat_method, code_item_accessor, true, kPrologueBytes);
1317 DumpCode(vios, oat_method, code_item_accessor, !success, 0);
1350 const OatFile::OatMethod& oat_method,
1352 if (IsMethodGeneratedByOptimizingCompiler(oat_method, code_item_accessor)) {
1354 const uint8_t* raw_code_info = oat_method.GetVmapTable();
1359 DumpCodeInfo(vios, code_info, oat_method);
1361 } else if (IsMethodGeneratedByDexToDexCompiler(oat_method, code_item_accessor)) {
1374 const OatFile::OatMethod& oat_method) {
1376 oat_method.GetCodeOffset(),
1429 void DumpVregLocations(std::ostream& os, const OatFile::OatMethod& oat_method,
1449 oat_method.GetCoreSpillMask(),
1450 oat_method.GetFpSpillMask(),
1451 oat_method.GetFrameSizeInBytes(),
1470 // Has `oat_method` -- corresponding to the Dex `code_item` -- been compiled by
1473 const OatFile::OatMethod& oat_method,
1478 return oat_method.GetQuickCode() != nullptr &&
1479 oat_method.GetVmapTable() != nullptr &&
1483 // Has `oat_method` -- corresponding to the Dex `code_item` -- been compiled by
1486 const OatFile::OatMethod& oat_method,
1491 return oat_method.GetQuickCode() == nullptr &&
1492 oat_method.GetVmapTable() != nullptr &&
1606 const OatFile::OatMethod& oat_method,
1609 const void* quick_code = oat_method.GetQuickCode();
1612 code_size = oat_method.GetQuickCodeSize();
1617 } else if (!bad_input && IsMethodGeneratedByOptimizingCompiler(oat_method,
1620 StackMapsHelper helper(oat_method.GetVmapTable(), instruction_set_);
1621 if (AddStatsObject(oat_method.GetVmapTable())) {
1622 helper.GetCodeInfo().CollectSizeStats(oat_method.GetVmapTable(), &stats_);
1634 oat_method.GetCodeOffset(),