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()
427 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument428 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()435 kEmitCompilerReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()450 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument451 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
620 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument621 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()[all …]
755 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument756 HBoundType* bound_type = check_cast->GetNext()->AsBoundType(); in VisitCheckCast()762 DCHECK_EQ(bound_type->InputAt(0), check_cast->InputAt(0)); in VisitCheckCast()765 Handle<mirror::Class> klass = check_cast->GetClass(); in VisitCheckCast()768 check_cast->SetValidTargetClassRTI(); in VisitCheckCast()
415 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument416 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()