Home
last modified time | relevance | path

Searched refs:check_cast (Results 1 – 9 of 9) 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.cc504 HCheckCast* check_cast = new (GetAllocator()) HCheckCast(new_inst, in TEST_P() local
513 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()
Dprepare_for_register_allocation.h46 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.h461 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument
462 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()
469 kEmitCompilerReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()
484 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument
485 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
Dinstruction_simplifier.cc643 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
644 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 …]
Dreference_type_propagation.cc747 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
748 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()
Dgraph_visualizer.cc452 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument
453 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()
Dload_store_analysis_test.cc1220 HInstruction* check_cast = new (GetAllocator()) HCheckCast( in TEST_F() local
1224 left->AddInstruction(check_cast); in TEST_F()