Home
last modified time | relevance | path

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

123

/art/runtime/
Dmethod_reference.h27 struct MethodReference { struct
28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { in MethodReference() argument
35 bool operator()(MethodReference mr1, MethodReference mr2) const { in operator() argument
Dprofiler.h51 StackTrieNode(MethodReference method, uint32_t dex_pc, uint32_t method_size, in StackTrieNode()
60 MethodReference GetMethod() { return method_; } in GetMethod()
65 StackTrieNode* FindChild(MethodReference method, uint32_t dex_pc);
73 MethodReference mr1 = node1->GetMethod(); in operator()
74 MethodReference mr2 = node2->GetMethod(); in operator()
89 MethodReference method_;
129 typedef std::map<MethodReference, TrieNodeSet*, MethodReferenceComparator> MethodContextMap;
/art/compiler/linker/
Dmulti_oat_relative_patcher.h40 SafeMap<MethodReference, uint32_t, MethodReferenceComparator>::const_iterator;
57 uint32_t GetOffset(MethodReference method_ref) { in GetOffset()
63 void SetOffset(MethodReference method_ref, uint32_t offset) { in SetOffset()
70 MethodReference method_ref) { in ReserveSpace()
125 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) OVERRIDE;
126 SafeMap<MethodReference, uint32_t, MethodReferenceComparator> map;
Dmulti_oat_relative_patcher_test.cc25 static const MethodReference kNullMethodRef = MethodReference(nullptr, 0u);
27 static bool EqualRef(MethodReference lhs, MethodReference rhs) { in EqualRef()
39 MethodReference method_ref) OVERRIDE { in ReserveSpace()
99 MethodReference last_reserve_method_ = kNullMethodRef;
127 MethodReference ref1(dex_file, 1u); in TEST_F()
128 MethodReference ref2(dex_file, 2u); in TEST_F()
160 MethodReference ref1(dex_file, 1u); in TEST_F()
161 MethodReference ref2(dex_file, 2u); in TEST_F()
162 MethodReference ref3(dex_file, 3u); in TEST_F()
Drelative_patcher_test.h79 MethodReference MethodRef(uint32_t method_idx) { in MethodRef()
81 return MethodReference(nullptr, method_idx); in MethodRef()
84 void AddCompiledMethod(MethodReference method_ref, in AddCompiledMethod()
184 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod()
250 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) OVERRIDE { in FindMethodOffset()
258 SafeMap<MethodReference, uint32_t, MethodReferenceComparator> map;
275 std::vector<MethodReference> compiled_method_refs_;
Drelative_patcher.h55 virtual std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) = 0;
88 MethodReference method_ref) = 0;
Dmulti_oat_relative_patcher.cc63 MethodReference ref) { in FindMethodOffset()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.h32 MethodReference method_ref) OVERRIDE;
45 MethodReference method_ref,
50 bool ReserveSpaceProcessPatches(uint32_t quick_code_offset, MethodReference method_ref,
62 typedef std::pair<MethodReference, uint32_t> UnprocessedPatch;
Drelative_patcher_arm_base.cc29 MethodReference method_ref) { in ReserveSpace()
40 MethodReference(nullptr, 0u), in ReserveSpaceEnd()
92 MethodReference method_ref, in ReserveSpaceInternal()
147 MethodReference method_ref, in ReserveSpaceProcessPatches()
151 MethodReference patch_ref = unprocessed_patches_.front().first; in ReserveSpaceProcessPatches()
/art/compiler/dex/
Dverification_results.h49 const VerifiedMethod* GetVerifiedMethod(MethodReference ref)
55 bool IsCandidateForCompilation(MethodReference& method_ref,
62 typedef SafeMap<MethodReference, const VerifiedMethod*,
Dverification_results.cc49 MethodReference ref = method_verifier->GetMethodReference(); in ProcessVerifiedMethod()
77 const VerifiedMethod* VerificationResults::GetVerifiedMethod(MethodReference ref) { in GetVerifiedMethod()
96 bool VerificationResults::IsCandidateForCompilation(MethodReference&, in IsCandidateForCompilation() argument
Dverified_method.h41 typedef SafeMap<uint32_t, MethodReference> DevirtualizationMap;
59 const MethodReference* GetDevirtTarget(uint32_t dex_pc) const;
Dquick_compiler_callbacks.cc27 MethodReference ref = verifier->GetMethodReference(); in MethodVerified()
/art/runtime/verifier/
Dmethod_verifier-inl.h57 inline MethodReference MethodVerifier::GetMethodReference() const { in GetMethodReference()
58 return MethodReference(dex_file_, dex_method_idx_); in GetMethodReference()
/art/runtime/quick/
Dinline_method_analyser.h241 static bool IsSyntheticAccessor(MethodReference ref);
245 const MethodReference& method_ref,
253 const MethodReference& method_ref,
259 const MethodReference& method_ref,
/art/compiler/driver/
Dcompiler_driver.h175 CompiledMethod* GetCompiledMethod(MethodReference ref) const
181 void AddCompiledMethod(const MethodReference& method_ref,
186 void RemoveCompiledMethod(const MethodReference& method_ref) REQUIRES(!compiled_methods_lock_);
337 MethodReference* target_method, const MethodReference* devirt_target,
378 InvokeType* type, MethodReference* target_method, int* vtable_idx,
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)
547 MethodReference* target_method,
650 typedef SafeMap<const MethodReference, CompiledMethod*, MethodReferenceComparator> MethodTable;
/art/runtime/jit/
Dprofile_saver.cc200 explicit GetMethodsVisitor(std::vector<MethodReference>* methods) : methods_(methods) {} in GetMethodsVisitor()
212 methods_->push_back(MethodReference(dex_file, method.GetDexMethodIndex())); in operator ()()
220 std::vector<MethodReference>* const methods_;
229 std::vector<MethodReference> methods; in FetchAndCacheResolvedClassesAndMethods()
245 std::vector<MethodReference> methods_for_location; in FetchAndCacheResolvedClassesAndMethods()
246 for (const MethodReference& ref : methods) { in FetchAndCacheResolvedClassesAndMethods()
289 std::vector<MethodReference> methods; in ProcessProfilingInfo()
682 return info->ContainsMethod(MethodReference(dex_file, method_idx)); in HasSeenMethod()
Doffline_profiling_info.h45 bool AddMethodsAndClasses(const std::vector<MethodReference>& methods,
66 bool ContainsMethod(const MethodReference& method_ref) const;
Dprofile_compilation_info_test.cc76 std::vector<MethodReference> method_refs; in SaveProfilingInfo()
116 ASSERT_TRUE(info1.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
132 ASSERT_TRUE(info2.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
135 ASSERT_TRUE(info2.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex()))); in TEST_F()
/art/compiler/linker/x86/
Drelative_patcher_x86_base.h29 MethodReference method_ref) OVERRIDE;
Drelative_patcher_x86_base.cc25 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
/art/compiler/optimizing/
Dcode_generator_arm.h414 MethodReference target_method) OVERRIDE;
535 using MethodToLiteralMap = ArenaSafeMap<MethodReference, Literal*, MethodReferenceComparator>;
541 Literal* DeduplicateMethodLiteral(MethodReference target_method, MethodToLiteralMap* map);
542 Literal* DeduplicateMethodAddressLiteral(MethodReference target_method);
543 Literal* DeduplicateMethodCodeLiteral(MethodReference target_method);
Ddex_cache_array_fixups_arm.cc67 MethodReference target_method = invoke->GetTargetMethod(); in VisitInvokeStaticOrDirect()
Dcode_generator_arm64.h467 MethodReference target_method) OVERRIDE;
586 using MethodToLiteralMap = ArenaSafeMap<MethodReference,
595 vixl::Literal<uint64_t>* DeduplicateMethodLiteral(MethodReference target_method,
597 vixl::Literal<uint64_t>* DeduplicateMethodAddressLiteral(MethodReference target_method);
598 vixl::Literal<uint64_t>* DeduplicateMethodCodeLiteral(MethodReference target_method);
/art/compiler/linker/arm64/
Drelative_patcher_arm64.h33 MethodReference method_ref) OVERRIDE;

123