Lines Matching refs:check_cast
620 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
621 HInstruction* object = check_cast->InputAt(0); in VisitCheckCast()
622 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck && in VisitCheckCast()
623 check_cast->GetTargetClass()->NeedsAccessCheck()) { in VisitCheckCast()
628 if (CanEnsureNotNullAt(object, check_cast)) { in VisitCheckCast()
629 check_cast->ClearMustDoNullCheck(); in VisitCheckCast()
633 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()
641 if (TypeCheckHasKnownOutcome(check_cast->GetTargetClassRTI(), object, &outcome)) { in VisitCheckCast()
643 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()
645 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
646 HLoadClass* load_class = check_cast->GetTargetClass(); in VisitCheckCast()