Lines Matching refs:loc
243 bool ParallelMoveResolverWithSwap::IsScratchLocation(Location loc) { in IsScratchLocation() argument
245 if (move->Blocks(loc)) { in IsScratchLocation()
251 if (move->GetDestination().Equals(loc)) { in IsScratchLocation()
365 for (Location loc : scratches_) { in GetScratchLocation() local
366 if (loc.GetKind() == kind && !IsBlockedByMoves(loc)) { in GetScratchLocation()
367 return loc; in GetScratchLocation()
371 Location loc = move->GetDestination(); in GetScratchLocation() local
372 if (loc.GetKind() == kind && !IsBlockedByMoves(loc)) { in GetScratchLocation()
373 return loc; in GetScratchLocation()
379 void ParallelMoveResolverNoSwap::AddScratchLocation(Location loc) { in AddScratchLocation() argument
382 CHECK(!loc.Equals(scratch)); in AddScratchLocation()
385 scratches_.push_back(loc); in AddScratchLocation()
388 void ParallelMoveResolverNoSwap::RemoveScratchLocation(Location loc) { in RemoveScratchLocation() argument
389 DCHECK(!IsBlockedByMoves(loc)); in RemoveScratchLocation()
391 if (loc.Equals(*it)) { in RemoveScratchLocation()
533 MoveOperands* ParallelMoveResolverNoSwap::GetUnblockedPendingMove(Location loc) { in GetUnblockedPendingMove() argument
537 if (destination.OverlapsWith(loc) && !IsBlockedByMoves(destination)) { in GetUnblockedPendingMove()
544 bool ParallelMoveResolverNoSwap::IsBlockedByMoves(Location loc) { in IsBlockedByMoves() argument
546 if (move->Blocks(loc)) { in IsBlockedByMoves()
551 if (move->Blocks(loc)) { in IsBlockedByMoves()