Home
last modified time | relevance | path

Searched refs:check_cast (Results 1 – 10 of 10) sorted by relevance

/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc125 const Instruction& check_cast = accessor.InstructionAt(dex_pc); in artThrowClassCastException() local
126 DCHECK_EQ(check_cast.Opcode(), Instruction::CHECK_CAST); in artThrowClassCastException()
127 dex::TypeIndex type_index(check_cast.VRegB_21c()); in artThrowClassCastException()
/art/compiler/optimizing/
Dinstruction_simplifier_test.cc496 HCheckCast* check_cast = new (GetAllocator()) HCheckCast(new_inst, in TEST_P() local
505 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()
Dprepare_for_register_allocation.h47 void VisitCheckCast(HCheckCast* check_cast) override;
Dprepare_for_register_allocation.cc38 void PrepareForRegisterAllocation::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
40 if (check_cast->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitCheckCast()
Dcode_generator.h489 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument
490 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()
497 gUseReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()
512 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument
513 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
Dreference_type_propagation.cc706 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
707 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()
Dinstruction_simplifier.cc647 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
648 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 …]
Dgraph_visualizer.cc452 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument
453 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()
Dload_store_analysis_test.cc1228 HInstruction* check_cast = new (GetAllocator()) HCheckCast( in TEST_F() local
1232 left->AddInstruction(check_cast); in TEST_F()
Dload_store_elimination.cc1203 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument
1204 HandleThrowingInstruction(check_cast); in VisitCheckCast()