Home
last modified time | relevance | path

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

/art/compiler/dex/
Ddex_to_dex_decompiler_test.cc99 CompiledMethod* compiled_method = in RunTest() local
102 if (compiled_method != nullptr) { in RunTest()
103 table = compiled_method->GetVmapTable(); in RunTest()
111 CompiledMethod* compiled_method = in RunTest() local
114 if (compiled_method != nullptr) { in RunTest()
115 table = compiled_method->GetVmapTable(); in RunTest()
/art/compiler/
Dcommon_compiler_test.cc47 const CompiledMethod* compiled_method = nullptr; in MakeExecutable() local
51 compiled_method = in MakeExecutable()
56 if (compiled_method != nullptr && compiled_method->GetQuickCode().size() != 0u) { in MakeExecutable()
57 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in MakeExecutable()
59 ArrayRef<const uint8_t> vmap_table = compiled_method->GetVmapTable(); in MakeExecutable()
63 ArrayRef<const uint8_t> method_info = compiled_method->GetMethodInfo(); in MakeExecutable()
69 compiled_method->GetFrameSizeInBytes(), in MakeExecutable()
70 compiled_method->GetCoreSpillMask(), in MakeExecutable()
71 compiled_method->GetFpSpillMask(), in MakeExecutable()
76 const size_t max_padding = GetInstructionSetAlignment(compiled_method->GetInstructionSet()); in MakeExecutable()
[all …]
Doat_writer.cc94 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize() argument
97 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
704 CompiledMethod* compiled_method = in VisitMethod() local
706 compiled_methods_.push_back(compiled_method); in VisitMethod()
707 if (compiled_method != nullptr) { in VisitMethod()
762 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod() local
767 if (compiled_method != nullptr) { in VisitMethod()
771 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod()
773 uint32_t thumb_offset = compiled_method->CodeDelta(); in VisitMethod()
784 quick_code_offset = NewQuickCodeOffset(compiled_method, it, thumb_offset); in VisitMethod()
[all …]
Doat_test.cc67 const CompiledMethod* compiled_method = in CheckMethod() local
71 if (compiled_method == nullptr) { in CheckMethod()
80 EXPECT_EQ(oat_method.GetFrameSizeInBytes(), compiled_method->GetFrameSizeInBytes()); in CheckMethod()
81 EXPECT_EQ(oat_method.GetCoreSpillMask(), compiled_method->GetCoreSpillMask()); in CheckMethod()
82 EXPECT_EQ(oat_method.GetFpSpillMask(), compiled_method->GetFpSpillMask()); in CheckMethod()
85 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod()
DAndroid.bp28 "compiled_method.cc",
225 "compiled_method.h",
/art/compiler/linker/
Drelative_patcher_test.h110 for (auto& compiled_method : compiled_methods_) { in Link()
111 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link()
117 uint32_t quick_code_offset = offset + compiled_method->CodeDelta(); in Link()
118 const auto code = compiled_method->GetQuickCode(); in Link()
139 for (auto& compiled_method : compiled_methods_) { in Link()
149 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link()
150 if (!compiled_method->GetPatches().empty()) { in Link()
153 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link()
157 result.first ? result.second : kTrampolineOffset + compiled_method->CodeDelta(); in Link()
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.cc51 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
Dmulti_oat_relative_patcher_test.cc38 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc140 const CompiledMethod* compiled_method, in ReserveSpace() argument
142 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
220 const CompiledMethod* compiled_method, in ReserveSpaceInternal() argument
224 uint32_t max_code_size = compiled_method->GetQuickCode().size() + max_extra_space; in ReserveSpaceInternal()
228 code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpaceInternal()
229 next_aligned_offset = compiled_method->AlignCode(code_offset + max_code_size); in ReserveSpaceInternal()
262 ProcessPatches(compiled_method, code_offset); in ReserveSpaceInternal()
313 void ArmBaseRelativePatcher::ProcessPatches(const CompiledMethod* compiled_method, in ProcessPatches() argument
315 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ProcessPatches()
Drelative_patcher_arm_base.h33 const CompiledMethod* compiled_method,
114 const CompiledMethod* compiled_method,
130 void ProcessPatches(const CompiledMethod* compiled_method, uint32_t code_offset);
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc95 const CompiledMethod* compiled_method, in ReserveSpace() argument
99 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
112 DCHECK(compiled_method != nullptr); in ReserveSpace()
113 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
118 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace()
120 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
127 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
128 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
129 DCHECK(compiled_method != nullptr); in ReserveSpace()
130 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
Drelative_patcher_arm64.h54 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.h60 bool AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method)
/art/compiler/linker/mips64/
Drelative_patcher_mips64.h30 const CompiledMethod* compiled_method,
Drelative_patcher_mips64.cc26 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/linker/mips/
Drelative_patcher_mips.h32 const CompiledMethod* compiled_method,
Drelative_patcher_mips.cc26 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
/art/compiler/driver/
Dcompiler_driver.cc529 CompiledMethod* compiled_method = nullptr; in CompileMethod() local
542 compiled_method = optimizer::ArtCompileDEX( in CompileMethod()
591 compiled_method = driver->GetCompiler()->JniCompile(access_flags, in CompileMethod()
595 CHECK(compiled_method != nullptr); in CompileMethod()
618 compiled_method = driver->GetCompiler()->Compile(code_item, in CompileMethod()
627 if (compiled_method == nullptr && in CompileMethod()
642 if (compiled_method != nullptr) { in CompileMethod()
645 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in CompileMethod()
654 driver->AddCompiledMethod(method_ref, compiled_method, non_relative_linker_patch_count); in CompileMethod()
2680 CompiledMethod* const compiled_method, in AddCompiledMethod() argument
[all …]
Dcompiler_driver.h174 CompiledMethod* const compiled_method,
/art/tools/bisection_search/
Dbisection_search.py145 def GetAllPassesForMethod(self, compiled_method): argument
157 cmd = self._PrepareCmd(compiled_methods=[compiled_method])
/art/compiler/optimizing/
Doptimizing_compiler.cc861 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit() local
876 return compiled_method; in Emit()