• Home
  • Raw
  • Download

Lines Matching refs:move

30     MoveOperands* move = parallel_move->MoveOperandsAt(i);  in BuildInitialMoveList()  local
31 if (!move->IsRedundant()) { in BuildInitialMoveList()
32 moves_.push_back(move); in BuildInitialMoveList()
44 const MoveOperands& move = *moves_[i]; in EmitNativeCode() local
46 if (move.IsEliminated() || move.GetSource().IsConstant()) { in EmitNativeCode()
50 if ((move.GetSource().IsStackSlot() || move.GetSource().IsDoubleStackSlot()) && in EmitNativeCode()
51 (move.GetDestination().IsStackSlot() || move.GetDestination().IsDoubleStackSlot())) { in EmitNativeCode()
57 const MoveOperands& move = *moves_[i]; in EmitNativeCode() local
61 if (!move.IsEliminated() && !move.GetSource().IsConstant()) { in EmitNativeCode()
68 MoveOperands* move = moves_[i]; in EmitNativeCode() local
69 if (!move->IsEliminated()) { in EmitNativeCode()
70 DCHECK(move->GetSource().IsConstant()); in EmitNativeCode()
73 move->Eliminate(); in EmitNativeCode()
107 static void UpdateSourceOf(MoveOperands* move, Location updated_location, Location new_source) { in UpdateSourceOf() argument
108 Location source = move->GetSource(); in UpdateSourceOf()
110 move->SetSource(LowOf(new_source)); in UpdateSourceOf()
112 move->SetSource(HighOf(new_source)); in UpdateSourceOf()
115 move->SetSource(new_source); in UpdateSourceOf()
127 MoveOperands* move = moves_[index]; in PerformMove() local
128 DCHECK(!move->IsPending()); in PerformMove()
129 if (move->IsRedundant()) { in PerformMove()
132 move->Eliminate(); in PerformMove()
139 DCHECK(!move->GetSource().IsInvalid()); in PerformMove()
140 Location destination = move->MarkPending(); in PerformMove()
162 if (required_swap == move) { in PerformMove()
183 move->ClearPending(destination); in PerformMove()
187 if (move->GetSource().Equals(destination)) { in PerformMove()
188 move->Eliminate(); in PerformMove()
198 DCHECK_EQ(required_swap, move); in PerformMove()
203 DCHECK(other_move->IsPending()) << "move=" << *move << " other_move=" << *other_move; in PerformMove()
204 if (!move->Is64BitMove() && other_move->Is64BitMove()) { in PerformMove()
220 Location source = move->GetSource(); in PerformMove()
221 Location swap_destination = move->GetDestination(); in PerformMove()
222 move->Eliminate(); in PerformMove()
237 move->Eliminate(); in PerformMove()
244 for (MoveOperands* move : moves_) { in IsScratchLocation()
245 if (move->Blocks(loc)) { in IsScratchLocation()
250 for (MoveOperands* move : moves_) { in IsScratchLocation()
251 if (move->GetDestination().Equals(loc)) { in IsScratchLocation()
314 const MoveOperands& move = *moves_[i]; in EmitNativeCode() local
318 if (!move.IsEliminated() && !move.GetSource().IsConstant()) { in EmitNativeCode()
327 MoveOperands* move = moves_[i]; in EmitNativeCode() local
328 Location destination = move->GetDestination(); in EmitNativeCode()
329 if (!move->IsEliminated() && !destination.IsStackSlot() && !destination.IsDoubleStackSlot()) { in EmitNativeCode()
330 Location source = move->GetSource(); in EmitNativeCode()
332 move->Eliminate(); in EmitNativeCode()
347 MoveOperands* move = moves_[i]; in EmitNativeCode() local
348 if (!move->IsEliminated()) { in EmitNativeCode()
350 move->Eliminate(); in EmitNativeCode()
370 for (MoveOperands* move : moves_) { in GetScratchLocation()
371 Location loc = move->GetDestination(); in GetScratchLocation()
407 MoveOperands* move = moves_[index]; in PerformMove() local
408 DCHECK(!move->IsPending()); in PerformMove()
409 DCHECK(!move->IsEliminated()); in PerformMove()
410 if (move->IsRedundant()) { in PerformMove()
420 move->Eliminate(); in PerformMove()
427 DCHECK(!move->GetSource().IsInvalid()); in PerformMove()
428 Location destination = move->MarkPending(); in PerformMove()
443 move->ClearPending(destination); in PerformMove()
446 DCHECK(!move->IsRedundant()); in PerformMove()
448 Location source = move->GetSource(); in PerformMove()
460 DataType::Type type = move->Is64BitMove() ? DataType::Type::kInt64 : DataType::Type::kInt32; in PerformMove()
462 move->SetDestination(scratch); in PerformMove()
464 move->Eliminate(); in PerformMove()
471 move->Eliminate(); in PerformMove()
485 move->SetSource(pending_source); in PerformMove()
486 move->SetDestination(pending_destination); in PerformMove()
488 move->Eliminate(); in PerformMove()
516 for (MoveOperands* move : moves_) { in UpdateMoveSource()
517 if (move->GetSource().Equals(from)) { in UpdateMoveSource()
518 move->SetSource(to); in UpdateMoveSource()
529 void ParallelMoveResolverNoSwap::DeletePendingMove(MoveOperands* move) { in DeletePendingMove() argument
530 RemoveElement(pending_moves_, move); in DeletePendingMove()
534 for (MoveOperands* move : pending_moves_) { in GetUnblockedPendingMove()
535 Location destination = move->GetDestination(); in GetUnblockedPendingMove()
538 return move; in GetUnblockedPendingMove()
545 for (MoveOperands* move : pending_moves_) { in IsBlockedByMoves()
546 if (move->Blocks(loc)) { in IsBlockedByMoves()
550 for (MoveOperands* move : moves_) { in IsBlockedByMoves()
551 if (move->Blocks(loc)) { in IsBlockedByMoves()