Lines Matching refs:oat_method
285 void WalkOatMethod(const OatFile::OatMethod& oat_method, in WalkOatMethod() argument
296 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in WalkOatMethod()
302 uint32_t entry_point = oat_method.GetCodeOffset() - oat_header.GetExecutableOffset(); in WalkOatMethod()
314 info.deduped = !seen_offsets_.insert(oat_method.GetCodeOffset()).second; in WalkOatMethod()
852 void AddOffsets(const OatFile::OatMethod& oat_method) { in AddOffsets() argument
853 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets()
858 offsets_.insert(oat_method.GetVmapTableOffset()); in AddOffsets()
1112 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_index); in DumpOatMethod() local
1113 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod()
1114 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod()
1171 uint32_t aligned_code_begin = AlignCodeOffset(oat_method.GetCodeOffset()); in DumpOatMethod()
1182 uint32_t method_header_offset = oat_method.GetOatQuickMethodHeaderOffset(); in DumpOatMethod()
1183 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in DumpOatMethod()
1204 vios->Stream() << StringPrintf("%p ", oat_method.GetVmapTable()); in DumpOatMethod()
1211 IsMethodGeneratedByDexToDexCompiler(oat_method, code_item_accessor) in DumpOatMethod()
1221 DumpVmapData(vios, oat_method, code_item_accessor); in DumpOatMethod()
1229 << StringPrintf("frame_size_in_bytes: %zd\n", oat_method.GetFrameSizeInBytes()); in DumpOatMethod()
1230 vios->Stream() << StringPrintf("core_spill_mask: 0x%08x ", oat_method.GetCoreSpillMask()); in DumpOatMethod()
1231 DumpSpillMask(vios->Stream(), oat_method.GetCoreSpillMask(), false); in DumpOatMethod()
1233 vios->Stream() << StringPrintf("fp_spill_mask: 0x%08x ", oat_method.GetFpSpillMask()); in DumpOatMethod()
1234 DumpSpillMask(vios->Stream(), oat_method.GetFpSpillMask(), true); in DumpOatMethod()
1242 DumpVregLocations(vios->Stream(), oat_method, code_item_accessor); in DumpOatMethod()
1247 const void* code = oat_method.GetQuickCode(); in DumpOatMethod()
1279 DumpCode(vios, oat_method, code_item_accessor, true, kPrologueBytes); in DumpOatMethod()
1293 DumpCode(vios, oat_method, code_item_accessor, true, kPrologueBytes); in DumpOatMethod()
1297 DumpCode(vios, oat_method, code_item_accessor, !success, 0); in DumpOatMethod()
1330 const OatFile::OatMethod& oat_method, in DumpVmapData() argument
1332 if (IsMethodGeneratedByOptimizingCompiler(oat_method, code_item_accessor)) { in DumpVmapData()
1334 const uint8_t* raw_code_info = oat_method.GetVmapTable(); in DumpVmapData()
1339 DumpCodeInfo(vios, code_info, oat_method); in DumpVmapData()
1341 } else if (IsMethodGeneratedByDexToDexCompiler(oat_method, code_item_accessor)) { in DumpVmapData()
1354 const OatFile::OatMethod& oat_method) { in DumpCodeInfo() argument
1356 oat_method.GetCodeOffset(), in DumpCodeInfo()
1409 void DumpVregLocations(std::ostream& os, const OatFile::OatMethod& oat_method, in DumpVregLocations() argument
1429 oat_method.GetCoreSpillMask(), in DumpVregLocations()
1430 oat_method.GetFpSpillMask(), in DumpVregLocations()
1431 oat_method.GetFrameSizeInBytes(), in DumpVregLocations()
1453 const OatFile::OatMethod& oat_method, in IsMethodGeneratedByOptimizingCompiler() argument
1458 return oat_method.GetQuickCode() != nullptr && in IsMethodGeneratedByOptimizingCompiler()
1459 oat_method.GetVmapTable() != nullptr && in IsMethodGeneratedByOptimizingCompiler()
1466 const OatFile::OatMethod& oat_method, in IsMethodGeneratedByDexToDexCompiler() argument
1471 return oat_method.GetQuickCode() == nullptr && in IsMethodGeneratedByDexToDexCompiler()
1472 oat_method.GetVmapTable() != nullptr && in IsMethodGeneratedByDexToDexCompiler()
1505 const OatFile::OatMethod& oat_method, in DumpCode() argument
1508 const void* quick_code = oat_method.GetQuickCode(); in DumpCode()
1511 code_size = oat_method.GetQuickCodeSize(); in DumpCode()
1516 } else if (!bad_input && IsMethodGeneratedByOptimizingCompiler(oat_method, in DumpCode()
1519 CodeInfo code_info(oat_method.GetVmapTable()); in DumpCode()
1520 if (AddStatsObject(oat_method.GetVmapTable())) { in DumpCode()
1521 code_info.CollectSizeStats(oat_method.GetVmapTable(), stats_["CodeInfo"]); in DumpCode()
1536 stack_map.Dump(vios, code_info, oat_method.GetCodeOffset(), instruction_set_); in DumpCode()