Searched refs:check_cast (Results 1 – 7 of 7) sorted by relevance
125 const Instruction& check_cast = accessor.InstructionAt(dex_pc); in artThrowClassCastException() local126 DCHECK_EQ(check_cast.Opcode(), Instruction::CHECK_CAST); in artThrowClassCastException()127 dex::TypeIndex type_index(check_cast.VRegB_21c()); in artThrowClassCastException()
46 void VisitCheckCast(HCheckCast* check_cast) override;
38 void PrepareForRegisterAllocation::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument40 if (check_cast->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
460 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument461 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()468 kEmitCompilerReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()483 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument484 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
616 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument617 HInstruction* object = check_cast->InputAt(0); in VisitCheckCast()618 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck && in VisitCheckCast()619 check_cast->GetTargetClass()->NeedsAccessCheck()) { in VisitCheckCast()624 if (CanEnsureNotNullAt(object, check_cast)) { in VisitCheckCast()625 check_cast->ClearMustDoNullCheck(); in VisitCheckCast()629 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()637 if (TypeCheckHasKnownOutcome(check_cast->GetTargetClassRTI(), object, &outcome)) { in VisitCheckCast()639 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()641 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck) { in VisitCheckCast()[all …]
715 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument716 HBoundType* bound_type = check_cast->GetNext()->AsBoundType(); in VisitCheckCast()722 DCHECK_EQ(bound_type->InputAt(0), check_cast->InputAt(0)); in VisitCheckCast()725 Handle<mirror::Class> klass = check_cast->GetClass(); in VisitCheckCast()728 check_cast->SetValidTargetClassRTI(); in VisitCheckCast()
421 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument422 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()