/art/compiler/ |
D | common_compiler_test.cc | 50 void CommonCompilerTest::MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method) { in MakeExecutable() argument 53 if (compiled_method != nullptr && compiled_method->GetQuickCode().size() != 0u) { in MakeExecutable() 54 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in MakeExecutable() 56 ArrayRef<const uint8_t> vmap_table = compiled_method->GetVmapTable(); in MakeExecutable() 63 const size_t max_padding = GetInstructionSetAlignment(compiled_method->GetInstructionSet()); in MakeExecutable() 74 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable() 82 compiled_method->GetInstructionSet()); in MakeExecutable() 176 CompiledMethod* compiled_method = nullptr; in CompileMethod() local 188 compiled_method = compiler->JniCompile(method->GetAccessFlags(), in CompileMethod() 196 compiled_method = compiler->Compile(method->GetCodeItem(), in CompileMethod() [all …]
|
D | common_compiler_test.h | 50 void MakeExecutable(ArtMethod* method, const CompiledMethod* compiled_method)
|
/art/dex2oat/dex/ |
D | dex_to_dex_decompiler_test.cc | 88 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/ |
D | relative_patcher_arm64.cc | 100 const CompiledMethod* compiled_method, in ReserveSpace() argument 104 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace() 118 DCHECK(compiled_method != nullptr); in ReserveSpace() 119 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() 124 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace() 126 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace() 133 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace() 134 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace() 135 DCHECK(compiled_method != nullptr); in ReserveSpace() 136 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace()
|
D | relative_patcher_arm64.h | 38 const CompiledMethod* compiled_method,
|
/art/dex2oat/linker/ |
D | relative_patcher_test.h | 129 for (auto& compiled_method : compiled_methods_) { in Link() 130 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link() 136 uint32_t quick_code_offset = offset + compiled_method->CodeDelta(); in Link() 137 const auto code = compiled_method->GetQuickCode(); in Link() 158 for (auto& compiled_method : compiled_methods_) { in Link() 168 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link() 169 if (!compiled_method->GetPatches().empty()) { in Link() 172 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link() 176 result.first ? result.second : kTrampolineOffset + compiled_method->CodeDelta(); in Link()
|
D | oat_writer.cc | 102 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize() argument 105 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize() 874 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod() local 876 if (HasCompiledCode(compiled_method)) { in VisitMethod() 877 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in VisitMethod() 902 DCHECK(compiled_method == nullptr || compiled_method->GetPatches().empty()); in VisitMethod() 960 CompiledMethod* compiled_method = in VisitMethod() local 962 compiled_methods_.push_back(compiled_method); in VisitMethod() 963 if (HasCompiledCode(compiled_method)) { in VisitMethod() 1011 CompiledMethod* compiled_method; member [all …]
|
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()
|
D | relative_patcher.h | 115 const CompiledMethod* compiled_method,
|
D | relative_patcher.cc | 53 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in Create()
|
D | oat_writer_test.cc | 64 const CompiledMethod* compiled_method = in CheckMethod() local 68 if (compiled_method == nullptr) { in CheckMethod() 79 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod()
|
D | multi_oat_relative_patcher_test.cc | 37 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.h | 33 const CompiledMethod* compiled_method, 90 const CompiledMethod* compiled_method, 104 void ProcessPatches(const CompiledMethod* compiled_method, uint32_t code_offset);
|
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() 397 void ArmBaseRelativePatcher::ProcessPatches(const CompiledMethod* compiled_method, in ProcessPatches() argument 399 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ProcessPatches()
|
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86_base.h | 28 const CompiledMethod* compiled_method,
|
D | relative_patcher_x86_base.cc | 26 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
|
/art/dex2oat/linker/mips64/ |
D | relative_patcher_mips64.h | 30 const CompiledMethod* compiled_method,
|
D | relative_patcher_mips64.cc | 28 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
|
/art/dex2oat/linker/mips/ |
D | relative_patcher_mips.h | 32 const CompiledMethod* compiled_method,
|
D | relative_patcher_mips.cc | 28 const CompiledMethod* compiled_method ATTRIBUTE_UNUSED, in ReserveSpace()
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 758 CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( in Emit() local 775 return compiled_method; in Emit() 1051 CompiledMethod* compiled_method = nullptr; in Compile() local 1113 compiled_method = Emit(&allocator, in Compile() 1118 compiled_method->MarkAsIntrinsic(); in Compile() 1153 DCHECK((compiled_method != nullptr) || !shouldCompile) << "Didn't compile " << method_name; in Compile() 1156 return compiled_method; in Compile() 1213 CompiledMethod* compiled_method = Emit(&allocator, in JniCompile() local 1217 compiled_method->MarkAsIntrinsic(); in JniCompile() 1218 return compiled_method; in JniCompile()
|
/art/dex2oat/driver/ |
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()
|
D | compiler_driver.cc | 430 CompiledMethod* compiled_method; in CompileMethodHarness() local 434 compiled_method = compile_fn(self, in CompileMethodHarness() 454 if (compiled_method != nullptr) { in CompileMethodHarness() 455 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness() 552 CompiledMethod* compiled_method = nullptr; in CompileMethodQuick() local 565 compiled_method = driver->GetCompiler()->JniCompile( in CompileMethodQuick() 567 CHECK(compiled_method != nullptr); in CompileMethodQuick() 589 compiled_method = driver->GetCompiler()->Compile(code_item, in CompileMethodQuick() 601 (compiled_method == nullptr); in CompileMethodQuick() 621 if (compiled_method == nullptr && in CompileMethodQuick() [all …]
|
D | compiler_driver.h | 135 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
|
/art/tools/bisection_search/ |
D | bisection_search.py | 145 def GetAllPassesForMethod(self, compiled_method): argument 157 cmd = self._PrepareCmd(compiled_methods=[compiled_method])
|