Searched refs:insert_pos (Results 1 – 5 of 5) sorted by relevance
224 HInstruction* insert_pos = nullptr; in FindIdealPosition() local227 (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()[all …]
43 auto insert_pos = worklist->rbegin(); // insert_pos.base() will be the actual position. in AddToListForLinearization() local44 for (auto end = worklist->rend(); insert_pos != end; ++insert_pos) { in AddToListForLinearization()45 HBasicBlock* current = *insert_pos; in AddToListForLinearization()54 worklist->insert(insert_pos.base(), block); in AddToListForLinearization()
338 UsePositionList::iterator insert_pos; variable340 insert_pos = next_pos;344 uses_.insert_after(insert_pos, *new_use);1057 UsePositionList::iterator insert_pos = uses_.before_begin(); in AddBackEdgeUses() local1079 DCHECK(insert_pos != uses_.before_begin() in AddBackEdgeUses()1080 ? back_edge_use_position > insert_pos->GetPosition() in AddBackEdgeUses()1082 << std::distance(uses_.before_begin(), insert_pos); in AddBackEdgeUses()1085 insert_pos = uses_.insert_after(insert_pos, *new_use); in AddBackEdgeUses()
1774 HInstruction* insert_pos = nullptr; in MoveBeforeFirstUserAndOutOfLoops() local1777 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in MoveBeforeFirstUserAndOutOfLoops()1778 insert_pos = use.GetUser(); in MoveBeforeFirstUserAndOutOfLoops()1781 if (insert_pos == nullptr) { in MoveBeforeFirstUserAndOutOfLoops()1783 insert_pos = target_block->GetLastInstruction(); in MoveBeforeFirstUserAndOutOfLoops()1784 DCHECK(insert_pos->IsControlFlow()); in MoveBeforeFirstUserAndOutOfLoops()1786 if (insert_pos->IsIf()) { in MoveBeforeFirstUserAndOutOfLoops()1787 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in MoveBeforeFirstUserAndOutOfLoops()1788 if (if_input == insert_pos->GetPrevious()) { in MoveBeforeFirstUserAndOutOfLoops()1789 insert_pos = if_input; in MoveBeforeFirstUserAndOutOfLoops()[all …]
1069 auto insert_pos = array->begin() + insert_at; in AddSorted() local1071 array->insert(insert_pos, { interval->GetHighInterval(), interval }); in AddSorted()1073 array->insert(insert_pos, { interval, interval->GetLowInterval() }); in AddSorted()1075 array->insert(insert_pos, interval); in AddSorted()