Searched refs:check_cast (Results 1 – 10 of 10) 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()
496 HCheckCast* check_cast = new (GetAllocator()) HCheckCast(new_inst, in TEST_P() local505 check_cast->SetValidTargetClassRTI(); in TEST_P()513 entry->AddInstruction(check_cast); in TEST_P()531 EXPECT_INS_REMOVED(check_cast); in TEST_P()533 EXPECT_INS_RETAINED(check_cast); in TEST_P()
47 void VisitCheckCast(HCheckCast* check_cast) override;
38 void PrepareForRegisterAllocation::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument40 if (check_cast->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
489 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument490 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()497 gUseReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()512 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument513 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
706 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument707 HBoundType* bound_type = check_cast->GetNext()->AsBoundType(); in VisitCheckCast()713 DCHECK_EQ(bound_type->InputAt(0), check_cast->InputAt(0)); in VisitCheckCast()716 Handle<mirror::Class> klass = check_cast->GetClass(); in VisitCheckCast()719 check_cast->SetValidTargetClassRTI(); in VisitCheckCast()
647 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument648 HInstruction* object = check_cast->InputAt(0); in VisitCheckCast()649 if (CanEnsureNotNullAt(object, check_cast)) { in VisitCheckCast()650 check_cast->ClearMustDoNullCheck(); in VisitCheckCast()654 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()660 DCHECK(check_cast->GetTargetClass()->StrictlyDominates(check_cast)) in VisitCheckCast()662 << check_cast->DumpWithArgs(); in VisitCheckCast()667 if (TypeCheckHasKnownOutcome(check_cast->GetTargetClassRTI(), object, &outcome)) { in VisitCheckCast()669 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()671 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck) { in VisitCheckCast()[all …]
452 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument453 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()
1228 HInstruction* check_cast = new (GetAllocator()) HCheckCast( in TEST_F() local1232 left->AddInstruction(check_cast); in TEST_F()
1203 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument1204 HandleThrowingInstruction(check_cast); in VisitCheckCast()