Home
last modified time | relevance | path

Searched refs:TypeCheckKind (Results 1 – 16 of 16) sorted by relevance

/art/compiler/optimizing/
Dsharpening.cc250 TypeCheckKind HSharpening::ComputeTypeCheckKind(ObjPtr<mirror::Class> klass, in ComputeTypeCheckKind()
254 return TypeCheckKind::kUnresolvedCheck; in ComputeTypeCheckKind()
256 return TypeCheckKind::kInterfaceCheck; in ComputeTypeCheckKind()
259 return TypeCheckKind::kArrayObjectCheck; in ComputeTypeCheckKind()
261 return TypeCheckKind::kExactCheck; in ComputeTypeCheckKind()
263 return TypeCheckKind::kArrayCheck; in ComputeTypeCheckKind()
266 return TypeCheckKind::kExactCheck; in ComputeTypeCheckKind()
272 return TypeCheckKind::kBitstringCheck; in ComputeTypeCheckKind()
274 return TypeCheckKind::kAbstractClassCheck; in ComputeTypeCheckKind()
276 return TypeCheckKind::kClassHierarchyCheck; in ComputeTypeCheckKind()
Dcode_generator.h412 DCHECK(instance_of->GetTypeCheckKind() == TypeCheckKind::kExactCheck || in InstanceOfNeedsReadBarrier()
413 instance_of->GetTypeCheckKind() == TypeCheckKind::kAbstractClassCheck || in InstanceOfNeedsReadBarrier()
414 instance_of->GetTypeCheckKind() == TypeCheckKind::kClassHierarchyCheck || in InstanceOfNeedsReadBarrier()
415 instance_of->GetTypeCheckKind() == TypeCheckKind::kArrayObjectCheck) in InstanceOfNeedsReadBarrier()
429 case TypeCheckKind::kExactCheck: in IsTypeCheckSlowPathFatal()
430 case TypeCheckKind::kAbstractClassCheck: in IsTypeCheckSlowPathFatal()
431 case TypeCheckKind::kClassHierarchyCheck: in IsTypeCheckSlowPathFatal()
432 case TypeCheckKind::kArrayObjectCheck: in IsTypeCheckSlowPathFatal()
433 case TypeCheckKind::kInterfaceCheck: { in IsTypeCheckSlowPathFatal()
440 case TypeCheckKind::kArrayCheck: in IsTypeCheckSlowPathFatal()
[all …]
Dsharpening.h43 static TypeCheckKind ComputeTypeCheckKind(ObjPtr<mirror::Class> klass,
Dprepare_for_register_allocation.cc40 if (check_cast->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
47 if (instance_of->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitInstanceOf()
Dcode_generator_arm64.cc3413 static size_t NumberOfInstanceOfTemps(TypeCheckKind type_check_kind) { in NumberOfInstanceOfTemps()
3416 type_check_kind == TypeCheckKind::kAbstractClassCheck || in NumberOfInstanceOfTemps()
3417 type_check_kind == TypeCheckKind::kClassHierarchyCheck || in NumberOfInstanceOfTemps()
3418 type_check_kind == TypeCheckKind::kArrayObjectCheck)) { in NumberOfInstanceOfTemps()
3427 static size_t NumberOfCheckCastTemps(TypeCheckKind type_check_kind) { in NumberOfCheckCastTemps()
3428 if (type_check_kind == TypeCheckKind::kInterfaceCheck) { in NumberOfCheckCastTemps()
3436 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitInstanceOf()
3439 case TypeCheckKind::kExactCheck: in VisitInstanceOf()
3440 case TypeCheckKind::kAbstractClassCheck: in VisitInstanceOf()
3441 case TypeCheckKind::kClassHierarchyCheck: in VisitInstanceOf()
[all …]
Dcode_generator_x86_64.cc351 instruction_->AsCheckCast()->GetTypeCheckKind() == TypeCheckKind::kInterfaceCheck) { in EmitNativeCode()
6196 static size_t NumberOfInstanceOfTemps(TypeCheckKind type_check_kind) { in NumberOfInstanceOfTemps()
6199 (type_check_kind == TypeCheckKind::kAbstractClassCheck || in NumberOfInstanceOfTemps()
6200 type_check_kind == TypeCheckKind::kClassHierarchyCheck || in NumberOfInstanceOfTemps()
6201 type_check_kind == TypeCheckKind::kArrayObjectCheck)) { in NumberOfInstanceOfTemps()
6210 static size_t NumberOfCheckCastTemps(TypeCheckKind type_check_kind) { in NumberOfCheckCastTemps()
6211 if (type_check_kind == TypeCheckKind::kInterfaceCheck) { in NumberOfCheckCastTemps()
6219 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitInstanceOf()
6222 case TypeCheckKind::kExactCheck: in VisitInstanceOf()
6223 case TypeCheckKind::kAbstractClassCheck: in VisitInstanceOf()
[all …]
Dcode_generator_mips64.cc2945 static size_t NumberOfInstanceOfTemps(TypeCheckKind type_check_kind) { in NumberOfInstanceOfTemps()
2949 type_check_kind == TypeCheckKind::kAbstractClassCheck || in NumberOfInstanceOfTemps()
2950 type_check_kind == TypeCheckKind::kClassHierarchyCheck || in NumberOfInstanceOfTemps()
2951 type_check_kind == TypeCheckKind::kArrayObjectCheck)) { in NumberOfInstanceOfTemps()
2958 static size_t NumberOfCheckCastTemps(TypeCheckKind type_check_kind) { in NumberOfCheckCastTemps()
2963 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitCheckCast()
2968 if (type_check_kind == TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
2979 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitCheckCast()
3011 case TypeCheckKind::kExactCheck: in VisitCheckCast()
3012 case TypeCheckKind::kArrayCheck: { in VisitCheckCast()
[all …]
Dcode_generator_x86.cc335 instruction_->AsCheckCast()->GetTypeCheckKind() == TypeCheckKind::kInterfaceCheck) { in EmitNativeCode()
6874 static size_t NumberOfInstanceOfTemps(TypeCheckKind type_check_kind) { in NumberOfInstanceOfTemps()
6877 (type_check_kind == TypeCheckKind::kAbstractClassCheck || in NumberOfInstanceOfTemps()
6878 type_check_kind == TypeCheckKind::kClassHierarchyCheck || in NumberOfInstanceOfTemps()
6879 type_check_kind == TypeCheckKind::kArrayObjectCheck)) { in NumberOfInstanceOfTemps()
6888 static size_t NumberOfCheckCastTemps(TypeCheckKind type_check_kind) { in NumberOfCheckCastTemps()
6889 if (type_check_kind == TypeCheckKind::kInterfaceCheck) { in NumberOfCheckCastTemps()
6897 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitInstanceOf()
6900 case TypeCheckKind::kExactCheck: in VisitInstanceOf()
6901 case TypeCheckKind::kAbstractClassCheck: in VisitInstanceOf()
[all …]
Dcode_generator_arm_vixl.cc7333 static size_t NumberOfInstanceOfTemps(TypeCheckKind type_check_kind) { in NumberOfInstanceOfTemps()
7336 type_check_kind == TypeCheckKind::kAbstractClassCheck || in NumberOfInstanceOfTemps()
7337 type_check_kind == TypeCheckKind::kClassHierarchyCheck || in NumberOfInstanceOfTemps()
7338 type_check_kind == TypeCheckKind::kArrayObjectCheck)) { in NumberOfInstanceOfTemps()
7347 static size_t NumberOfCheckCastTemps(TypeCheckKind type_check_kind) { in NumberOfCheckCastTemps()
7348 if (type_check_kind == TypeCheckKind::kInterfaceCheck) { in NumberOfCheckCastTemps()
7356 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitInstanceOf()
7359 case TypeCheckKind::kExactCheck: in VisitInstanceOf()
7360 case TypeCheckKind::kAbstractClassCheck: in VisitInstanceOf()
7361 case TypeCheckKind::kClassHierarchyCheck: in VisitInstanceOf()
[all …]
Dnodes.cc3143 std::ostream& operator<<(std::ostream& os, TypeCheckKind rhs) { in operator <<()
3145 case TypeCheckKind::kUnresolvedCheck: in operator <<()
3147 case TypeCheckKind::kExactCheck: in operator <<()
3149 case TypeCheckKind::kClassHierarchyCheck: in operator <<()
3151 case TypeCheckKind::kAbstractClassCheck: in operator <<()
3153 case TypeCheckKind::kInterfaceCheck: in operator <<()
3155 case TypeCheckKind::kArrayObjectCheck: in operator <<()
3157 case TypeCheckKind::kArrayCheck: in operator <<()
3159 case TypeCheckKind::kBitstringCheck: in operator <<()
Dcode_generator_mips.cc3390 static size_t NumberOfInstanceOfTemps(TypeCheckKind type_check_kind) { in NumberOfInstanceOfTemps()
3394 type_check_kind == TypeCheckKind::kAbstractClassCheck || in NumberOfInstanceOfTemps()
3395 type_check_kind == TypeCheckKind::kClassHierarchyCheck || in NumberOfInstanceOfTemps()
3396 type_check_kind == TypeCheckKind::kArrayObjectCheck)) { in NumberOfInstanceOfTemps()
3403 static size_t NumberOfCheckCastTemps(TypeCheckKind type_check_kind) { in NumberOfCheckCastTemps()
3408 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitCheckCast()
3413 if (type_check_kind == TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
3424 TypeCheckKind type_check_kind = instruction->GetTypeCheckKind(); in VisitCheckCast()
3456 case TypeCheckKind::kExactCheck: in VisitCheckCast()
3457 case TypeCheckKind::kArrayCheck: { in VisitCheckCast()
[all …]
Dnodes.h7073 enum class TypeCheckKind { enum
7085 std::ostream& operator<<(std::ostream& os, TypeCheckKind rhs);
7095 TypeCheckKind check_kind, in HTypeCheckInstruction()
7108 /* number_of_inputs= */ check_kind == TypeCheckKind::kBitstringCheck ? 4u : 2u, in HTypeCheckInstruction()
7116 DCHECK_EQ(check_kind == TypeCheckKind::kBitstringCheck, bitstring_path_to_root != nullptr); in HTypeCheckInstruction()
7117 DCHECK_EQ(check_kind == TypeCheckKind::kBitstringCheck, bitstring_mask != nullptr); in HTypeCheckInstruction()
7118 if (check_kind == TypeCheckKind::kBitstringCheck) { in HTypeCheckInstruction()
7128 DCHECK_NE(GetTypeCheckKind(), TypeCheckKind::kBitstringCheck); in GetTargetClass()
7135 DCHECK_EQ(GetTypeCheckKind(), TypeCheckKind::kBitstringCheck); in GetBitstringPathToRoot()
7142 DCHECK_EQ(GetTypeCheckKind(), TypeCheckKind::kBitstringCheck); in GetBitstringMask()
[all …]
Dinstruction_simplifier.cc622 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck && in VisitCheckCast()
645 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
663 if (instruction->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck && in VisitInstanceOf()
700 if (outcome && instruction->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck) { in VisitInstanceOf()
Dgraph_visualizer.cc408 if (check->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in HandleTypeCheckInstruction()
Dgraph_checker.cc610 if (check->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in HandleTypeCheckInstruction()
Dinstruction_builder.cc2045 TypeCheckKind check_kind = HSharpening::ComputeTypeCheckKind( in BuildTypeCheck()
2051 if (check_kind == TypeCheckKind::kBitstringCheck) { in BuildTypeCheck()