Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dreference_type_propagation_test.cc47 ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a, in MergeTypes()
48 const ReferenceTypeInfo& b) REQUIRES_SHARED(Locks::mutator_lock_) { in MergeTypes()
53 ReferenceTypeInfo InvalidType() { in InvalidType()
54 return ReferenceTypeInfo::CreateInvalid(); in InvalidType()
58 ReferenceTypeInfo ObjectType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in ObjectType()
59 return ReferenceTypeInfo::Create(graph_->GetHandleCache()->GetObjectClassHandle(), is_exact); in ObjectType()
63 ReferenceTypeInfo StringType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in StringType()
64 return ReferenceTypeInfo::Create(graph_->GetHandleCache()->GetStringClassHandle(), is_exact); in StringType()
92 ReferenceTypeInfo t1(MergeTypes(InvalidType(), InvalidType())); in TEST_F()
98 ReferenceTypeInfo t2(MergeTypes(InvalidType(), ObjectType())); in TEST_F()
[all …]
Dreference_type_propagation.cc176 ReferenceTypeInfo upper_bound, in ShouldCreateBoundType()
217 const ReferenceTypeInfo& class_rti) { in BoundTypeIn()
282 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in BoundTypeForClassCheck()
295 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in BoundTypeForClassCheck()
390 ReferenceTypeInfo object_rti = in BoundTypeForIfNotNull()
391 ReferenceTypeInfo::Create(GetHandleCache()->GetObjectClassHandle(), /* is_exact= */ false); in BoundTypeForIfNotNull()
482 ReferenceTypeInfo class_rti = instanceOf->GetTargetClassRTI(); in BoundTypeForIfInstanceOf()
502 class_rti = ReferenceTypeInfo::Create(class_rti.GetTypeHandle(), /* is_exact= */ false); in BoundTypeForIfInstanceOf()
535 ReferenceTypeInfo::Create(GetHandleCache()->GetStringClassHandle(), /* is_exact= */ true)); in SetClassAsTypeInfo()
537 ReferenceTypeInfo::TypeHandle handle = GetHandleCache()->NewHandle(klass); in SetClassAsTypeInfo()
[all …]
Dreference_type_propagation.h64 static ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a,
65 const ReferenceTypeInfo& b,
Dinliner.h89 ReferenceTypeInfo receiver_type,
96 ReferenceTypeInfo receiver_type,
102 ReferenceTypeInfo receiver_type,
109 ReferenceTypeInfo receiver_type,
Dinliner.cc225 ReferenceTypeInfo info = receiver->GetReferenceTypeInfo(); in FindVirtualOrInterfaceTarget()
533 ReferenceTypeInfo::CreateInvalid(), in TryInline()
883 ReferenceTypeInfo::Create(monomorphic_type, /* is_exact= */ true), in TryInlineMonomorphicCall()
1051 ReferenceTypeInfo::Create(handle, /* is_exact= */ true), in TryInlinePolymorphicCall()
1236 ReferenceTypeInfo::CreateInvalid(), in TryInlinePolymorphicCallToSameTarget()
1308 ReferenceTypeInfo receiver_type, in TryInlineAndReplace()
1536 ReferenceTypeInfo receiver_type, in TryBuildAndInline()
1803 ReferenceTypeInfo receiver_type, in SubstituteArguments()
1992 ReferenceTypeInfo receiver_type, in TryBuildAndInlineHelper()
2179 ReferenceTypeInfo actual_rti = actual_obj->GetReferenceTypeInfo(); in IsReferenceTypeRefinement()
[all …]
Dnodes.h192 class ReferenceTypeInfo : ValueObject {
196 static ReferenceTypeInfo Create(TypeHandle type_handle, bool is_exact);
198 static ReferenceTypeInfo Create(TypeHandle type_handle) REQUIRES_SHARED(Locks::mutator_lock_) { in Create()
202 static ReferenceTypeInfo CreateUnchecked(TypeHandle type_handle, bool is_exact) { in CreateUnchecked()
203 return ReferenceTypeInfo(type_handle, is_exact); in CreateUnchecked()
206 static ReferenceTypeInfo CreateInvalid() { return ReferenceTypeInfo(); } in CreateInvalid()
253 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold()
260 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf()
271 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf()
280 bool IsEqual(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsEqual()
[all …]
Dinstruction_simplifier.cc582 static bool TypeCheckHasKnownOutcome(ReferenceTypeInfo class_rti, in TypeCheckHasKnownOutcome()
586 ReferenceTypeInfo obj_rti = object->GetReferenceTypeInfo(); in TypeCheckHasKnownOutcome()
1063 ReferenceTypeInfo array_rti = instruction->GetArray()->GetReferenceTypeInfo(); in VisitArraySet()
1064 ReferenceTypeInfo value_rti = value->GetReferenceTypeInfo(); in VisitArraySet()
1527 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in RecognizeAndSimplifyClassCheck()
1541 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in RecognizeAndSimplifyClassCheck()
2194 ReferenceTypeInfo argument_rti = argument->GetReferenceTypeInfo(); in SimplifyStringEquals()
2240 ReferenceTypeInfo destination_rti = destination->GetReferenceTypeInfo(); in SimplifySystemArrayCopy()
2256 ReferenceTypeInfo source_rti = source->GetReferenceTypeInfo(); in SimplifySystemArrayCopy()
2544 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend()
Dnodes.cc42 ReferenceTypeInfo::TypeHandle HandleCache::CreateRootHandle(VariableSizedHandleScope* handles, in CreateRootHandle()
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.cc685 ReferenceTypeInfo info = (instruction->GetType() == DataType::Type::kReference) in PrintInstruction()