/art/compiler/linker/ |
H A D | multi_oat_relative_patcher.h | 57 uint32_t GetOffset(MethodReference method_ref) { argument 58 auto it = method_offset_map_.map.find(method_ref); 63 void SetOffset(MethodReference method_ref, uint32_t offset) { argument 64 method_offset_map_.map.Put(method_ref, offset + adjustment_); 70 MethodReference method_ref) { 72 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); 68 ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref) argument
|
H A D | relative_patcher_test.h | 84 void AddCompiledMethod(MethodReference method_ref, argument 87 compiled_method_refs_.push_back(method_ref); 184 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { argument 188 if (ref.dex_file == method_ref.dex_file && 189 ref.dex_method_index == method_ref.dex_method_index) { 197 auto result = method_offset_map_.FindMethodOffset(method_ref);
|
H A D | relative_patcher.h | 88 MethodReference method_ref) = 0;
|
H A D | relative_patcher.cc | 46 MethodReference method_ref ATTRIBUTE_UNUSED) OVERRIDE {
|
H A D | multi_oat_relative_patcher_test.cc | 39 MethodReference method_ref) OVERRIDE { 41 last_reserve_method_ = method_ref;
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.h | 32 MethodReference method_ref) OVERRIDE; 45 MethodReference method_ref, 50 bool ReserveSpaceProcessPatches(uint32_t quick_code_offset, MethodReference method_ref,
|
H A D | relative_patcher_arm_base.cc | 29 MethodReference method_ref) { 30 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); 92 MethodReference method_ref, 104 method_ref, 147 MethodReference method_ref, 154 if (patch_ref.dex_file == method_ref.dex_file && 155 patch_ref.dex_method_index == method_ref.dex_method_index) { 27 ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref) argument 90 ReserveSpaceInternal(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref, uint32_t max_extra_space) argument 146 ReserveSpaceProcessPatches(uint32_t quick_code_offset, MethodReference method_ref, uint32_t next_aligned_offset) argument
|
/art/compiler/linker/x86/ |
H A D | relative_patcher_x86_base.h | 29 MethodReference method_ref) OVERRIDE;
|
H A D | relative_patcher_x86_base.cc | 25 MethodReference method_ref ATTRIBUTE_UNUSED) {
|
/art/compiler/dex/ |
H A D | verification_results.h | 55 bool IsCandidateForCompilation(MethodReference& method_ref,
|
/art/runtime/quick/ |
H A D | inline_method_analyser.h | 245 const MethodReference& method_ref, 253 const MethodReference& method_ref, 259 const MethodReference& method_ref,
|
H A D | inline_method_analyser.cc | 460 const MethodReference& method_ref, 511 return AnalyseIGetMethod(code_item, method_ref, is_static, method, result); 523 return AnalyseIPutMethod(code_item, method_ref, is_static, method, result); 594 const MethodReference& method_ref, 631 if (!IsSyntheticAccessor(method_ref)) { 659 const MethodReference& method_ref, 698 if (!IsSyntheticAccessor(method_ref)) { 459 AnalyseMethodCode(const DexFile::CodeItem* code_item, const MethodReference& method_ref, bool is_static, ArtMethod* method, InlineMethod* result) argument 593 AnalyseIGetMethod(const DexFile::CodeItem* code_item, const MethodReference& method_ref, bool is_static, ArtMethod* method, InlineMethod* result) argument 658 AnalyseIPutMethod(const DexFile::CodeItem* code_item, const MethodReference& method_ref, bool is_static, ArtMethod* method, InlineMethod* result) argument
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64.h | 33 MethodReference method_ref) OVERRIDE;
|
H A D | relative_patcher_arm64.cc | 57 MethodReference method_ref) { 60 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); 79 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, kAdrpThunkSize * num_adrp); 55 ReserveSpace(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref) argument
|
/art/compiler/driver/ |
H A D | compiler_driver.h | 181 void AddCompiledMethod(const MethodReference& method_ref, 186 void RemoveCompiledMethod(const MethodReference& method_ref) REQUIRES(!compiled_methods_lock_); 431 bool IsMethodToCompile(const MethodReference& method_ref) const; 435 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const; 479 void MarkForDexToDexCompilation(Thread* self, const MethodReference& method_ref)
|
H A D | compiler_driver.cc | 576 MethodReference method_ref(&dex_file, method_idx); variable 584 driver->GetVerificationResults()->GetVerifiedMethod(method_ref); 613 driver->GetVerificationResults()->GetVerifiedMethod(method_ref); 617 ->IsCandidateForCompilation(method_ref, access_flags) && 625 driver->IsMethodToCompile(method_ref) && 626 driver->ShouldCompileBasedOnProfile(method_ref); 638 driver->MarkForDexToDexCompilation(self, method_ref); 661 driver->AddCompiledMethod(method_ref, compiled_method, non_relative_linker_patch_count); 959 bool CompilerDriver::IsMethodToCompile(const MethodReference& method_ref) const { 968 std::string tmp = PrettyMethod(method_ref 1343 MarkForDexToDexCompilation(Thread* self, const MethodReference& method_ref) argument 2734 AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method, size_t non_relative_linker_patch_count) argument 2748 RemoveCompiledMethod(const MethodReference& method_ref) argument [all...] |
/art/runtime/jit/ |
H A D | offline_profiling_info.cc | 549 bool ProfileCompilationInfo::ContainsMethod(const MethodReference& method_ref) const { 550 auto info_it = info_.find(GetProfileDexFileKey(method_ref.dex_file->GetLocation())); 552 if (method_ref.dex_file->GetLocationChecksum() != info_it->second.checksum) { 556 return methods.find(method_ref.dex_method_index) != methods.end();
|
H A D | offline_profiling_info.h | 66 bool ContainsMethod(const MethodReference& method_ref) const;
|
/art/runtime/ |
H A D | profiler.cc | 537 MethodReference method_ref(dex_file, method_idx); 538 StackTrieNode* child = current->FindChild(method_ref, dex_pc); 547 StackTrieNode* new_node = new StackTrieNode(method_ref, dex_pc, method_size, current);
|
/art/compiler/ |
H A D | oat_writer.cc | 693 MethodReference method_ref(dex_file_, it.GetMemberIndex()); 695 quick_code_offset = writer_->relative_patcher_->GetOffset(method_ref); 713 if (writer_->relative_patcher_->GetOffset(method_ref) != 0u) { 716 << PrettyMethod(method_ref.dex_method_index, *method_ref.dex_file) 717 << " offsets " << writer_->relative_patcher_->GetOffset(method_ref) 720 writer_->relative_patcher_->SetOffset(method_ref, quick_code_offset);
|