Lines Matching refs:insert_pos
225 HInstruction* insert_pos = nullptr; in FindIdealPosition() local
228 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in FindIdealPosition()
229 insert_pos = use.GetUser(); in FindIdealPosition()
235 (insert_pos == nullptr || user->StrictlyDominates(insert_pos))) { in FindIdealPosition()
236 insert_pos = user; in FindIdealPosition()
239 if (insert_pos == nullptr) { in FindIdealPosition()
241 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
242 DCHECK(insert_pos->IsControlFlow()); in FindIdealPosition()
244 if (insert_pos->IsIf()) { in FindIdealPosition()
245 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in FindIdealPosition()
246 if (if_input == insert_pos->GetPrevious()) { in FindIdealPosition()
247 insert_pos = if_input; in FindIdealPosition()
251 DCHECK(!insert_pos->IsPhi()); in FindIdealPosition()
252 return insert_pos; in FindIdealPosition()