Lines Matching refs:insert_pos
224 HInstruction* insert_pos = nullptr; in FindIdealPosition() local
227 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in FindIdealPosition()
228 insert_pos = use.GetUser(); in FindIdealPosition()
234 (insert_pos == nullptr || user->StrictlyDominates(insert_pos))) { in FindIdealPosition()
235 insert_pos = user; in FindIdealPosition()
238 if (insert_pos == nullptr) { in FindIdealPosition()
240 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
241 DCHECK(insert_pos->IsControlFlow()); in FindIdealPosition()
243 if (insert_pos->IsIf()) { in FindIdealPosition()
244 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in FindIdealPosition()
245 if (if_input == insert_pos->GetPrevious()) { in FindIdealPosition()
246 insert_pos = if_input; in FindIdealPosition()
250 DCHECK(!insert_pos->IsPhi()); in FindIdealPosition()
251 return insert_pos; in FindIdealPosition()