Lines Matching refs:move

508 void RegisterAllocationResolver::AddMove(HParallelMove* move,  in AddMove()  argument
517 move->AddMove(source.ToLow(), destination.ToLow(), DataType::Type::kInt32, instruction); in AddMove()
518 move->AddMove(source.ToHigh(), destination.ToHigh(), DataType::Type::kInt32, nullptr); in AddMove()
520 move->AddMove(source, destination, type, instruction); in AddMove()
533 HParallelMove* move = nullptr; in AddInputMoveFor() local
537 move = new (allocator_) HParallelMove(allocator_); in AddInputMoveFor()
538 move->SetLifetimePosition(user->GetLifetimePosition()); in AddInputMoveFor()
539 user->GetBlock()->InsertInstructionBefore(move, user); in AddInputMoveFor()
541 move = previous->AsParallelMove(); in AddInputMoveFor()
543 DCHECK_EQ(move->GetLifetimePosition(), user->GetLifetimePosition()); in AddInputMoveFor()
544 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor()
563 HParallelMove* move; in InsertParallelMoveAt() local
585 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
586 move->SetLifetimePosition(position); in InsertParallelMoveAt()
587 at->GetBlock()->InsertInstructionBefore(move, at); in InsertParallelMoveAt()
590 move = at->AsParallelMove(); in InsertParallelMoveAt()
596 move = at->GetNext()->AsParallelMove(); in InsertParallelMoveAt()
599 if (move == nullptr || move->GetLifetimePosition() > position) { in InsertParallelMoveAt()
600 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
601 move->SetLifetimePosition(position); in InsertParallelMoveAt()
602 at->GetBlock()->InsertInstructionBefore(move, at->GetNext()); in InsertParallelMoveAt()
616 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
617 move->SetLifetimePosition(position); in InsertParallelMoveAt()
618 at->GetBlock()->InsertInstructionBefore(move, at); in InsertParallelMoveAt()
620 move = previous->AsParallelMove(); in InsertParallelMoveAt()
623 DCHECK_EQ(move->GetLifetimePosition(), position); in InsertParallelMoveAt()
624 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt()
642 HParallelMove* move; in InsertParallelMoveAtExitOf() local
648 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAtExitOf()
649 move->SetLifetimePosition(position); in InsertParallelMoveAtExitOf()
650 block->InsertInstructionBefore(move, last); in InsertParallelMoveAtExitOf()
652 move = previous->AsParallelMove(); in InsertParallelMoveAtExitOf()
654 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf()
665 HParallelMove* move = first->AsParallelMove(); in InsertParallelMoveAtEntryOf() local
669 if (move == nullptr || move->GetLifetimePosition() != position) { in InsertParallelMoveAtEntryOf()
670 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAtEntryOf()
671 move->SetLifetimePosition(position); in InsertParallelMoveAtEntryOf()
672 block->InsertInstructionBefore(move, first); in InsertParallelMoveAtEntryOf()
674 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtEntryOf()
689 HParallelMove* move = instruction->GetNext()->AsParallelMove(); in InsertMoveAfter() local
693 if (move == nullptr || move->GetLifetimePosition() != position) { in InsertMoveAfter()
694 move = new (allocator_) HParallelMove(allocator_); in InsertMoveAfter()
695 move->SetLifetimePosition(position); in InsertMoveAfter()
696 instruction->GetBlock()->InsertInstructionBefore(move, instruction->GetNext()); in InsertMoveAfter()
698 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertMoveAfter()