Lines Matching refs:destination
102 LOperand* destination = moves_[index].destination(); in PerformMove() local
111 if (other_move.Blocks(destination) && !other_move.IsPending()) { in PerformMove()
127 moves_[index].set_destination(destination); in PerformMove()
131 if (moves_[index].source()->Equals(destination)) { in PerformMove()
141 if (other_move.Blocks(destination)) { in PerformMove()
157 LOperand* destination = move.destination(); in AddMove() local
158 if (destination->IsRegister()) ++destination_uses_[destination->index()]; in AddMove()
171 LOperand* destination = moves_[index].destination(); in RemoveMove() local
172 if (destination->IsRegister()) { in RemoveMove()
173 --destination_uses_[destination->index()]; in RemoveMove()
174 ASSERT(destination_uses_[destination->index()] >= 0); in RemoveMove()
219 LOperand* destination = moves_[i].destination(); in Verify() local
221 SLOW_ASSERT(!destination->Equals(moves_[j].destination())); in Verify()
278 LOperand* destination = moves_[index].destination(); in EmitMove() local
280 EnsureRestored(destination); in EmitMove()
285 ASSERT(destination->IsRegister() || destination->IsStackSlot()); in EmitMove()
287 Operand dst = cgen_->ToOperand(destination); in EmitMove()
291 ASSERT(destination->IsRegister() || destination->IsStackSlot()); in EmitMove()
293 if (destination->IsRegister()) { in EmitMove()
294 Register dst = cgen_->ToRegister(destination); in EmitMove()
300 Operand dst = cgen_->ToOperand(destination); in EmitMove()
307 if (destination->IsRegister()) { in EmitMove()
308 Register dst = cgen_->ToRegister(destination); in EmitMove()
315 ASSERT(destination->IsStackSlot()); in EmitMove()
316 Operand dst = cgen_->ToOperand(destination); in EmitMove()
328 if (destination->IsDoubleRegister()) { in EmitMove()
329 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
332 ASSERT(destination->IsDoubleStackSlot()); in EmitMove()
333 Operand dst = cgen_->ToOperand(destination); in EmitMove()
337 ASSERT(destination->IsDoubleRegister() || in EmitMove()
338 destination->IsDoubleStackSlot()); in EmitMove()
340 if (destination->IsDoubleRegister()) { in EmitMove()
341 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
345 Operand dst = cgen_->ToOperand(destination); in EmitMove()
360 LOperand* destination = moves_[index].destination(); in EmitSwap() local
362 EnsureRestored(destination); in EmitSwap()
366 if (source->IsRegister() && destination->IsRegister()) { in EmitSwap()
369 Register dst = cgen_->ToRegister(destination); in EmitSwap()
372 } else if ((source->IsRegister() && destination->IsStackSlot()) || in EmitSwap()
373 (source->IsStackSlot() && destination->IsRegister())) { in EmitSwap()
379 cgen_->ToRegister(source->IsRegister() ? source : destination); in EmitSwap()
381 cgen_->ToOperand(source->IsRegister() ? destination : source); in EmitSwap()
392 } else if (source->IsStackSlot() && destination->IsStackSlot()) { in EmitSwap()
398 Operand dst = cgen_->ToOperand(destination); in EmitSwap()
412 } else if (source->IsDoubleRegister() && destination->IsDoubleRegister()) { in EmitSwap()
416 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitSwap()
421 } else if (source->IsDoubleRegister() || destination->IsDoubleRegister()) { in EmitSwap()
424 ASSERT(source->IsDoubleStackSlot() || destination->IsDoubleStackSlot()); in EmitSwap()
427 : destination); in EmitSwap()
429 cgen_->ToOperand(source->IsDoubleRegister() ? destination : source); in EmitSwap()
434 } else if (source->IsDoubleStackSlot() && destination->IsDoubleStackSlot()) { in EmitSwap()
441 Operand dst0 = cgen_->ToOperand(destination); in EmitSwap()
442 Operand dst1 = cgen_->HighOperand(destination); in EmitSwap()
465 moves_[i].set_source(destination); in EmitSwap()
466 } else if (other_move.Blocks(destination)) { in EmitSwap()
473 if (source->IsRegister() && destination->IsRegister()) { in EmitSwap()
475 source_uses_[source->index()] = source_uses_[destination->index()]; in EmitSwap()
476 source_uses_[destination->index()] = temp; in EmitSwap()
481 } else if (destination->IsRegister()) { in EmitSwap()
482 source_uses_[destination->index()] = CountSourceUses(destination); in EmitSwap()