Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 94) sorted by relevance

1234

/art/compiler/optimizing/
Descape.cc23 void CalculateEscape(HInstruction* reference, in CalculateEscape() argument
29 if (!reference->IsNewInstance() && !reference->IsNewArray()) { in CalculateEscape()
41 for (const HUseListNode<HInstruction*>& use : reference->GetUses()) { in CalculateEscape()
43 if (no_escape != nullptr && (*no_escape)(reference, user)) { in CalculateEscape()
55 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
56 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
57 (user->IsStaticFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
58 (user->IsUnresolvedStaticFieldSet() && (reference == user->InputAt(0))) || in CalculateEscape()
59 (user->IsArraySet() && (reference == user->InputAt(2)))) { in CalculateEscape()
66 } else if ((user->IsUnresolvedInstanceFieldGet() && (reference == user->InputAt(0))) || in CalculateEscape()
[all …]
Descape.h54 void CalculateEscape(HInstruction* reference,
64 bool DoesNotEscape(HInstruction* reference, bool (*no_escape)(HInstruction*, HInstruction*));
/art/runtime/
Dhandle.h49 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() argument
94 explicit Handle(StackReference<S>* reference) in Handle() argument
95 : reference_(reference) { in Handle()
125 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() argument
127 : Handle<T>(reference) { in MutableHandle()
130 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument
133 ref->Assign(reference); in Assign()
137 ALWAYS_INLINE T* Assign(ObjPtr<T> reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument
140 ref->Assign(reference.Ptr()); in Assign()
151 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() argument
[all …]
/art/test/800-smali/smali/
Db_22411633_2.smali17 # 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
Db_22411633_4.smali11 # 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/
Dreference_processor.cc65 ObjPtr<mirror::Reference> reference) { in GetReferent() argument
70 ObjPtr<mirror::Object> const referent = reference->GetReferent(); in GetReferent()
80 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>(); in GetReferent()
102 (LIKELY(!reference->IsFinalizerReferenceInstance()) && reference->IsUnprocessed())) { in GetReferent()
112 return reference->GetReferent(); in GetReferent()
320 ObjPtr<mirror::FinalizerReference> reference) { in MakeCircularListIfUnenqueued() argument
331 if (reference->IsUnprocessed()) { in MakeCircularListIfUnenqueued()
332 CHECK(reference->IsFinalizerReferenceInstance()); in MakeCircularListIfUnenqueued()
333 reference->SetPendingNext(reference); in MakeCircularListIfUnenqueued()
Dreference_processor.h62 ObjPtr<mirror::Object> GetReferent(Thread* self, ObjPtr<mirror::Reference> reference)
72 bool MakeCircularListIfUnenqueued(ObjPtr<mirror::FinalizerReference> reference)
/art/test/600-verifier-fails/
Dinfo.txt13 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/runtime/base/
Darray_slice.h33 using reference = T&; variable
78 reference operator[](size_t index) {
88 reference front() { in front()
98 reference back() { in back()
Dtransform_array_ref.h48 using reference = typename Iter::reference; variable
49 using const_reference = typename ConstIter::reference;
111 reference operator[](size_type n) { return GetFunction()(base()[n]); }
114 reference front() { return GetFunction()(base().front()); } in front()
117 reference back() { return GetFunction()(base().back()); } in back()
Dtransform_iterator.h47 using InputType = typename std::iterator_traits<BaseIterator>::reference;
59 using reference = ResultType; variable
95 reference operator*() const {
99 reference operator[](difference_type n) const {
Dtransform_iterator_test.cc53 static_assert(std::is_same<int, vector_titer::reference>::value, "reference"); in TEST()
60 static_assert(std::is_same<int, vector_ctiter::reference>::value, "reference"); in TEST()
67 static_assert(std::is_same<int, vector_rtiter::reference>::value, "reference"); in TEST()
74 static_assert(std::is_same<int, vector_crtiter::reference>::value, "reference"); in TEST()
156 static_assert(std::is_same<int, list_titer::reference>::value, "reference"); in TEST()
163 static_assert(std::is_same<int, list_ctiter::reference>::value, "reference"); in TEST()
170 static_assert(std::is_same<int, list_rtiter::reference>::value, "reference"); in TEST()
177 static_assert(std::is_same<int, list_crtiter::reference>::value, "reference"); in TEST()
220 static_assert(std::is_same<int, flist_titer::reference>::value, "reference"); in TEST()
227 static_assert(std::is_same<int, flist_ctiter::reference>::value, "reference"); in TEST()
[all …]
Diteration_range.h33 typedef typename std::iterator_traits<Iter>::reference reference; typedef
Darray_ref.h44 using reference = T&; variable
132 reference operator[](size_type n) {
142 reference front() { in front()
152 reference back() { in back()
/art/test/549-checker-types-merge/
Dinfo.txt1 Checker test for testing the type merge during reference type propagation.
/art/test/554-checker-rtp-checkcast/
Dinfo.txt1 Tests that phis with check-casted reference type inputs are typed.
/art/test/080-oom-throw-with-finalizer/
Dinfo.txt1 Regression test on correct processing of OOM thrown while adding a finalizer reference.
/art/test/557-checker-ref-equivalent/
Dinfo.txt1 Checker tests to ensure we do not get reference and integer phi equivalents.
/art/test/030-bad-finalizer/
Dexpected.txt1 About to null reference.
/art/test/581-rtp/
Dinfo.txt1 Regression test for the reference type propagation pass
/art/test/521-regression-integer-field-set/
Dinfo.txt2 32-bit immediate (integer or reference) into a field used to generate
/art/test/034-call-null/
Dexpected.txt1 …void Main.doStuff(int, int[][], java.lang.String, java.lang.String[][])' on a null object reference
/art/test/038-inner-null/
Dexpected.txt2 …rException: Attempt to invoke virtual method 'void Main$Blort.repaint()' on a null object reference
/art/test/069-field-type/
Dinfo.txt1 This tests to see if the VM allows you to store a reference to an
/art/test/520-equivalent-phi/smali/
DEquivalent.smali29 # the compiler with a reference equivalent that has no use. So
30 # we would consider the phi equivalent reference of v0, as dead,

1234