Home
last modified time | relevance | path

Searched refs:check_cast (Results 1 – 7 of 7) 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/
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.h427 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument
428 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()
435 kEmitCompilerReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()
450 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument
451 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
Dinstruction_simplifier.cc620 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
621 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 …]
Dreference_type_propagation.cc755 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
756 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()
Dgraph_visualizer.cc415 void VisitCheckCast(HCheckCast* check_cast) override { in VisitCheckCast() argument
416 HandleTypeCheckInstruction(check_cast); in VisitCheckCast()