Home
last modified time | relevance | path

Searched refs:compiled_method (Results 1 – 19 of 19) sorted by relevance

/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc28 const CompiledMethod* compiled_method, in ReserveSpace() argument
30 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
91 const CompiledMethod* compiled_method, in ReserveSpaceInternal() argument
94 uint32_t quick_code_size = compiled_method->GetQuickCode().size(); in ReserveSpaceInternal()
95 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader); in ReserveSpaceInternal()
96 uint32_t next_aligned_offset = compiled_method->AlignCode(quick_code_offset + quick_code_size); in ReserveSpaceInternal()
98 next_aligned_offset = compiled_method->AlignCode(next_aligned_offset + max_extra_space); in ReserveSpaceInternal()
109 uint32_t thunk_location = compiled_method->AlignCode(offset); in ReserveSpaceInternal()
114 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpaceInternal()
Drelative_patcher_arm_base.h31 const CompiledMethod* compiled_method,
44 const CompiledMethod* compiled_method,
/art/compiler/linker/
Drelative_patcher_test.h106 for (auto& compiled_method : compiled_methods_) { in Link()
107 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link()
109 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link()
114 uint32_t quick_code_offset = offset + compiled_method->CodeDelta(); in Link()
115 const auto code = compiled_method->GetQuickCode(); in Link()
136 for (auto& compiled_method : compiled_methods_) { in Link()
139 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link()
147 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link()
148 if (!compiled_method->GetPatches().empty()) { in Link()
151 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link()
[all …]
Dmulti_oat_relative_patcher.h69 const CompiledMethod* compiled_method, in ReserveSpace() argument
72 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
Drelative_patcher.h87 const CompiledMethod* compiled_method,
Drelative_patcher.cc45 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
Dmulti_oat_relative_patcher_test.cc38 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/
Dcommon_compiler_test.cc47 const CompiledMethod* compiled_method = nullptr; in MakeExecutable() local
51 compiled_method = in MakeExecutable()
55 if (compiled_method != nullptr) { in MakeExecutable()
56 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in MakeExecutable()
59 ArrayRef<const uint8_t> vmap_table = compiled_method->GetVmapTable(); in MakeExecutable()
63 compiled_method->GetFrameSizeInBytes(), in MakeExecutable()
64 compiled_method->GetCoreSpillMask(), in MakeExecutable()
65 compiled_method->GetFpSpillMask(), in MakeExecutable()
70 const size_t max_padding = GetInstructionSetAlignment(compiled_method->GetInstructionSet()); in MakeExecutable()
80 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
[all …]
Doat_writer.cc627 CompiledMethod* compiled_method = in VisitMethod() local
629 compiled_methods_.push_back(compiled_method); in VisitMethod()
630 if (compiled_method != nullptr) { in VisitMethod()
681 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod() local
683 if (compiled_method != nullptr) { in VisitMethod()
687 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod()
689 uint32_t thumb_offset = compiled_method->CodeDelta(); in VisitMethod()
700 quick_code_offset = NewQuickCodeOffset(compiled_method, it, thumb_offset); in VisitMethod()
705 compiled_method, in VisitMethod()
706 [this, &deduped, compiled_method, &it, thumb_offset]() { in VisitMethod()
[all …]
Doat_test.cc63 const CompiledMethod* compiled_method = in CheckMethod() local
67 if (compiled_method == nullptr) { in CheckMethod()
76 EXPECT_EQ(oat_method.GetFrameSizeInBytes(), compiled_method->GetFrameSizeInBytes()); in CheckMethod()
77 EXPECT_EQ(oat_method.GetCoreSpillMask(), compiled_method->GetCoreSpillMask()); in CheckMethod()
78 EXPECT_EQ(oat_method.GetFpSpillMask(), compiled_method->GetFpSpillMask()); in CheckMethod()
81 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod()
DAndroid.mk22 compiled_method.cc \
153 compiled_method.h \
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc56 const CompiledMethod* compiled_method, in ReserveSpace() argument
60 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
73 DCHECK(compiled_method != nullptr); in ReserveSpace()
74 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
79 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, kAdrpThunkSize * num_adrp); in ReserveSpace()
86 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader); in ReserveSpace()
87 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace()
88 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
89 DCHECK(compiled_method != nullptr); in ReserveSpace()
90 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
Drelative_patcher_arm64.h32 const CompiledMethod* compiled_method,
/art/compiler/linker/x86/
Drelative_patcher_x86_base.h28 const CompiledMethod* compiled_method,
Drelative_patcher_x86_base.cc24 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/jit/
Djit_compiler.h61 bool AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method)
/art/compiler/driver/
Dcompiler_driver.cc574 CompiledMethod* compiled_method = nullptr; in CompileMethod() local
587 compiled_method = optimizer::ArtCompileDEX( in CompileMethod()
606 compiled_method = driver->GetCompiler()->JniCompile(access_flags, method_idx, dex_file); in CompileMethod()
607 CHECK(compiled_method != nullptr); in CompileMethod()
630 compiled_method = driver->GetCompiler()->Compile(code_item, access_flags, invoke_type, in CompileMethod()
634 if (compiled_method == nullptr && in CompileMethod()
649 if (compiled_method != nullptr) { in CompileMethod()
652 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in CompileMethod()
661 driver->AddCompiledMethod(method_ref, compiled_method, non_relative_linker_patch_count); in CompileMethod()
2718 CompiledMethod* const compiled_method, in AddCompiledMethod() argument
[all …]
Dcompiler_driver.h182 CompiledMethod* const compiled_method,
/art/compiler/optimizing/
Doptimizing_compiler.cc590 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit() local
605 return compiled_method; in Emit()