Home
last modified time | relevance | path

Searched refs:reference_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dhandle.h39 Handle() : reference_(nullptr) { in Handle()
42 ALWAYS_INLINE Handle(const Handle<T>& handle) : reference_(handle.reference_) { in Handle()
46 reference_ = handle.reference_;
50 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle()
62 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
66 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject()
70 return reinterpret_cast<jobject>(reference_); in ToJObject()
74 return reference_; in GetReference()
78 return reference_; in GetReference()
84 : reference_(reference) { in Handle()
[all …]
/art/runtime/mirror/
Dobject_reference.h41 reference_ = Compress(other); in Assign()
45 reference_ = 0; in Clear()
50 return reference_ == 0; in IsNull()
54 return reference_; in AsVRegValue()
60 : reference_(Compress(mirror_ptr)) { in SHARED_REQUIRES()
71 uintptr_t as_bits = kPoisonReferences ? -reference_ : reference_; in UnCompress()
78 uint32_t reference_; variable
Dobject-inl.h201 if (UNLIKELY(atomic_rb_ptr->LoadRelaxed() != expected_ref.reference_)) { in AtomicSetReadBarrierPointer()
205 } while (!atomic_rb_ptr->CompareExchangeWeakSequentiallyConsistent(expected_ref.reference_, in AtomicSetReadBarrierPointer()
206 new_ref.reference_)); in AtomicSetReadBarrierPointer()
937 bool success = atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_ref.reference_, in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
938 new_ref.reference_); in CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier()
976 bool success = atomic_addr->CompareExchangeStrongSequentiallyConsistent(old_ref.reference_, in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
977 new_ref.reference_); in CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier()
1004 bool success = atomic_addr->CompareExchangeWeakRelaxed(old_ref.reference_, in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
1005 new_ref.reference_); in CasFieldWeakRelaxedObjectWithoutWriteBarrier()
1032 bool success = atomic_addr->CompareExchangeStrongRelaxed(old_ref.reference_, in CasFieldStrongRelaxedObjectWithoutWriteBarrier()
[all …]
/art/compiler/optimizing/
Dload_store_elimination.cc34 ReferenceInfo(HInstruction* reference, size_t pos) : reference_(reference), position_(pos) { in ReferenceInfo()
37 if (!reference_->IsNewInstance() && !reference_->IsNewArray()) { in ReferenceInfo()
46 for (const HUseListNode<HInstruction*>& use : reference_->GetUses()) { in ReferenceInfo()
57 (user->IsInstanceFieldSet() && (reference_ == user->InputAt(1))) || in ReferenceInfo()
58 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user->InputAt(1))) || in ReferenceInfo()
59 (user->IsStaticFieldSet() && (reference_ == user->InputAt(1))) || in ReferenceInfo()
60 (user->IsUnresolvedStaticFieldSet() && (reference_ == user->InputAt(0))) || in ReferenceInfo()
61 (user->IsArraySet() && (reference_ == user->InputAt(2)))) { in ReferenceInfo()
68 if ((user->IsUnresolvedInstanceFieldGet() && (reference_ == user->InputAt(0))) || in ReferenceInfo()
69 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user->InputAt(0)))) { in ReferenceInfo()
[all …]