Searched refs:rti (Results 1 – 4 of 4) sorted by relevance
2787 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound() argument2789 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() argument2803 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 …]
253 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() argument257 return GetTypeHandle()->GetComponentType()->IsAssignableFrom(rti.GetTypeHandle().Get()); in CanArrayHold()260 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() argument264 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() argument273 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() argument281 if (!IsValid() && !rti.IsValid()) { in IsEqual()[all …]
2544 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend() local2545 if (!rti.IsValid()) { in TryReplaceStringBuilderAppend()2549 Handle<mirror::Class> input_type = rti.GetTypeHandle(); in TryReplaceStringBuilderAppend()
2269 ReferenceTypeInfo rti = ReferenceTypePropagation::IsAdmissible(cls) in FixUpReturnReferenceType() local2272 return_replacement->SetReferenceTypeInfo(rti); in FixUpReturnReferenceType()