/aosp12/art/compiler/ |
H A D | common_compiler_test.cc | 150 const CompiledMethod* compiled_method) { in MakeExecutable() argument 153 if (compiled_method != nullptr && compiled_method->GetQuickCode().size() != 0u) { in MakeExecutable() 154 const void* code_ptr = MakeExecutable(compiled_method->GetQuickCode(), in MakeExecutable() 155 compiled_method->GetVmapTable(), in MakeExecutable() 156 compiled_method->GetInstructionSet()); in MakeExecutable() 158 CompiledMethod::CodePointer(code_ptr, compiled_method->GetInstructionSet()); in MakeExecutable() 236 CompiledMethod* compiled_method = nullptr; in CompileMethod() local 249 compiled_method = compiler->JniCompile(method->GetAccessFlags(), in CompileMethod() 257 compiled_method = compiler->Compile(method->GetCodeItem(), in CompileMethod() 271 MakeExecutable(method, compiled_method); in CompileMethod() [all …]
|
H A D | common_compiler_test.h | 58 void MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method)
|
H A D | Android.bp | 36 "compiled_method.cc",
|
/aosp12/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64.cc | 103 const CompiledMethod* compiled_method, in ReserveSpace() argument 107 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace() 121 DCHECK(compiled_method != nullptr); in ReserveSpace() 122 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() 127 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace() 129 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace() 136 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace() 137 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace() 138 DCHECK(compiled_method != nullptr); in ReserveSpace() 139 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
|
H A D | relative_patcher_arm64.h | 38 const CompiledMethod* compiled_method,
|
/aosp12/art/dex2oat/linker/ |
H A D | relative_patcher_test.h | 128 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()
|
H A D | oat_writer.cc | 899 if (HasCompiledCode(compiled_method)) { in VisitMethod() 937 DCHECK(compiled_method == nullptr || compiled_method->GetPatches().empty()); in VisitMethod() 996 CompiledMethod* compiled_method = in VisitMethod() local 999 if (HasCompiledCode(compiled_method)) { in VisitMethod() 1052 CompiledMethod* compiled_method; member 1210 if (HasCompiledCode(compiled_method)) { in VisitMethod() 1247 compiled_method, in VisitMethod() 1314 CompiledMethod* compiled_method = method_data.compiled_method; in VisitMethod() local 1344 compiled_method, in VisitMethod() 1621 compiled_method != nullptr && in VisitMethod() [all …]
|
H A D | multi_oat_relative_patcher.h | 71 const CompiledMethod* compiled_method, in ReserveSpace() argument 74 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
|
H A D | relative_patcher.h | 115 const CompiledMethod* compiled_method,
|
H A D | relative_patcher.cc | 47 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
|
H A D | oat_writer_test.cc | 65 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 D | multi_oat_relative_patcher_test.cc | 37 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
|
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 169 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 D | relative_patcher_arm_base.h | 33 const CompiledMethod* compiled_method, 92 const CompiledMethod* compiled_method, 106 void ProcessPatches(const CompiledMethod* compiled_method, uint32_t code_offset);
|
/aosp12/art/compiler/optimizing/ |
H A D | optimizing_compiler.cc | 724 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit() local 741 return compiled_method; in Emit() 1017 CompiledMethod* compiled_method = nullptr; in Compile() local 1083 compiled_method = Emit(&allocator, in Compile() 1088 compiled_method->MarkAsIntrinsic(); in Compile() 1123 DCHECK((compiled_method != nullptr) || !shouldCompile) << "Didn't compile " << method_name; in Compile() 1126 return compiled_method; in Compile() 1188 CompiledMethod* compiled_method = Emit(&allocator, in JniCompile() local 1192 compiled_method->MarkAsIntrinsic(); in JniCompile() 1193 return compiled_method; in JniCompile()
|
/aosp12/art/dex2oat/linker/x86/ |
H A D | relative_patcher_x86_base.h | 28 const CompiledMethod* compiled_method,
|
H A D | relative_patcher_x86_base.cc | 26 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver_test.cc | 83 const CompiledMethod* compiled_method = nullptr; in MakeExecutable() local 86 compiled_method = in MakeExecutable() 90 CommonCompilerTest::MakeExecutable(method, compiled_method); in MakeExecutable()
|
H A D | compiler_driver.cc | 380 CompiledMethod* compiled_method; in CompileMethodHarness() local 384 compiled_method = compile_fn(self, in CompileMethodHarness() 403 if (compiled_method != nullptr) { in CompileMethodHarness() 404 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness() 437 CompiledMethod* compiled_method = nullptr; in CompileMethodQuick() local 450 compiled_method = driver->GetCompiler()->JniCompile( in CompileMethodQuick() 452 CHECK(compiled_method != nullptr); in CompileMethodQuick() 507 return compiled_method; in CompileMethodQuick() 2758 CompiledMethod* compiled_method = nullptr; in GetCompiledMethod() local 2759 compiled_methods_.Get(ref, &compiled_method); in GetCompiledMethod() [all …]
|
H A D | compiler_driver.h | 137 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
|
/aosp12/art/tools/bisection_search/ |
H A D | bisection_search.py | 143 def GetAllPassesForMethod(self, compiled_method): argument 155 cmd = self._PrepareCmd(compiled_methods=[compiled_method])
|