Searched refs:method_ref (Results 1 - 20 of 20) sorted by relevance

/art/compiler/linker/
H A Dmulti_oat_relative_patcher.h57 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 Drelative_patcher_test.h84 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 Drelative_patcher.h88 MethodReference method_ref) = 0;
H A Drelative_patcher.cc46 MethodReference method_ref ATTRIBUTE_UNUSED) OVERRIDE {
H A Dmulti_oat_relative_patcher_test.cc39 MethodReference method_ref) OVERRIDE {
41 last_reserve_method_ = method_ref;
/art/compiler/linker/arm/
H A Drelative_patcher_arm_base.h32 MethodReference method_ref) OVERRIDE;
45 MethodReference method_ref,
50 bool ReserveSpaceProcessPatches(uint32_t quick_code_offset, MethodReference method_ref,
H A Drelative_patcher_arm_base.cc29 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 Drelative_patcher_x86_base.h29 MethodReference method_ref) OVERRIDE;
H A Drelative_patcher_x86_base.cc25 MethodReference method_ref ATTRIBUTE_UNUSED) {
/art/compiler/dex/
H A Dverification_results.h55 bool IsCandidateForCompilation(MethodReference& method_ref,
/art/runtime/quick/
H A Dinline_method_analyser.h245 const MethodReference& method_ref,
253 const MethodReference& method_ref,
259 const MethodReference& method_ref,
H A Dinline_method_analyser.cc460 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 Drelative_patcher_arm64.h33 MethodReference method_ref) OVERRIDE;
H A Drelative_patcher_arm64.cc57 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 Dcompiler_driver.h181 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 Dcompiler_driver.cc576 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 Doffline_profiling_info.cc549 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 Doffline_profiling_info.h66 bool ContainsMethod(const MethodReference& method_ref) const;
/art/runtime/
H A Dprofiler.cc537 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 Doat_writer.cc693 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);

Completed in 112 milliseconds