Home
last modified time | relevance | path

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

12

/aosp_15_r20/art/dex2oat/linker/arm64/
H A Drelative_patcher_arm64.cc106 const CompiledMethod* compiled_method, in ReserveSpace() argument
110 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
124 DCHECK(compiled_method != nullptr); in ReserveSpace()
125 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
130 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace()
132 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
139 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
140 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
141 DCHECK(compiled_method != nullptr); in ReserveSpace()
142 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
H A Drelative_patcher_arm64.h34 const CompiledMethod* compiled_method,
/aosp_15_r20/art/dex2oat/linker/
H A Doat_writer.cc105 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize() argument
108 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
741 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod() local
743 if (HasCompiledCode(compiled_method)) { in VisitMethod()
744 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in VisitMethod()
793 DCHECK(compiled_method == nullptr || compiled_method->GetPatches().empty()); in VisitMethod()
850 CompiledMethod* compiled_method = in VisitMethod() local
852 compiled_methods_.push_back(compiled_method); in VisitMethod()
853 if (HasCompiledCode(compiled_method)) { in VisitMethod()
906 CompiledMethod* compiled_method; member
[all …]
H A Drelative_patcher_test.h130 for (auto& compiled_method : compiled_methods_) { in Link()
131 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link()
137 uint32_t quick_code_offset = offset + compiled_method->GetEntryPointAdjustment(); in Link()
138 const auto code = compiled_method->GetQuickCode(); in Link()
159 for (auto& compiled_method : compiled_methods_) { in Link()
169 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link()
170 if (!compiled_method->GetPatches().empty()) { in Link()
173 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link()
178 : kTrampolineOffset + compiled_method->GetEntryPointAdjustment(); in Link()
H A Dmulti_oat_relative_patcher.h71 const CompiledMethod* compiled_method, in ReserveSpace() argument
74 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
H A Doat_writer_test.cc65 const CompiledMethod* compiled_method = in CheckMethod() local
69 if (compiled_method == nullptr) { in CheckMethod()
80 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod()
H A Drelative_patcher.h115 const CompiledMethod* compiled_method,
H A Drelative_patcher.cc50 [[maybe_unused]] const CompiledMethod* compiled_method, in Create() argument
H A Dmulti_oat_relative_patcher_test.cc37 [[maybe_unused]] const CompiledMethod* compiled_method, in ReserveSpace() argument
/aosp_15_r20/art/dex2oat/linker/arm/
H A Drelative_patcher_arm_base.cc169 const CompiledMethod* compiled_method, in ReserveSpace() argument
171 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
292 const CompiledMethod* compiled_method, in ReserveSpaceInternal() argument
296 uint32_t max_code_size = compiled_method->GetQuickCode().size() + max_extra_space; in ReserveSpaceInternal()
300 code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpaceInternal()
301 next_aligned_offset = compiled_method->AlignCode(code_offset + max_code_size); in ReserveSpaceInternal()
334 ProcessPatches(compiled_method, code_offset); in ReserveSpaceInternal()
403 void ArmBaseRelativePatcher::ProcessPatches(const CompiledMethod* compiled_method, in ProcessPatches() argument
405 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ProcessPatches()
H A Drelative_patcher_arm_base.h33 const CompiledMethod* compiled_method,
92 const CompiledMethod* compiled_method,
106 void ProcessPatches(const CompiledMethod* compiled_method, uint32_t code_offset);
/aosp_15_r20/art/dex2oat/driver/
H A Dcompiler_driver_test.cc87 const CompiledMethod* compiled_method = compiler_driver_->GetCompiledMethod(method_ref); in MakeExecutable() local
89 if (compiled_method != nullptr && compiled_method->GetQuickCode().size() != 0u) { in MakeExecutable()
90 method_code = CommonCompilerTest::MakeExecutable(compiled_method->GetQuickCode(), in MakeExecutable()
91 compiled_method->GetVmapTable(), in MakeExecutable()
92 compiled_method->GetInstructionSet()); in MakeExecutable()
H A Dcompiler_driver.cc380 CompiledMethod* compiled_method; in CompileMethodHarness() local
384 compiled_method = compile_fn(self, in CompileMethodHarness()
402 if (compiled_method != nullptr) { in CompileMethodHarness()
403 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness()
476 CompiledMethod* compiled_method = nullptr; in CompileMethodQuick() local
478 return compiled_method; in CompileMethodQuick()
499 compiled_method = in CompileMethodQuick()
501 CHECK(compiled_method != nullptr); in CompileMethodQuick()
520 compiled_method = driver->GetCompiler()->Compile(code_item, in CompileMethodQuick()
530 bool violation = (compiled_method == nullptr); in CompileMethodQuick()
[all …]
H A Dcompiled_method_storage.cc263 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in CreateCompiledMethod() local
266 compiled_method->MarkAsIntrinsic(); in CreateCompiledMethod()
268 return compiled_method; in CreateCompiledMethod()
H A Dcompiler_driver.h140 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
/aosp_15_r20/art/compiler/
H A Dcommon_compiler_test.cc276 CompiledMethod* compiled_method = nullptr; in CompileMethod() local
287 compiled_method = compiler->JniCompile(method->GetAccessFlags(), in CompileMethod()
292 compiled_method = compiler->Compile(method->GetCodeItem(), in CompileMethod()
300 CHECK(compiled_method != nullptr) << "Failed to compile " << method->PrettyMethod(); in CompileMethod()
301 CHECK_EQ(reinterpret_cast<OneCompiledMethodStorage*>(compiled_method), &storage); in CompileMethod()
/aosp_15_r20/art/compiler/optimizing/
H A Doptimizing_compiler.cc742 CompiledMethod* compiled_method = storage->CreateCompiledMethod( in Emit() local
759 return compiled_method; in Emit()
1077 CompiledMethod* compiled_method = nullptr; in Compile() local
1133 compiled_method = Emit(&allocator, in Compile()
1161 DCHECK_IMPLIES(compiled_method == nullptr, !shouldCompile) << "Didn't compile " << method_name; in Compile()
1164 return compiled_method; in Compile()
/aosp_15_r20/art/tools/bisection_search/
H A Dbisection_search.py143 def GetAllPassesForMethod(self, compiled_method): argument
155 cmd = self._PrepareCmd(compiled_methods=[compiled_method])
/aosp_15_r20/art/dex2oat/linker/x86/
H A Drelative_patcher_x86_base.h28 const CompiledMethod* compiled_method,
H A Drelative_patcher_x86_base.cc26 [[maybe_unused]] const CompiledMethod* compiled_method, in ReserveSpace() argument
/aosp_15_r20/art/dex2oat/linker/riscv64/
H A Drelative_patcher_riscv64.h34 const CompiledMethod* compiled_method,
H A Drelative_patcher_riscv64.cc35 [[maybe_unused]] const CompiledMethod* compiled_method, in ReserveSpace() argument
/aosp_15_r20/out/soong/.intermediates/art/dex2oat/libartd-dex2oat/android_arm64_armv8-2a_cortex-a55_static_apex31/
Dlibartd-dex2oat.a.rsp1 …droid_arm64_armv8-2a_cortex-a55_static_apex31/obj/art/dex2oat/driver/compiled_method.o out/soong/.…
/aosp_15_r20/out/soong/.intermediates/art/dex2oat/libart-dex2oat/android_arm64_armv8-2a_cortex-a55_static_apex31/
Dlibart-dex2oat.a.rsp1 …droid_arm64_armv8-2a_cortex-a55_static_apex31/obj/art/dex2oat/driver/compiled_method.o out/soong/.…
/aosp_15_r20/art/dex2oat/
H A DAndroid.bp35 "driver/compiled_method.cc",

12