Lines Matching refs:insert_pos
226 HInstruction* insert_pos = nullptr; in FindIdealPosition() local
229 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in FindIdealPosition()
230 insert_pos = use.GetUser(); in FindIdealPosition()
236 (insert_pos == nullptr || user->StrictlyDominates(insert_pos))) { in FindIdealPosition()
237 insert_pos = user; in FindIdealPosition()
240 if (insert_pos == nullptr) { in FindIdealPosition()
242 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
243 DCHECK(insert_pos->IsControlFlow()); in FindIdealPosition()
245 if (insert_pos->IsIf()) { in FindIdealPosition()
246 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in FindIdealPosition()
247 if (if_input == insert_pos->GetPrevious()) { in FindIdealPosition()
248 insert_pos = if_input; in FindIdealPosition()
252 DCHECK(!insert_pos->IsPhi()); in FindIdealPosition()
253 return insert_pos; in FindIdealPosition()