Searched refs:ReferenceTypeInfo (Results 1 – 13 of 13) sorted by relevance
/art/compiler/optimizing/ |
D | reference_type_propagation.cc | 206 ReferenceTypeInfo upper_bound, in ShouldCreateBoundType() 247 const ReferenceTypeInfo& class_rti) { in BoundTypeIn() 312 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in BoundTypeForClassCheck() 323 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in BoundTypeForClassCheck() 418 ReferenceTypeInfo object_rti = in BoundTypeForIfNotNull() 419 ReferenceTypeInfo::Create(GetHandleCache()->GetObjectClassHandle(), /* is_exact= */ false); in BoundTypeForIfNotNull() 510 ReferenceTypeInfo class_rti = instanceOf->GetTargetClassRTI(); in BoundTypeForIfInstanceOf() 530 class_rti = ReferenceTypeInfo::Create(class_rti.GetTypeHandle(), /* is_exact= */ false); in BoundTypeForIfInstanceOf() 563 ReferenceTypeInfo::Create(GetHandleCache()->GetStringClassHandle(), /* is_exact= */ true)); in SetClassAsTypeInfo() 565 ReferenceTypeInfo::TypeHandle handle = GetHandleCache()->NewHandle(klass); in SetClassAsTypeInfo() [all …]
|
D | reference_type_propagation_test.cc | 58 ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a, in MergeTypes() 59 const ReferenceTypeInfo& b) REQUIRES_SHARED(Locks::mutator_lock_) { in MergeTypes() 64 ReferenceTypeInfo InvalidType() { in InvalidType() 65 return ReferenceTypeInfo::CreateInvalid(); in InvalidType() 69 ReferenceTypeInfo ObjectType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in ObjectType() 70 return ReferenceTypeInfo::Create(graph_->GetHandleCache()->GetObjectClassHandle(), is_exact); in ObjectType() 74 ReferenceTypeInfo StringType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { in StringType() 75 return ReferenceTypeInfo::Create(graph_->GetHandleCache()->GetStringClassHandle(), is_exact); in StringType() 192 ReferenceTypeInfo t1(MergeTypes(InvalidType(), InvalidType())); in TEST_F() 198 ReferenceTypeInfo t2(MergeTypes(InvalidType(), ObjectType())); in TEST_F() [all …]
|
D | reference_type_propagation.h | 69 static ReferenceTypeInfo MergeTypes(const ReferenceTypeInfo& a, 70 const ReferenceTypeInfo& b,
|
D | inliner.h | 82 ReferenceTypeInfo receiver_type, 88 ReferenceTypeInfo receiver_type, 94 ReferenceTypeInfo receiver_type, 101 ReferenceTypeInfo receiver_type,
|
D | inliner.cc | 231 ReferenceTypeInfo info = receiver->GetReferenceTypeInfo(); in FindVirtualOrInterfaceTarget() 474 ReferenceTypeInfo::CreateInvalid(), in TryInline() 520 ReferenceTypeInfo::CreateInvalid(), in TryInlineFromCHA() 788 ReferenceTypeInfo::Create(monomorphic_type, /* is_exact= */ true), in TryInlineMonomorphicCall() 984 ReferenceTypeInfo::Create(handle, /* is_exact= */ true), in TryInlinePolymorphicCall() 1162 ReferenceTypeInfo::CreateInvalid(), in TryInlinePolymorphicCallToSameTarget() 1318 ReferenceTypeInfo receiver_type, in TryInlineAndReplace() 1446 ReferenceTypeInfo receiver_type, in TryBuildAndInline() 1770 ReferenceTypeInfo receiver_type, in SubstituteArguments() 1966 ReferenceTypeInfo receiver_type, in TryBuildAndInlineHelper() [all …]
|
D | nodes.h | 197 class ReferenceTypeInfo : ValueObject { 201 static ReferenceTypeInfo Create(TypeHandle type_handle, bool is_exact); 203 static ReferenceTypeInfo Create(TypeHandle type_handle) REQUIRES_SHARED(Locks::mutator_lock_) { in Create() 207 static ReferenceTypeInfo CreateUnchecked(TypeHandle type_handle, bool is_exact) { in CreateUnchecked() 208 return ReferenceTypeInfo(type_handle, is_exact); in CreateUnchecked() 211 static ReferenceTypeInfo CreateInvalid() { return ReferenceTypeInfo(); } in CreateInvalid() 258 bool CanArrayHold(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHold() 265 bool CanArrayHoldValuesOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in CanArrayHoldValuesOf() 276 bool IsSupertypeOf(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsSupertypeOf() 285 bool IsEqual(ReferenceTypeInfo rti) const REQUIRES_SHARED(Locks::mutator_lock_) { in IsEqual() [all …]
|
D | instruction_simplifier.cc | 604 static bool TypeCheckHasKnownOutcome(ReferenceTypeInfo class_rti, in TypeCheckHasKnownOutcome() 608 ReferenceTypeInfo obj_rti = object->GetReferenceTypeInfo(); in TypeCheckHasKnownOutcome() 1156 ReferenceTypeInfo array_rti = instruction->GetArray()->GetReferenceTypeInfo(); in VisitArraySet() 1157 ReferenceTypeInfo value_rti = value->GetReferenceTypeInfo(); in VisitArraySet() 1680 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI(); in RecognizeAndSimplifyClassCheck() 1694 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in RecognizeAndSimplifyClassCheck() 2347 ReferenceTypeInfo argument_rti = argument->GetReferenceTypeInfo(); in SimplifyStringEquals() 2393 ReferenceTypeInfo destination_rti = destination->GetReferenceTypeInfo(); in SimplifySystemArrayCopy() 2409 ReferenceTypeInfo source_rti = source->GetReferenceTypeInfo(); in SimplifySystemArrayCopy() 2704 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend() [all …]
|
D | instruction_simplifier_test.cc | 428 ReferenceTypeInfo::Create(new_inst_klass->GetClass(), /*is_exact=*/true)); in TEST_P() 507 ReferenceTypeInfo::Create(new_inst_klass->GetClass(), /*is_exact=*/true)); in TEST_P()
|
D | nodes.cc | 51 ReferenceTypeInfo::TypeHandle HandleCache::CreateRootHandle(VariableSizedHandleScope* handles, in CreateRootHandle() 3067 static void CheckAgainstUpperBound(ReferenceTypeInfo rti, ReferenceTypeInfo upper_bound_rti) in CheckAgainstUpperBound() 3079 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo() 3102 void HBoundType::SetUpperBound(const ReferenceTypeInfo& upper_bound, bool can_be_null) { in SetUpperBound() 3113 ReferenceTypeInfo ReferenceTypeInfo::Create(TypeHandle type_handle, bool is_exact) { in Create() 3122 return ReferenceTypeInfo(type_handle, is_exact); in Create() 3125 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 | 739 ReferenceTypeInfo info = (instruction->GetType() == DataType::Type::kReference) in PrintInstruction()
|
D | load_store_elimination_test.cc | 2645 ReferenceTypeInfo::CreateUnchecked(graph_->GetHandleCache()->GetObjectClassHandle(), false)); in TEST_P() 2649 ReferenceTypeInfo::CreateUnchecked(graph_->GetHandleCache()->GetObjectClassHandle(), false)); in TEST_P()
|