Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dreference_type_propagation.cc155 ReferenceTypeInfo upper_bound, in ShouldCreateBoundType()
196 const ReferenceTypeInfo& class_rti) { in BoundTypeIn()
261 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in BoundTypeForClassCheck()
272 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in BoundTypeForClassCheck()
364 ReferenceTypeInfo object_rti = in BoundTypeForIfNotNull()
365 ReferenceTypeInfo::Create(GetHandleCache()->GetObjectClassHandle(), /* is_exact= */ false); in BoundTypeForIfNotNull()
462 ReferenceTypeInfo class_rti = instanceOf->GetTargetClassRTI(); in BoundTypeForIfInstanceOf()
482 class_rti = ReferenceTypeInfo::Create(class_rti.GetTypeHandle(), /* is_exact= */ false); in BoundTypeForIfInstanceOf()
515 ReferenceTypeInfo::Create(GetHandleCache()->GetStringClassHandle(), /* is_exact= */ true)); in SetClassAsTypeInfo()
517 ReferenceTypeInfo::TypeHandle handle = GetHandleCache()->NewHandle(klass); in SetClassAsTypeInfo()
[all …]
Dreference_type_propagation_test.cc56 ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a, in MergeTypes()
57 const ReferenceTypeInfo& b) REQUIRES_SHARED(Locks::mutator_lock_) { in MergeTypes()
62 ReferenceTypeInfo InvalidType() { in InvalidType()
63 return ReferenceTypeInfo::CreateInvalid(); in InvalidType()
67 ReferenceTypeInfo ObjectType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in ObjectType()
68 return ReferenceTypeInfo::Create(graph_->GetHandleCache()->GetObjectClassHandle(), is_exact); in ObjectType()
72 ReferenceTypeInfo StringType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in StringType()
73 return ReferenceTypeInfo::Create(graph_->GetHandleCache()->GetStringClassHandle(), is_exact); in StringType()
190 ReferenceTypeInfo t1(MergeTypes(InvalidType(), InvalidType())); in TEST_F()
196 ReferenceTypeInfo t2(MergeTypes(InvalidType(), ObjectType())); in TEST_F()
[all …]
Dreference_type_propagation.h69 static ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a,
70 const ReferenceTypeInfo& b,
Dinliner.h92 ReferenceTypeInfo receiver_type,
99 ReferenceTypeInfo receiver_type,
106 ReferenceTypeInfo receiver_type,
114 ReferenceTypeInfo receiver_type,
Dinliner.cc241 static ArtMethod* FindVirtualOrInterfaceTarget(HInvoke* invoke, ReferenceTypeInfo info) in FindVirtualOrInterfaceTarget()
478 ReferenceTypeInfo receiver_info = ReferenceTypeInfo::CreateInvalid(); in TryInline()
586 ReferenceTypeInfo::Create(cls), in TryInlineFromCHA()
887 ReferenceTypeInfo::Create(monomorphic_type, /* is_exact= */ true), in TryInlineMonomorphicCall()
1080 ReferenceTypeInfo::Create(handle, /* is_exact= */ true), in TryInlinePolymorphicCall()
1257 ReferenceTypeInfo::Create(cls), in TryInlinePolymorphicCallToSameTarget()
1416 ReferenceTypeInfo receiver_type, in TryInlineAndReplace()
1586 ReferenceTypeInfo receiver_type, in TryBuildAndInline()
1924 ReferenceTypeInfo receiver_type, in SubstituteArguments()
2162 ReferenceTypeInfo receiver_type, in TryBuildAndInlineHelper()
[all …]
Dinstruction_simplifier_test.cc171 ReferenceTypeInfo::Create(new_inst_klass->GetClass(), /*is_exact=*/true)); in TEST_P()
241 ReferenceTypeInfo::Create(new_inst_klass->GetClass(), /*is_exact=*/true)); in TEST_P()
Dnodes.h200 class ReferenceTypeInfo : ValueObject {
204 static ReferenceTypeInfo Create(TypeHandle type_handle, bool is_exact);
206 static ReferenceTypeInfo Create(TypeHandle type_handle) REQUIRES_SHARED(Locks::mutator_lock_) { in Create()
210 static ReferenceTypeInfo CreateUnchecked(TypeHandle type_handle, bool is_exact) { in CreateUnchecked()
211 return ReferenceTypeInfo(type_handle, is_exact); in CreateUnchecked()
214 static ReferenceTypeInfo CreateInvalid() { return ReferenceTypeInfo(); } in CreateInvalid()
261 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold()
268 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf()
279 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf()
288 bool IsEqual(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsEqual()
[all …]
Dinstruction_simplifier.cc731 static bool TypeCheckHasKnownOutcome(ReferenceTypeInfo class_rti, in TypeCheckHasKnownOutcome()
735 ReferenceTypeInfo obj_rti = object->GetReferenceTypeInfo(); in TypeCheckHasKnownOutcome()
1235 ReferenceTypeInfo array_rti = instruction->GetArray()->GetReferenceTypeInfo(); in VisitArraySet()
1236 ReferenceTypeInfo value_rti = value->GetReferenceTypeInfo(); in VisitArraySet()
1758 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in RecognizeAndSimplifyClassCheck()
1772 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in RecognizeAndSimplifyClassCheck()
2513 ReferenceTypeInfo argument_rti = argument->GetReferenceTypeInfo(); in SimplifyStringEquals()
2565 ReferenceTypeInfo destination_rti = destination->GetReferenceTypeInfo(); in SimplifySystemArrayCopy()
2581 ReferenceTypeInfo source_rti = source->GetReferenceTypeInfo(); in SimplifySystemArrayCopy()
2882 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend()
[all …]
Dnodes.cc54 ReferenceTypeInfo::TypeHandle HandleCache::CreateRootHandle(VariableSizedHandleScope* handles, in CreateRootHandle()
3087 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound()
3099 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo()
3114 void HInstruction::SetReferenceTypeInfoIfValid(ReferenceTypeInfo rti) { in SetReferenceTypeInfoIfValid()
3128 void HBoundType::SetUpperBound(const ReferenceTypeInfo& upper_bound, bool can_be_null) { in SetUpperBound()
3139 ReferenceTypeInfo ReferenceTypeInfo::Create(TypeHandle type_handle, bool is_exact) { in Create()
3148 return ReferenceTypeInfo(type_handle, is_exact); in Create()
3151 std::ostream& operator<<(std::ostream& os, const ReferenceTypeInfo& rhs) { in operator <<()
Dssa_builder.cc310 ReferenceTypeInfo array_type = array->GetReferenceTypeInfo(); in GetPrimitiveArrayComponentType()
Ddead_code_elimination.cc187 const ReferenceTypeInfo ti = obj->GetReferenceTypeInfo(); in RemoveNonNullControlDependences()
Dgraph_visualizer.cc753 ReferenceTypeInfo info = (instruction->GetType() == DataType::Type::kReference) in PrintInstruction()