Searched refs:rti (Results 1 – 4 of 4) sorted by relevance
3062 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound() argument3064 if (rti.IsValid()) { in CheckAgainstUpperBound()3065 DCHECK(upper_bound_rti.IsSupertypeOf(rti)) in CheckAgainstUpperBound()3067 << " rti: " << rti; in CheckAgainstUpperBound()3068 DCHECK(!upper_bound_rti.GetTypeHandle()->CannotBeAssignedFromOtherTypes() || rti.IsExact()) in CheckAgainstUpperBound()3070 << " rti: " << rti; in CheckAgainstUpperBound()3074 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo() argument3078 DCHECK(rti.IsValid()) << "Invalid RTI for " << DebugName(); in SetReferenceTypeInfo()3082 CheckAgainstUpperBound(rti, AsBoundType()->GetUpperBound()); in SetReferenceTypeInfo()3085 reference_type_handle_ = rti.GetTypeHandle(); in SetReferenceTypeInfo()[all …]
256 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() argument260 return GetTypeHandle()->GetComponentType()->IsAssignableFrom(rti.GetTypeHandle().Get()); in CanArrayHold()263 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() argument267 if (!rti.IsArrayClass()) return false; in CanArrayHoldValuesOf()269 rti.GetTypeHandle()->GetComponentType()); in CanArrayHoldValuesOf()274 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf() argument276 DCHECK(rti.IsValid()); in IsSupertypeOf()277 return GetTypeHandle()->IsAssignableFrom(rti.GetTypeHandle().Get()); in IsSupertypeOf()283 bool IsEqual(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsEqual() argument284 if (!IsValid() && !rti.IsValid()) { in IsEqual()[all …]
2640 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend() local2641 if (!rti.IsValid()) { in TryReplaceStringBuilderAppend()2645 Handle<mirror::Class> input_type = rti.GetTypeHandle(); in TryReplaceStringBuilderAppend()
2159 ReferenceTypeInfo rti = ReferenceTypePropagation::IsAdmissible(cls) in FixUpReturnReferenceType() local2162 return_replacement->SetReferenceTypeInfo(rti); in FixUpReturnReferenceType()