Lines Matching refs:compiled_method
102 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize() argument
105 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
874 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod() local
876 if (HasCompiledCode(compiled_method)) { in VisitMethod()
877 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in VisitMethod()
902 DCHECK(compiled_method == nullptr || compiled_method->GetPatches().empty()); in VisitMethod()
960 CompiledMethod* compiled_method = in VisitMethod() local
962 compiled_methods_.push_back(compiled_method); in VisitMethod()
963 if (HasCompiledCode(compiled_method)) { in VisitMethod()
1011 CompiledMethod* compiled_method; member
1167 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod() local
1169 if (HasCompiledCode(compiled_method)) { in VisitMethod()
1174 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod()
1206 compiled_method, in VisitMethod()
1273 CompiledMethod* compiled_method = method_data.compiled_method; in VisitMethod() local
1281 DCHECK(HasCompiledCode(compiled_method)) << method_ref.PrettyMethod(); in VisitMethod()
1286 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod()
1288 uint32_t thumb_offset = compiled_method->CodeDelta(); in VisitMethod()
1298 quick_code_offset = NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod()
1303 compiled_method, in VisitMethod()
1304 [this, &deduped, compiled_method, &method_ref, thumb_offset]() { in VisitMethod()
1306 return NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod()
1329 CHECK(!compiled_method->GetQuickCode().empty()); in VisitMethod()
1347 const uint8_t* code_info = compiled_method->GetVmapTable().data(); in VisitMethod()
1358 info.code_item = compiled_method->IsIntrinsic() ? nullptr : method_data.code_item; in VisitMethod()
1359 info.isa = compiled_method->GetInstructionSet(); in VisitMethod()
1368 info.cfi = compiled_method->GetCFIInfo(); in VisitMethod()
1418 uint32_t NewQuickCodeOffset(CompiledMethod* compiled_method, in NewQuickCodeOffset() argument
1421 offset_ = relative_patcher_->ReserveSpace(offset_, compiled_method, method_ref); in NewQuickCodeOffset()
1422 offset_ += CodeAlignmentSize(offset_, *compiled_method); in NewQuickCodeOffset()
1424 GetInstructionSetAlignment(compiled_method->GetInstructionSet())); in NewQuickCodeOffset()
1456 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod() local
1458 if (HasCompiledCode(compiled_method)) { in VisitMethod()
1462 ArrayRef<const uint8_t> map = compiled_method->GetVmapTable(); in VisitMethod()
1551 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod() local
1554 if (HasCompiledCode(compiled_method)) { in VisitMethod()
1580 compiled_method != nullptr && in VisitMethod()
1581 compiled_method->GetQuickCode().size() != 0) { in VisitMethod()
1684 CompiledMethod* compiled_method = method_data.compiled_method; in VisitMethod() local
1689 DCHECK(HasCompiledCode(compiled_method)) << method_ref.PrettyMethod(); in VisitMethod()
1695 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod()
1706 uint32_t alignment_size = CodeAlignmentSize(offset_, *compiled_method); in VisitMethod()
1716 GetInstructionSetAlignment(compiled_method->GetInstructionSet())); in VisitMethod()
1718 offset_ + sizeof(OatQuickMethodHeader) + compiled_method->CodeDelta()) in VisitMethod()
1730 if (!compiled_method->GetPatches().empty()) { in VisitMethod()
1733 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in VisitMethod()
2426 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod(method_ref); in VisitDexMethods() local
2427 if (compiled_method != nullptr && HasQuickeningInfo(compiled_method)) { in VisitDexMethods()
2428 ArrayRef<const uint8_t> map = compiled_method->GetVmapTable(); in VisitDexMethods()
4160 CompiledMethod* compiled_method = compiled_methods_[i]; in OatClass() local
4161 if (HasCompiledCode(compiled_method)) { in OatClass()