Home
last modified time | relevance | path

Searched refs:rti (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dnodes.cc2787 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound() argument
2789 if (rti.IsValid()) { in CheckAgainstUpperBound()
2790 DCHECK(upper_bound_rti.IsSupertypeOf(rti)) in CheckAgainstUpperBound()
2792 << " rti: " << rti; in CheckAgainstUpperBound()
2793 DCHECK(!upper_bound_rti.GetTypeHandle()->CannotBeAssignedFromOtherTypes() || rti.IsExact()) in CheckAgainstUpperBound()
2795 << " rti: " << rti; in CheckAgainstUpperBound()
2799 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo() argument
2803 DCHECK(rti.IsValid()) << "Invalid RTI for " << DebugName(); in SetReferenceTypeInfo()
2807 CheckAgainstUpperBound(rti, AsBoundType()->GetUpperBound()); in SetReferenceTypeInfo()
2810 reference_type_handle_ = rti.GetTypeHandle(); in SetReferenceTypeInfo()
[all …]
Dnodes.h250 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() argument
254 return GetTypeHandle()->GetComponentType()->IsAssignableFrom(rti.GetTypeHandle().Get()); in CanArrayHold()
257 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() argument
261 if (!rti.IsArrayClass()) return false; in CanArrayHoldValuesOf()
263 rti.GetTypeHandle()->GetComponentType()); in CanArrayHoldValuesOf()
268 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf() argument
270 DCHECK(rti.IsValid()); in IsSupertypeOf()
271 return GetTypeHandle()->IsAssignableFrom(rti.GetTypeHandle().Get()); in IsSupertypeOf()
274 bool IsStrictSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsStrictSupertypeOf() argument
276 DCHECK(rti.IsValid()); in IsStrictSupertypeOf()
[all …]