Lines Matching refs:check
52 void PrepareForRegisterAllocation::VisitNullCheck(HNullCheck* check) { in VisitNullCheck() argument
53 check->ReplaceWith(check->InputAt(0)); in VisitNullCheck()
55 HInstruction* next = check->GetNext(); in VisitNullCheck()
63 if (next->CanDoImplicitNullCheckOn(check->InputAt(0))) { in VisitNullCheck()
64 check->MarkEmittedAtUseSite(); in VisitNullCheck()
69 void PrepareForRegisterAllocation::VisitDivZeroCheck(HDivZeroCheck* check) { in VisitDivZeroCheck() argument
70 check->ReplaceWith(check->InputAt(0)); in VisitDivZeroCheck()
81 void PrepareForRegisterAllocation::VisitBoundsCheck(HBoundsCheck* check) { in VisitBoundsCheck() argument
82 check->ReplaceWith(check->InputAt(0)); in VisitBoundsCheck()
83 if (check->IsStringCharAt()) { in VisitBoundsCheck()
93 check); in VisitBoundsCheck()
94 check->InsertRawEnvironment(environment); in VisitBoundsCheck()
117 void PrepareForRegisterAllocation::VisitClinitCheck(HClinitCheck* check) { in VisitClinitCheck() argument
120 for (const HUseListNode<HInstruction*>& use : check->GetUses()) { in VisitClinitCheck()
123 CanMoveClinitCheck(check, user)) { in VisitClinitCheck()
142 const HUseList<HInstruction*>& uses = check->GetUses(); in VisitClinitCheck()
155 HLoadClass* load_class = check->GetLoadClass(); in VisitClinitCheck()
156 bool can_merge_with_load_class = CanMoveClinitCheck(load_class, check); in VisitClinitCheck()
158 check->ReplaceWith(load_class); in VisitClinitCheck()
162 check->GetBlock()->RemoveInstruction(check); in VisitClinitCheck()
174 check->GetBlock()->RemoveInstruction(check); in VisitClinitCheck()