Searched refs:insert_pos (Results 1 – 5 of 5) sorted by relevance
208 HInstruction* insert_pos = nullptr; in FindIdealPosition() local211 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in FindIdealPosition()212 insert_pos = use.GetUser(); in FindIdealPosition()218 (insert_pos == nullptr || user->StrictlyDominates(insert_pos))) { in FindIdealPosition()219 insert_pos = user; in FindIdealPosition()222 if (insert_pos == nullptr) { in FindIdealPosition()224 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()225 DCHECK(insert_pos->IsControlFlow()); in FindIdealPosition()227 if (insert_pos->IsIf()) { in FindIdealPosition()228 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in FindIdealPosition()[all …]
39 auto insert_pos = worklist->rbegin(); // insert_pos.base() will be the actual position. in AddToListForLinearization() local40 for (auto end = worklist->rend(); insert_pos != end; ++insert_pos) { in AddToListForLinearization()41 HBasicBlock* current = *insert_pos; in AddToListForLinearization()50 worklist->insert(insert_pos.base(), block); in AddToListForLinearization()
334 UsePositionList::iterator insert_pos; variable336 insert_pos = next_pos;340 uses_.insert_after(insert_pos, *new_use);1053 UsePositionList::iterator insert_pos = uses_.before_begin(); in AddBackEdgeUses() local1075 DCHECK(insert_pos != uses_.before_begin() in AddBackEdgeUses()1076 ? back_edge_use_position > insert_pos->GetPosition() in AddBackEdgeUses()1078 << std::distance(uses_.before_begin(), insert_pos); in AddBackEdgeUses()1081 insert_pos = uses_.insert_after(insert_pos, *new_use); in AddBackEdgeUses()
1536 HInstruction* insert_pos = nullptr; in MoveBeforeFirstUserAndOutOfLoops() local1539 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in MoveBeforeFirstUserAndOutOfLoops()1540 insert_pos = use.GetUser(); in MoveBeforeFirstUserAndOutOfLoops()1543 if (insert_pos == nullptr) { in MoveBeforeFirstUserAndOutOfLoops()1545 insert_pos = target_block->GetLastInstruction(); in MoveBeforeFirstUserAndOutOfLoops()1546 DCHECK(insert_pos->IsControlFlow()); in MoveBeforeFirstUserAndOutOfLoops()1548 if (insert_pos->IsIf()) { in MoveBeforeFirstUserAndOutOfLoops()1549 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in MoveBeforeFirstUserAndOutOfLoops()1550 if (if_input == insert_pos->GetPrevious()) { in MoveBeforeFirstUserAndOutOfLoops()1551 insert_pos = if_input; in MoveBeforeFirstUserAndOutOfLoops()[all …]
1060 auto insert_pos = array->begin() + insert_at; in AddSorted() local1062 array->insert(insert_pos, { interval->GetHighInterval(), interval }); in AddSorted()1064 array->insert(insert_pos, { interval, interval->GetLowInterval() }); in AddSorted()1066 array->insert(insert_pos, interval); in AddSorted()