Lines Matching refs:move
509 void RegisterAllocationResolver::AddMove(HParallelMove* move, in AddMove() argument
518 move->AddMove(source.ToLow(), destination.ToLow(), DataType::Type::kInt32, instruction); in AddMove()
519 move->AddMove(source.ToHigh(), destination.ToHigh(), DataType::Type::kInt32, nullptr); in AddMove()
521 move->AddMove(source, destination, type, instruction); in AddMove()
534 HParallelMove* move = nullptr; in AddInputMoveFor() local
538 move = new (allocator_) HParallelMove(allocator_); in AddInputMoveFor()
539 move->SetLifetimePosition(user->GetLifetimePosition()); in AddInputMoveFor()
540 user->GetBlock()->InsertInstructionBefore(move, user); in AddInputMoveFor()
542 move = previous->AsParallelMove(); in AddInputMoveFor()
544 DCHECK_EQ(move->GetLifetimePosition(), user->GetLifetimePosition()); in AddInputMoveFor()
545 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor()
564 HParallelMove* move; in InsertParallelMoveAt() local
586 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
587 move->SetLifetimePosition(position); in InsertParallelMoveAt()
588 at->GetBlock()->InsertInstructionBefore(move, at); in InsertParallelMoveAt()
591 move = at->AsParallelMove(); in InsertParallelMoveAt()
597 move = at->GetNext()->AsParallelMove(); in InsertParallelMoveAt()
600 if (move == nullptr || move->GetLifetimePosition() > position) { in InsertParallelMoveAt()
601 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
602 move->SetLifetimePosition(position); in InsertParallelMoveAt()
603 at->GetBlock()->InsertInstructionBefore(move, at->GetNext()); in InsertParallelMoveAt()
617 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
618 move->SetLifetimePosition(position); in InsertParallelMoveAt()
619 at->GetBlock()->InsertInstructionBefore(move, at); in InsertParallelMoveAt()
621 move = previous->AsParallelMove(); in InsertParallelMoveAt()
624 DCHECK_EQ(move->GetLifetimePosition(), position); in InsertParallelMoveAt()
625 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt()
643 HParallelMove* move; in InsertParallelMoveAtExitOf() local
649 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAtExitOf()
650 move->SetLifetimePosition(position); in InsertParallelMoveAtExitOf()
651 block->InsertInstructionBefore(move, last); in InsertParallelMoveAtExitOf()
653 move = previous->AsParallelMove(); in InsertParallelMoveAtExitOf()
655 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf()
666 HParallelMove* move = first->AsParallelMove(); in InsertParallelMoveAtEntryOf() local
670 if (move == nullptr || move->GetLifetimePosition() != position) { in InsertParallelMoveAtEntryOf()
671 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAtEntryOf()
672 move->SetLifetimePosition(position); in InsertParallelMoveAtEntryOf()
673 block->InsertInstructionBefore(move, first); in InsertParallelMoveAtEntryOf()
675 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtEntryOf()
690 HParallelMove* move = instruction->GetNext()->AsParallelMove(); in InsertMoveAfter() local
694 if (move == nullptr || move->GetLifetimePosition() != position) { in InsertMoveAfter()
695 move = new (allocator_) HParallelMove(allocator_); in InsertMoveAfter()
696 move->SetLifetimePosition(position); in InsertMoveAfter()
697 instruction->GetBlock()->InsertInstructionBefore(move, instruction->GetNext()); in InsertMoveAfter()
699 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertMoveAfter()