Home
last modified time | relevance | path

Searched refs:SubtypeCheckInfo (Results 1 – 7 of 7) sorted by relevance

/aosp12/art/runtime/
H A Dsubtype_check_info_test.cc134 static SubtypeCheckInfo CopyCleared(const SubtypeCheckInfo& sc) { in CopyCleared()
135 SubtypeCheckInfo cleared_copy{}; in CopyCleared()
203 EXPECT_EQ(SubtypeCheckInfo::kAssigned, in TEST_F()
261 SubtypeCheckInfo sci = in TEST_F()
276 SubtypeCheckInfo sci2 = in TEST_F()
291 SubtypeCheckInfo sci3 = in TEST_F()
301 SubtypeCheckInfo sci4 = in TEST_F()
312 SubtypeCheckInfo sci = SubtypeCheckInfo::CreateRoot(); in TEST_F()
320 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); in TEST_F()
340 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); in TEST_F()
[all …]
H A Dsubtype_check_test.cc228 SubtypeCheckInfo::State EnsureInitialized() in EnsureInitialized()
234 SubtypeCheckInfo::State EnsureAssigned() in EnsureAssigned()
240 SubtypeCheckInfo::State ForceUninitialize() in ForceUninitialize()
278 SubtypeCheckInfo::State GetState() const in GetState()
510 SubtypeCheckInfo::State transition, in ApplyTransition()
511 SubtypeCheckInfo::State expected) { in ApplyTransition()
517 if (transition == SubtypeCheckInfo::kUninitialized) { in ApplyTransition()
657 const std::vector<std::pair<SubtypeCheckInfo::State, SubtypeCheckInfo::State>>& transitions) { in EnsureStateChangedTestRecursive()
681 const std::vector<std::pair<SubtypeCheckInfo::State, SubtypeCheckInfo::State>>& transitions) { in EnsureStateChangedTest()
959 SubtypeCheckInfo::Result slow_result = in EnsureSubtypeOfCorrect()
[all …]
H A Dsubtype_check.h286 return SubtypeCheckInfo::kUninitialized; in ForceUninitialize()
294 static SubtypeCheckInfo::State GetState(ClassPtr klass) in GetState()
322 SubtypeCheckInfo sci = GetSubtypeCheckInfo(klass); in GetEncodedPathToRootForTarget()
323 DCHECK_EQ(SubtypeCheckInfo::kAssigned, sci.GetState()); in GetEncodedPathToRootForTarget()
336 SubtypeCheckInfo sci = GetSubtypeCheckInfo(klass); in GetEncodedPathToRootMask()
337 DCHECK_EQ(SubtypeCheckInfo::kAssigned, sci.GetState()); in GetEncodedPathToRootMask()
355 SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); in IsSubtypeOf()
404 DCHECK(parent_state == SubtypeCheckInfo::kAssigned || in InitializeOrAssign()
405 parent_state == SubtypeCheckInfo::kOverflowed) in InitializeOrAssign()
418 if (sci_state == SubtypeCheckInfo::kUninitialized || in InitializeOrAssign()
[all …]
H A Dsubtype_check_info.h125 struct SubtypeCheckInfo { struct
156 SubtypeCheckInfo io; in Create()
198 static SubtypeCheckInfo CreateRoot() { in CreateRoot() argument
199 SubtypeCheckInfo io{}; in CreateRoot()
216 SubtypeCheckInfo CreateChild(bool assign_next) { in CreateChild() argument
365 SubtypeCheckInfo io; in MakeUnchecked()
485 SubtypeCheckInfo() = default;
496 case SubtypeCheckInfo::kUninitialized:
499 case SubtypeCheckInfo::kInitialized:
502 case SubtypeCheckInfo::kAssigned:
[all …]
/aosp12/art/compiler/optimizing/
H A Dsharpening.cc320 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring()
321 CHECK(old_state == SubtypeCheckInfo::kAssigned || old_state == SubtypeCheckInfo::kOverflowed) in CanUseTypeCheckBitstring()
325 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::EnsureAssigned(klass); in CanUseTypeCheckBitstring()
326 return state == SubtypeCheckInfo::kAssigned; in CanUseTypeCheckBitstring()
H A Dgraph_checker.cc631 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in HandleTypeCheckInstruction()
632 if (state == SubtypeCheckInfo::kAssigned) { in HandleTypeCheckInstruction()
/aosp12/art/runtime/mirror/
H A Dclass-inl.h597 SubtypeCheckInfo::Result sc_result = SubtypeCheck<ObjPtr<Class>>::IsSubtypeOf(dis, klass); in IsSubClass()
598 if (sc_result != SubtypeCheckInfo::kUnknownSubtypeOf) { in IsSubClass()
607 SubtypeCheckInfo::Result expected_result = in IsSubClass()
608 result ? SubtypeCheckInfo::kSubtypeOf : SubtypeCheckInfo::kNotSubtypeOf; in IsSubClass()