Home
last modified time | relevance | path

Searched refs:ReferenceTypeInfo (Results 1 – 11 of 11) sorted by relevance

/art/compiler/optimizing/
Dreference_type_propagation.h76 ReferenceTypeInfo::TypeHandle GetObjectClassHandle();
77 ReferenceTypeInfo::TypeHandle GetClassClassHandle();
78 ReferenceTypeInfo::TypeHandle GetMethodHandleClassHandle();
79 ReferenceTypeInfo::TypeHandle GetMethodTypeClassHandle();
80 ReferenceTypeInfo::TypeHandle GetStringClassHandle();
81 ReferenceTypeInfo::TypeHandle GetThrowableClassHandle();
86 ReferenceTypeInfo::TypeHandle object_class_handle_;
87 ReferenceTypeInfo::TypeHandle class_class_handle_;
88 ReferenceTypeInfo::TypeHandle method_handle_class_handle_;
89 ReferenceTypeInfo::TypeHandle method_type_class_handle_;
[all …]
Dreference_type_propagation_test.cc48 ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a, in MergeTypes()
49 const ReferenceTypeInfo& b) REQUIRES_SHARED(Locks::mutator_lock_) { in MergeTypes()
54 ReferenceTypeInfo InvalidType() { in InvalidType()
55 return ReferenceTypeInfo::CreateInvalid(); in InvalidType()
59 ReferenceTypeInfo ObjectType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in ObjectType()
60 return ReferenceTypeInfo::Create(propagation_->handle_cache_.GetObjectClassHandle(), is_exact); in ObjectType()
64 ReferenceTypeInfo StringType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in StringType()
65 return ReferenceTypeInfo::Create(propagation_->handle_cache_.GetStringClassHandle(), is_exact); in StringType()
93 ReferenceTypeInfo t1(MergeTypes(InvalidType(), InvalidType())); in TEST_F()
99 ReferenceTypeInfo t2(MergeTypes(InvalidType(), ObjectType())); in TEST_F()
[all …]
Dreference_type_propagation.cc43 static inline ReferenceTypeInfo::TypeHandle GetRootHandle(VariableSizedHandleScope* handles, in GetRootHandle()
45 ReferenceTypeInfo::TypeHandle* cache) { in GetRootHandle()
46 if (!ReferenceTypeInfo::IsValidHandle(*cache)) { in GetRootHandle()
54 ReferenceTypeInfo::TypeHandle ReferenceTypePropagation::HandleCache::GetObjectClassHandle() { in GetObjectClassHandle()
58 ReferenceTypeInfo::TypeHandle ReferenceTypePropagation::HandleCache::GetClassClassHandle() { in GetClassClassHandle()
62 ReferenceTypeInfo::TypeHandle ReferenceTypePropagation::HandleCache::GetMethodHandleClassHandle() { in GetMethodHandleClassHandle()
68 ReferenceTypeInfo::TypeHandle ReferenceTypePropagation::HandleCache::GetMethodTypeClassHandle() { in GetMethodTypeClassHandle()
72 ReferenceTypeInfo::TypeHandle ReferenceTypePropagation::HandleCache::GetStringClassHandle() { in GetStringClassHandle()
76 ReferenceTypeInfo::TypeHandle ReferenceTypePropagation::HandleCache::GetThrowableClassHandle() { in GetThrowableClassHandle()
215 ReferenceTypeInfo upper_bound, in ShouldCreateBoundType()
[all …]
Dinliner.h82 ReferenceTypeInfo receiver_type,
89 ReferenceTypeInfo receiver_type,
95 ReferenceTypeInfo receiver_type,
208 ReferenceTypeInfo GetClassRTI(ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
Dinliner.cc226 ReferenceTypeInfo info = receiver->GetReferenceTypeInfo(); in FindVirtualOrInterfaceTarget()
511 ReferenceTypeInfo::CreateInvalid(), in TryInline()
868 ReferenceTypeInfo::Create(monomorphic_type, /* is_exact= */ true), in TryInlineMonomorphicCall()
1037 ReferenceTypeInfo::Create(handle, /* is_exact= */ true), in TryInlinePolymorphicCall()
1223 ReferenceTypeInfo::CreateInvalid(), in TryInlinePolymorphicCallToSameTarget()
1296 ReferenceTypeInfo receiver_type, in TryInlineAndReplace()
1440 ReferenceTypeInfo receiver_type, in TryBuildAndInline()
1761 ReferenceTypeInfo receiver_type, in TryBuildAndInlineHelper()
2105 static bool IsReferenceTypeRefinement(ReferenceTypeInfo declared_rti, in IsReferenceTypeRefinement()
2113 ReferenceTypeInfo actual_rti = actual_obj->GetReferenceTypeInfo(); in IsReferenceTypeRefinement()
[all …]
Dnodes.h189 class ReferenceTypeInfo : ValueObject {
193 static ReferenceTypeInfo Create(TypeHandle type_handle, bool is_exact);
195 static ReferenceTypeInfo Create(TypeHandle type_handle) REQUIRES_SHARED(Locks::mutator_lock_) { in Create()
199 static ReferenceTypeInfo CreateUnchecked(TypeHandle type_handle, bool is_exact) { in CreateUnchecked()
200 return ReferenceTypeInfo(type_handle, is_exact); in CreateUnchecked()
203 static ReferenceTypeInfo CreateInvalid() { return ReferenceTypeInfo(); } in CreateInvalid()
250 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold()
257 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf()
268 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf()
274 bool IsStrictSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsStrictSupertypeOf()
[all …]
Dinstruction_simplifier.cc586 static bool TypeCheckHasKnownOutcome(ReferenceTypeInfo class_rti, in TypeCheckHasKnownOutcome()
590 ReferenceTypeInfo obj_rti = object->GetReferenceTypeInfo(); in TypeCheckHasKnownOutcome()
1067 ReferenceTypeInfo array_rti = instruction->GetArray()->GetReferenceTypeInfo(); in VisitArraySet()
1068 ReferenceTypeInfo value_rti = value->GetReferenceTypeInfo(); in VisitArraySet()
1531 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in RecognizeAndSimplifyClassCheck()
1545 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in RecognizeAndSimplifyClassCheck()
2133 ReferenceTypeInfo argument_rti = argument->GetReferenceTypeInfo(); in SimplifyStringEquals()
2207 ReferenceTypeInfo destination_rti = destination->GetReferenceTypeInfo(); in SimplifySystemArrayCopy()
2223 ReferenceTypeInfo source_rti = source->GetReferenceTypeInfo(); in SimplifySystemArrayCopy()
Dnodes.cc45 inexact_object_rti_ = ReferenceTypeInfo::Create( in InitializeInexactObjectRTI()
2787 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound()
2799 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo()
2822 void HBoundType::SetUpperBound(const ReferenceTypeInfo& upper_bound, bool can_be_null) { in SetUpperBound()
2833 ReferenceTypeInfo ReferenceTypeInfo::Create(TypeHandle type_handle, bool is_exact) { in Create()
2842 return ReferenceTypeInfo(type_handle, is_exact); in Create()
2845 std::ostream& operator<<(std::ostream& os, const ReferenceTypeInfo& rhs) { in operator <<()
Ddead_code_elimination.cc193 ReferenceTypeInfo ti = obj->GetReferenceTypeInfo(); in RemoveNonNullControlDependences()
Dssa_builder.cc310 ReferenceTypeInfo array_type = array->GetReferenceTypeInfo(); in GetPrimitiveArrayComponentType()
Dgraph_visualizer.cc682 ReferenceTypeInfo info = (instruction->GetType() == DataType::Type::kReference) in PrintInstruction()