/art/compiler/utils/ |
D | atomic_method_ref_map_test.cc | 38 EXPECT_FALSE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F() 41 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, 1) == Map::kInsertResultInvalidDexFile); in TEST_F() 46 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F() 50 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, kInsertValue) == in TEST_F() 52 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F() 55 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 2), 0, kInsertValue2) == in TEST_F() 57 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F() 59 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 2), &value)); in TEST_F() 62 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, kInsertValue + 1) == in TEST_F() 65 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), kInsertValue, kInsertValue + 1) == in TEST_F() [all …]
|
D | atomic_method_ref_map-inl.h | 28 MethodReference ref, in Insert() 42 inline bool AtomicMethodRefMap<T>::Get(MethodReference ref, T* out) const { in Get() 76 visitor(MethodReference(dex_file, i), elements[i].LoadRelaxed()); in Visit()
|
D | atomic_method_ref_map.h | 41 InsertResult Insert(MethodReference ref, const T& expected, const T& desired); 44 bool Get(MethodReference ref, T* out) const;
|
/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() function 38 bool operator()(MethodReference mr1, MethodReference mr2) const { in operator() argument
|
/art/compiler/dex/ |
D | verification_results.h | 51 void CreateVerifiedMethodFor(MethodReference ref) 54 const VerifiedMethod* GetVerifiedMethod(MethodReference ref) 60 bool IsCandidateForCompilation(MethodReference& method_ref, const uint32_t access_flags); 68 using VerifiedMethodMap = SafeMap<MethodReference,
|
D | verification_results.cc | 40 atomic_verified_methods_.Visit([](const MethodReference& ref ATTRIBUTE_UNUSED, in ~VerificationResults() 48 MethodReference ref = method_verifier->GetMethodReference(); in ProcessVerifiedMethod() 93 const VerifiedMethod* VerificationResults::GetVerifiedMethod(MethodReference ref) { in GetVerifiedMethod() 103 void VerificationResults::CreateVerifiedMethodFor(MethodReference ref) { in CreateVerifiedMethodFor() 128 bool VerificationResults::IsCandidateForCompilation(MethodReference&, in IsCandidateForCompilation() argument 148 MethodReference ref = it->first; in AddDexFile()
|
D | inline_method_analyser.h | 121 static bool IsSyntheticAccessor(MethodReference ref); 125 const MethodReference& method_ref, 133 const MethodReference& method_ref, 139 const MethodReference& method_ref,
|
D | dex_to_dex_decompiler_test.cc | 100 compiler_driver_->GetCompiledMethod(MethodReference(updated_dex_file, method_idx)); in RunTest() 112 compiler_driver_->GetCompiledMethod(MethodReference(updated_dex_file, method_idx)); in RunTest()
|
/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() 132 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) OVERRIDE; 133 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() 105 MethodReference last_reserve_method_ = kNullMethodRef; 133 MethodReference ref1(dex_file, 1u); in TEST_F() 134 MethodReference ref2(dex_file, 2u); in TEST_F() 166 MethodReference ref1(dex_file, 1u); in TEST_F() 167 MethodReference ref2(dex_file, 2u); in TEST_F() 168 MethodReference ref3(dex_file, 3u); in TEST_F()
|
D | relative_patcher_test.h | 74 MethodReference MethodRef(uint32_t method_idx) { in MethodRef() 76 return MethodReference(nullptr, method_idx); in MethodRef() 80 MethodReference method_ref, 191 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() 257 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) OVERRIDE { in FindMethodOffset() 265 SafeMap<MethodReference, uint32_t, MethodReferenceComparator> map; 281 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()
|
D | relative_patcher.cc | 52 MethodReference method_ref ATTRIBUTE_UNUSED) OVERRIDE { in Create()
|
/art/compiler/linker/arm/ |
D | relative_patcher_arm_base.h | 34 MethodReference method_ref) OVERRIDE; 115 MethodReference method_ref, 133 void ResolveMethodCalls(uint32_t quick_code_offset, MethodReference method_ref); 148 UnprocessedMethodCallPatch(uint32_t patch_offset, MethodReference target_method) in UnprocessedMethodCallPatch() 155 MethodReference GetTargetMethod() const { in GetTargetMethod() 161 MethodReference target_method_;
|
D | relative_patcher_arm_base.cc | 141 MethodReference method_ref) { in ReserveSpace() 151 ResolveMethodCalls(offset, MethodReference(nullptr, DexFile::kDexNoIndex)); in ReserveSpaceEnd() 221 MethodReference method_ref, in ReserveSpaceInternal() 384 MethodReference method_ref) { in ResolveMethodCalls() 392 MethodReference target_method = unprocessed_method_call_patches_.front().GetTargetMethod(); in ResolveMethodCalls()
|
/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/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/runtime/jit/ |
D | profile_saver.cc | 186 GetMethodsVisitor(std::vector<MethodReference>* methods, uint32_t startup_method_samples) in GetMethodsVisitor() 203 methods_->push_back(MethodReference(dex_file, method.GetDexMethodIndex())); in operator ()() 211 std::vector<MethodReference>* const methods_; 222 std::vector<MethodReference> methods; in FetchAndCacheResolvedClassesAndMethods() 249 for (const MethodReference& ref : methods) { in FetchAndCacheResolvedClassesAndMethods() 605 return info.ContainsMethod(MethodReference(dex_file, method_idx)); in HasSeenMethod()
|
/art/compiler/linker/mips64/ |
D | relative_patcher_mips64.h | 31 MethodReference method_ref) OVERRIDE;
|
D | relative_patcher_mips64.cc | 27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/compiler/linker/mips/ |
D | relative_patcher_mips.h | 33 MethodReference method_ref) OVERRIDE;
|
D | relative_patcher_mips.cc | 27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/compiler/driver/ |
D | compiler_driver.h | 170 CompiledMethod* GetCompiledMethod(MethodReference ref) const; 173 void AddCompiledMethod(const MethodReference& method_ref, 304 bool IsMethodToCompile(const MethodReference& method_ref) const; 308 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const; 349 void MarkForDexToDexCompilation(Thread* self, const MethodReference& method_ref)
|