/art/compiler/optimizing/ |
D | escape.cc | 23 void VisitEscapes(HInstruction* reference, EscapeVisitor& escape_visitor) { in VisitEscapes() argument 26 if ((!reference->IsNewInstance() && !reference->IsNewArray()) || in VisitEscapes() 27 (reference->IsNewInstance() && reference->AsNewInstance()->IsFinalizable())) { in VisitEscapes() 28 if (!escape_visitor(reference)) { in VisitEscapes() 35 for (const HUseListNode<HInstruction*>& use : reference->GetUses()) { in VisitEscapes() 54 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in VisitEscapes() 55 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in VisitEscapes() 56 (user->IsStaticFieldSet() && (reference == user->InputAt(1))) || in VisitEscapes() 57 (user->IsUnresolvedStaticFieldSet() && (reference == user->InputAt(0))) || in VisitEscapes() 58 (user->IsArraySet() && (reference == user->InputAt(2)))) { in VisitEscapes() [all …]
|
D | escape.h | 63 virtual bool NoEscape(HInstruction* reference, HInstruction* user) = 0; 107 void CalculateEscape(HInstruction* reference, 113 inline void CalculateEscape(HInstruction* reference, in CalculateEscape() argument 120 CalculateEscape(reference, in CalculateEscape() 133 void VisitEscapes(HInstruction* reference, EscapeVisitor& escape_visitor); 139 bool DoesNotEscape(HInstruction* reference, NoEscapeCheck& no_escape); 141 inline bool DoesNotEscape(HInstruction* reference, in DoesNotEscape() argument 144 return DoesNotEscape(reference, esc); in DoesNotEscape()
|
/art/test/1339-dead-reference-safe/ |
D | Android.bp | 3 // Build rules for ART run-test `1339-dead-reference-safe`. 16 name: "art-run-test-1339-dead-reference-safe", 21 ":art-run-test-1339-dead-reference-safe-expected-stdout", 22 ":art-run-test-1339-dead-reference-safe-expected-stderr", 28 name: "art-run-test-1339-dead-reference-safe-expected-stdout", 29 out: ["art-run-test-1339-dead-reference-safe-expected-stdout.txt"], 36 name: "art-run-test-1339-dead-reference-safe-expected-stderr", 37 out: ["art-run-test-1339-dead-reference-safe-expected-stderr.txt"],
|
/art/test/153-reference-stress/ |
D | Android.bp | 3 // Build rules for ART run-test `153-reference-stress`. 16 name: "art-run-test-153-reference-stress", 21 ":art-run-test-153-reference-stress-expected-stdout", 22 ":art-run-test-153-reference-stress-expected-stderr", 28 name: "art-run-test-153-reference-stress-expected-stdout", 29 out: ["art-run-test-153-reference-stress-expected-stdout.txt"], 36 name: "art-run-test-153-reference-stress-expected-stderr", 37 out: ["art-run-test-153-reference-stress-expected-stderr.txt"],
|
/art/test/461-get-reference-vreg/ |
D | Android.bp | 3 // Build rules for ART run-test `461-get-reference-vreg`. 16 name: "art-run-test-461-get-reference-vreg", 21 ":art-run-test-461-get-reference-vreg-expected-stdout", 22 ":art-run-test-461-get-reference-vreg-expected-stderr", 28 name: "art-run-test-461-get-reference-vreg-expected-stdout", 29 out: ["art-run-test-461-get-reference-vreg-expected-stdout.txt"], 36 name: "art-run-test-461-get-reference-vreg-expected-stderr", 37 out: ["art-run-test-461-get-reference-vreg-expected-stderr.txt"],
|
/art/runtime/ |
D | handle.h | 63 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() argument 117 explicit Handle(StackReference<S>* reference) in Handle() argument 118 : reference_(reference) { in Handle() 148 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() argument 150 : Handle<T>(reference) { in MutableHandle() 153 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument 156 ref->Assign(reference); in Assign() 160 ALWAYS_INLINE T* Assign(ObjPtr<T> reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument 163 ref->Assign(reference.Ptr()); in Assign() 174 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() argument [all …]
|
D | reflective_handle.h | 41 ALWAYS_INLINE explicit ReflectiveHandle(ReflectiveReference<T>* reference) in ReflectiveHandle() argument 42 : reference_(reference) {} in ReflectiveHandle() 90 ALWAYS_INLINE explicit MutableReflectiveHandle(ReflectiveReference<T>* reference) in MutableReflectiveHandle() argument 92 : ReflectiveHandle<T>(reference) {} in MutableReflectiveHandle() 94 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument 97 ref->Assign(reference); in Assign()
|
/art/test/1945-proxy-method-arguments/ |
D | info.txt | 1 Test checking that reference arguments of proxy methods are visited as 4 accessing one of these reference arguments in the proxy method stack 5 frame, it could end up with a stale reference, as the corresponding 7 reference would not have been updated.
|
/art/test/800-smali/smali/ |
D | b_22411633_2.smali | 17 # Create a non-precise object reference. We can do this by merging to objects together 35 # Merge the uninitialized Object from line 12 with the reference to Object from 31. Older 36 # rules set any reference merged with Object to Object. This is wrong in the case of the 37 # other reference being an uninitialized reference, as we'd suddenly allow calling on it. 39 # Test whether it's some initialized reference by calling hashCode. This should fail, as we
|
D | b_22411633_4.smali | 11 # At this point v4 is an uninitialized reference. This should fail to verify. 12 # Note: we make sure that it is an uninitialized reference and not a conflict in sister
|
/art/runtime/gc/ |
D | reference_processor.cc | 91 ObjPtr<mirror::Reference> reference) { in GetReferent() argument 96 return reference->GetReferent(); in GetReferent() 101 ObjPtr<mirror::Object> referent = reference->template GetReferent<kWithoutReadBarrier>(); in GetReferent() 122 if (UNLIKELY(reference->IsFinalizerReferenceInstance() in GetReferent() 124 || (kOtherReadBarrier && reference->IsPhantomReferenceInstance()))) { in GetReferent() 138 DCHECK(!reference->IsPhantomReferenceInstance()); in GetReferent() 150 referent = reference->GetReferent<kWithoutReadBarrier>(); in GetReferent() 163 return reference->GetReferent(); in GetReferent() 431 ObjPtr<mirror::FinalizerReference> reference) { in MakeCircularListIfUnenqueued() argument 442 if (reference->IsUnprocessed()) { in MakeCircularListIfUnenqueued() [all …]
|
/art/test/600-verifier-fails/ |
D | info.txt | 13 access validation on field should occur prior to null reference check 16 verification failure (non-reference type) to avoid a compiler crash 19 access validation on method should occur prior to null reference check
|
/art/libartbase/base/ |
D | transform_array_ref.h | 48 using reference = typename Iter::reference; variable 49 using const_reference = typename ConstIter::reference; 108 reference operator[](size_type n) { return GetFunction()(base()[n]); } 111 reference front() { return GetFunction()(base().front()); } in front() 114 reference back() { return GetFunction()(base().back()); } in back()
|
D | transform_iterator.h | 46 using InputType = typename std::iterator_traits<BaseIterator>::reference; 56 using reference = ResultType; variable 91 reference operator*() const { 95 reference operator[](difference_type n) const {
|
D | transform_iterator_test.cc | 51 static_assert(std::is_same_v<int, vector_titer::reference>); in TEST() 57 static_assert(std::is_same_v<int, vector_ctiter::reference>); in TEST() 63 static_assert(std::is_same_v<int, vector_rtiter::reference>); in TEST() 69 static_assert(std::is_same_v<int, vector_crtiter::reference>); in TEST() 150 static_assert(std::is_same_v<int, list_titer::reference>); in TEST() 156 static_assert(std::is_same_v<int, list_ctiter::reference>); in TEST() 162 static_assert(std::is_same_v<int, list_rtiter::reference>); in TEST() 168 static_assert(std::is_same_v<int, list_crtiter::reference>); in TEST() 210 static_assert(std::is_same_v<int, flist_titer::reference>); in TEST() 216 static_assert(std::is_same_v<int, flist_ctiter::reference>); in TEST() [all …]
|
D | array_slice.h | 35 using reference = T&; variable 92 reference operator[](size_t index) { 102 reference front() { in front() 112 reference back() { in back()
|
D | array_ref.h | 44 using reference = T&; variable 135 reference operator[](size_type n) { 145 reference front() { in front() 155 reference back() { in back()
|
/art/tools/veridex/ |
D | flow_analysis.h | 52 RegisterValue(RegisterSource source, DexFileReference reference, const VeriClass* type) in RegisterValue() argument 53 : source_(source), value_(0), reference_(reference), type_(type) {} in RegisterValue() 57 DexFileReference reference, in RegisterValue() argument 59 : source_(source), value_(value), reference_(reference), type_(type) {} in RegisterValue()
|
/art/test/554-checker-rtp-checkcast/ |
D | info.txt | 1 Tests that phis with check-casted reference type inputs are typed.
|
/art/test/549-checker-types-merge/ |
D | info.txt | 1 Checker test for testing the type merge during reference type propagation.
|
/art/test/080-oom-throw-with-finalizer/ |
D | info.txt | 1 Regression test on correct processing of OOM thrown while adding a finalizer reference.
|
/art/test/557-checker-ref-equivalent/ |
D | info.txt | 1 Checker tests to ensure we do not get reference and integer phi equivalents.
|
/art/test/1003-metadata-section-strings/ |
D | info.txt | 1 Test that releasing the metadata cache doesn't break reference equality of string literals.
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 498 const std::vector<std::string>& reference, in Benchmark() argument 501 timings->num_comparisons_ += reference.size() * kIterations; in Benchmark() 505 for (size_t i = 0; i < reference.size(); ++i) { in Benchmark() 508 reinterpret_cast<const uint8_t*>(&reference[i][0]), in Benchmark() 509 reference[i].length())) in Benchmark() 510 << i << ": " << strings.GetString(i) << " vs " << reference[i]; in Benchmark() 518 for (size_t i = 0; i < reference.size(); ++i) { in Benchmark() 520 reference.size() - 1 - i, in Benchmark() 521 reinterpret_cast<const uint8_t*>(&reference[i][0]), in Benchmark() 522 reference[i].length()); in Benchmark()
|
/art/test/581-checker-rtp/ |
D | info.txt | 1 Regression test for the reference type propagation pass
|