Searched refs:ReferenceTypeInfo (Results 1 – 11 of 11) sorted by relevance
/art/compiler/optimizing/ |
D | reference_type_propagation.h | 76 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 …]
|
D | reference_type_propagation_test.cc | 48 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 …]
|
D | reference_type_propagation.cc | 43 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 …]
|
D | inliner.h | 82 ReferenceTypeInfo receiver_type, 89 ReferenceTypeInfo receiver_type, 95 ReferenceTypeInfo receiver_type, 208 ReferenceTypeInfo GetClassRTI(ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | inliner.cc | 226 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 …]
|
D | nodes.h | 189 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 …]
|
D | instruction_simplifier.cc | 586 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()
|
D | nodes.cc | 45 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 <<()
|
D | dead_code_elimination.cc | 193 ReferenceTypeInfo ti = obj->GetReferenceTypeInfo(); in RemoveNonNullControlDependences()
|
D | ssa_builder.cc | 310 ReferenceTypeInfo array_type = array->GetReferenceTypeInfo(); in GetPrimitiveArrayComponentType()
|
D | graph_visualizer.cc | 682 ReferenceTypeInfo info = (instruction->GetType() == DataType::Type::kReference) in PrintInstruction()
|