Home
last modified time | relevance | path

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

/art/compiler/
Dcommon_compiler_test.cc61 void CommonCompilerTest::MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method) { in MakeExecutable() argument
64 if (compiled_method != nullptr && compiled_method->GetQuickCode().size() != 0u) { in MakeExecutable()
65 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in MakeExecutable()
67 ArrayRef<const uint8_t> vmap_table = compiled_method->GetVmapTable(); in MakeExecutable()
74 const size_t max_padding = GetInstructionSetAlignment(compiled_method->GetInstructionSet()); in MakeExecutable()
85 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
93 compiled_method->GetInstructionSet()); in MakeExecutable()
189 CompiledMethod* compiled_method = nullptr; in CompileMethod() local
201 compiled_method = compiler->JniCompile(method->GetAccessFlags(), in CompileMethod()
209 compiled_method = compiler->Compile(method->GetCodeItem(), in CompileMethod()
[all …]
Dcommon_compiler_test.h53 void MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method)
DAndroid.bp33 "compiled_method.cc",
/art/dex2oat/dex/
Ddex_to_dex_decompiler_test.cc88 CompiledMethod* compiled_method = compiler_driver_->GetCompiledMethod( in RunTest() local
91 if (compiled_method != nullptr) { in RunTest()
92 table = compiled_method->GetVmapTable(); in RunTest()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc101 const CompiledMethod* compiled_method, in ReserveSpace() argument
105 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
119 DCHECK(compiled_method != nullptr); in ReserveSpace()
120 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
125 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace()
127 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
134 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
135 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
136 DCHECK(compiled_method != nullptr); in ReserveSpace()
137 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
Drelative_patcher_arm64.h38 const CompiledMethod* compiled_method,
/art/dex2oat/linker/
Drelative_patcher_test.h128 for (auto& compiled_method : compiled_methods_) { in Link()
129 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link()
135 uint32_t quick_code_offset = offset + compiled_method->CodeDelta(); in Link()
136 const auto code = compiled_method->GetQuickCode(); in Link()
157 for (auto& compiled_method : compiled_methods_) { in Link()
167 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link()
168 if (!compiled_method->GetPatches().empty()) { in Link()
171 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link()
175 result.first ? result.second : kTrampolineOffset + compiled_method->CodeDelta(); in Link()
Doat_writer.cc103 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize() argument
106 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
901 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod() local
903 if (HasCompiledCode(compiled_method)) { in VisitMethod()
904 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in VisitMethod()
929 DCHECK(compiled_method == nullptr || compiled_method->GetPatches().empty()); in VisitMethod()
987 CompiledMethod* compiled_method = in VisitMethod() local
989 compiled_methods_.push_back(compiled_method); in VisitMethod()
990 if (HasCompiledCode(compiled_method)) { in VisitMethod()
1043 CompiledMethod* compiled_method; member
[all …]
Dmulti_oat_relative_patcher.h71 const CompiledMethod* compiled_method, in ReserveSpace() argument
74 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
Drelative_patcher.h115 const CompiledMethod* compiled_method,
Drelative_patcher.cc47 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
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()
Dmulti_oat_relative_patcher_test.cc37 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/dex2oat/linker/arm/
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);
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()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.h28 const CompiledMethod* compiled_method,
Drelative_patcher_x86_base.cc26 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/optimizing/
Doptimizing_compiler.cc710 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit() local
727 return compiled_method; in Emit()
1007 CompiledMethod* compiled_method = nullptr; in Compile() local
1070 compiled_method = Emit(&allocator, in Compile()
1075 compiled_method->MarkAsIntrinsic(); in Compile()
1110 DCHECK((compiled_method != nullptr) || !shouldCompile) << "Didn't compile " << method_name; in Compile()
1113 return compiled_method; in Compile()
1171 CompiledMethod* compiled_method = Emit(&allocator, in JniCompile() local
1175 compiled_method->MarkAsIntrinsic(); in JniCompile()
1176 return compiled_method; in JniCompile()
/art/dex2oat/driver/
Dcompiler_driver_test.cc83 const CompiledMethod* compiled_method = nullptr; in MakeExecutable() local
86 compiled_method = in MakeExecutable()
90 CommonCompilerTest::MakeExecutable(method, compiled_method); in MakeExecutable()
Dcompiler_driver.cc431 CompiledMethod* compiled_method; in CompileMethodHarness() local
435 compiled_method = compile_fn(self, in CompileMethodHarness()
455 if (compiled_method != nullptr) { in CompileMethodHarness()
456 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness()
553 CompiledMethod* compiled_method = nullptr; in CompileMethodQuick() local
566 compiled_method = driver->GetCompiler()->JniCompile( in CompileMethodQuick()
568 CHECK(compiled_method != nullptr); in CompileMethodQuick()
590 compiled_method = driver->GetCompiler()->Compile(code_item, in CompileMethodQuick()
602 (compiled_method == nullptr); in CompileMethodQuick()
622 if (compiled_method == nullptr && in CompileMethodQuick()
[all …]
Dcompiler_driver.h138 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
/art/tools/bisection_search/
Dbisection_search.py143 def GetAllPassesForMethod(self, compiled_method): argument
155 cmd = self._PrepareCmd(compiled_methods=[compiled_method])