Home
last modified time | relevance | path

Searched refs:rti (Results 1 – 4 of 4) 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.h253 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() argument
257 return GetTypeHandle()->GetComponentType()->IsAssignableFrom(rti.GetTypeHandle().Get()); in CanArrayHold()
260 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() argument
264 if (!rti.IsArrayClass()) return false; in CanArrayHoldValuesOf()
266 rti.GetTypeHandle()->GetComponentType()); in CanArrayHoldValuesOf()
271 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf() argument
273 DCHECK(rti.IsValid()); in IsSupertypeOf()
274 return GetTypeHandle()->IsAssignableFrom(rti.GetTypeHandle().Get()); in IsSupertypeOf()
280 bool IsEqual(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsEqual() argument
281 if (!IsValid() && !rti.IsValid()) { in IsEqual()
[all …]
Dinstruction_simplifier.cc2544 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend() local
2545 if (!rti.IsValid()) { in TryReplaceStringBuilderAppend()
2549 Handle<mirror::Class> input_type = rti.GetTypeHandle(); in TryReplaceStringBuilderAppend()
Dinliner.cc2269 ReferenceTypeInfo rti = ReferenceTypePropagation::IsAdmissible(cls) in FixUpReturnReferenceType() local
2272 return_replacement->SetReferenceTypeInfo(rti); in FixUpReturnReferenceType()