Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dnodes.cc3062 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound() argument
3064 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() argument
3078 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 …]
Dnodes.h256 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() argument
260 return GetTypeHandle()->GetComponentType()->IsAssignableFrom(rti.GetTypeHandle().Get()); in CanArrayHold()
263 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() argument
267 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() argument
276 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() argument
284 if (!IsValid() && !rti.IsValid()) { in IsEqual()
[all …]
Dinstruction_simplifier.cc2640 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend() local
2641 if (!rti.IsValid()) { in TryReplaceStringBuilderAppend()
2645 Handle<mirror::Class> input_type = rti.GetTypeHandle(); in TryReplaceStringBuilderAppend()
Dinliner.cc2159 ReferenceTypeInfo rti = ReferenceTypePropagation::IsAdmissible(cls) in FixUpReturnReferenceType() local
2162 return_replacement->SetReferenceTypeInfo(rti); in FixUpReturnReferenceType()