/art/runtime/ |
D | method_reference.h | 27 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
|
D | profiler.h | 51 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/ |
D | multi_oat_relative_patcher.h | 40 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;
|
D | multi_oat_relative_patcher_test.cc | 25 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()
|
D | relative_patcher_test.h | 79 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_;
|
D | relative_patcher.h | 55 virtual std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) = 0; 88 MethodReference method_ref) = 0;
|
D | multi_oat_relative_patcher.cc | 63 MethodReference ref) { in FindMethodOffset()
|
/art/compiler/linker/arm/ |
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, 62 typedef std::pair<MethodReference, uint32_t> UnprocessedPatch;
|
D | relative_patcher_arm_base.cc | 29 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/ |
D | verification_results.h | 49 const VerifiedMethod* GetVerifiedMethod(MethodReference ref) 55 bool IsCandidateForCompilation(MethodReference& method_ref, 62 typedef SafeMap<MethodReference, const VerifiedMethod*,
|
D | verification_results.cc | 49 MethodReference ref = method_verifier->GetMethodReference(); in ProcessVerifiedMethod() 77 const VerifiedMethod* VerificationResults::GetVerifiedMethod(MethodReference ref) { in GetVerifiedMethod() 96 bool VerificationResults::IsCandidateForCompilation(MethodReference&, in IsCandidateForCompilation() argument
|
D | verified_method.h | 41 typedef SafeMap<uint32_t, MethodReference> DevirtualizationMap; 59 const MethodReference* GetDevirtTarget(uint32_t dex_pc) const;
|
D | quick_compiler_callbacks.cc | 27 MethodReference ref = verifier->GetMethodReference(); in MethodVerified()
|
/art/runtime/verifier/ |
D | method_verifier-inl.h | 57 inline MethodReference MethodVerifier::GetMethodReference() const { in GetMethodReference() 58 return MethodReference(dex_file_, dex_method_idx_); in GetMethodReference()
|
/art/runtime/quick/ |
D | inline_method_analyser.h | 241 static bool IsSyntheticAccessor(MethodReference ref); 245 const MethodReference& method_ref, 253 const MethodReference& method_ref, 259 const MethodReference& method_ref,
|
/art/compiler/driver/ |
D | compiler_driver.h | 175 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/ |
D | profile_saver.cc | 200 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()
|
D | offline_profiling_info.h | 45 bool AddMethodsAndClasses(const std::vector<MethodReference>& methods, 66 bool ContainsMethod(const MethodReference& method_ref) const;
|
D | profile_compilation_info_test.cc | 76 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/ |
D | relative_patcher_x86_base.h | 29 MethodReference method_ref) OVERRIDE;
|
D | relative_patcher_x86_base.cc | 25 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/compiler/optimizing/ |
D | code_generator_arm.h | 414 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);
|
D | dex_cache_array_fixups_arm.cc | 67 MethodReference target_method = invoke->GetTargetMethod(); in VisitInvokeStaticOrDirect()
|
D | code_generator_arm64.h | 467 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/ |
D | relative_patcher_arm64.h | 33 MethodReference method_ref) OVERRIDE;
|