Searched refs:check_cast (Results 1 – 9 of 9) 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()
504 HCheckCast* check_cast = new (GetAllocator()) HCheckCast(new_inst, in TEST_P() local513 check_cast->SetValidTargetClassRTI(); in TEST_P()521 entry->AddInstruction(check_cast); in TEST_P()548 EXPECT_INS_REMOVED(check_cast); in TEST_P()550 EXPECT_INS_RETAINED(check_cast); in TEST_P()
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()
461 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument462 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()469 kEmitCompilerReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()484 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument485 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
643 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument644 HInstruction* object = check_cast->InputAt(0); in VisitCheckCast()645 if (CanEnsureNotNullAt(object, check_cast)) { in VisitCheckCast()646 check_cast->ClearMustDoNullCheck(); in VisitCheckCast()650 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()656 DCHECK(check_cast->GetTargetClass()->StrictlyDominates(check_cast)) in VisitCheckCast()658 << check_cast->DumpWithArgs(); in VisitCheckCast()663 if (TypeCheckHasKnownOutcome(check_cast->GetTargetClassRTI(), object, &outcome)) { in VisitCheckCast()665 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()667 if (check_cast->GetTypeCheckKind() != TypeCheckKind::kBitstringCheck) { in VisitCheckCast()[all …]
747 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument748 HBoundType* bound_type = check_cast->GetNext()->AsBoundType(); in VisitCheckCast()754 DCHECK_EQ(bound_type->InputAt(0), check_cast->InputAt(0)); in VisitCheckCast()757 Handle<mirror::Class> klass = check_cast->GetClass(); in VisitCheckCast()760 check_cast->SetValidTargetClassRTI(); in VisitCheckCast()
452 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument453 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()
1220 HInstruction* check_cast = new (GetAllocator()) HCheckCast( in TEST_F() local1224 left->AddInstruction(check_cast); in TEST_F()