Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dcode_generator.h425 static bool IsTypeCheckSlowPathFatal(HCheckCast* check_cast) { in IsTypeCheckSlowPathFatal() argument
426 switch (check_cast->GetTypeCheckKind()) { in IsTypeCheckSlowPathFatal()
433 kEmitCompilerReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal()
446 static LocationSummary::CallKind GetCheckCastCallKind(HCheckCast* check_cast) { in GetCheckCastCallKind() argument
447 return (IsTypeCheckSlowPathFatal(check_cast) && !check_cast->CanThrowIntoCatchBlock()) in GetCheckCastCallKind()
Dreference_type_propagation.cc721 void ReferenceTypePropagation::RTPVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
722 HLoadClass* load_class = check_cast->InputAt(1)->AsLoadClass(); in VisitCheckCast()
724 HBoundType* bound_type = check_cast->GetNext()->AsBoundType(); in VisitCheckCast()
730 DCHECK_EQ(bound_type->InputAt(0), check_cast->InputAt(0)); in VisitCheckCast()
Dinstruction_simplifier.cc612 void InstructionSimplifierVisitor::VisitCheckCast(HCheckCast* check_cast) { in VisitCheckCast() argument
613 HInstruction* object = check_cast->InputAt(0); in VisitCheckCast()
614 HLoadClass* load_class = check_cast->InputAt(1)->AsLoadClass(); in VisitCheckCast()
620 if (CanEnsureNotNullAt(object, check_cast)) { in VisitCheckCast()
621 check_cast->ClearMustDoNullCheck(); in VisitCheckCast()
625 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()
635 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()
Dgraph_visualizer.cc393 void VisitCheckCast(HCheckCast* check_cast) OVERRIDE { in VisitCheckCast() argument
394 StartAttributeStream("check_kind") << check_cast->GetTypeCheckKind(); in VisitCheckCast()
396 << check_cast->MustDoNullCheck() << std::noboolalpha; in VisitCheckCast()