Lines Matching refs:destination

78   LOperand* destination = moves_[index].destination();  in PerformMove()  local
87 if (other_move.Blocks(destination) && !other_move.IsPending()) { in PerformMove()
103 moves_[index].set_destination(destination); in PerformMove()
107 if (moves_[index].source()->Equals(destination)) { in PerformMove()
117 if (other_move.Blocks(destination)) { in PerformMove()
133 LOperand* destination = move.destination(); in AddMove() local
134 if (destination->IsRegister()) ++destination_uses_[destination->index()]; in AddMove()
147 LOperand* destination = moves_[index].destination(); in RemoveMove() local
148 if (destination->IsRegister()) { in RemoveMove()
149 --destination_uses_[destination->index()]; in RemoveMove()
150 DCHECK(destination_uses_[destination->index()] >= 0); in RemoveMove()
201 LOperand* destination = moves_[i].destination(); in Verify() local
203 SLOW_DCHECK(!destination->Equals(moves_[j].destination())); in Verify()
263 LOperand* destination = moves_[index].destination(); in EmitMove() local
265 EnsureRestored(destination); in EmitMove()
270 DCHECK(destination->IsRegister() || destination->IsStackSlot()); in EmitMove()
272 Operand dst = cgen_->ToOperand(destination); in EmitMove()
276 DCHECK(destination->IsRegister() || destination->IsStackSlot()); in EmitMove()
278 if (destination->IsRegister()) { in EmitMove()
279 Register dst = cgen_->ToRegister(destination); in EmitMove()
285 Operand dst = cgen_->ToOperand(destination); in EmitMove()
292 if (destination->IsRegister()) { in EmitMove()
293 Register dst = cgen_->ToRegister(destination); in EmitMove()
301 } else if (destination->IsDoubleRegister()) { in EmitMove()
306 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
316 DCHECK(destination->IsStackSlot()); in EmitMove()
317 Operand dst = cgen_->ToOperand(destination); in EmitMove()
331 if (destination->IsDoubleRegister()) { in EmitMove()
332 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
335 DCHECK(destination->IsDoubleStackSlot()); in EmitMove()
336 Operand dst = cgen_->ToOperand(destination); in EmitMove()
340 DCHECK(destination->IsDoubleRegister() || in EmitMove()
341 destination->IsDoubleStackSlot()); in EmitMove()
343 if (destination->IsDoubleRegister()) { in EmitMove()
344 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
348 Operand dst = cgen_->ToOperand(destination); in EmitMove()
362 LOperand* destination = moves_[index].destination(); in EmitSwap() local
364 EnsureRestored(destination); in EmitSwap()
368 if (source->IsRegister() && destination->IsRegister()) { in EmitSwap()
371 Register dst = cgen_->ToRegister(destination); in EmitSwap()
376 } else if ((source->IsRegister() && destination->IsStackSlot()) || in EmitSwap()
377 (source->IsStackSlot() && destination->IsRegister())) { in EmitSwap()
383 cgen_->ToRegister(source->IsRegister() ? source : destination); in EmitSwap()
385 cgen_->ToOperand(source->IsRegister() ? destination : source); in EmitSwap()
396 } else if (source->IsStackSlot() && destination->IsStackSlot()) { in EmitSwap()
402 Operand dst = cgen_->ToOperand(destination); in EmitSwap()
416 } else if (source->IsDoubleRegister() && destination->IsDoubleRegister()) { in EmitSwap()
420 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitSwap()
424 } else if (source->IsDoubleRegister() || destination->IsDoubleRegister()) { in EmitSwap()
427 DCHECK(source->IsDoubleStackSlot() || destination->IsDoubleStackSlot()); in EmitSwap()
430 : destination); in EmitSwap()
432 cgen_->ToOperand(source->IsDoubleRegister() ? destination : source); in EmitSwap()
436 } else if (source->IsDoubleStackSlot() && destination->IsDoubleStackSlot()) { in EmitSwap()
443 Operand dst0 = cgen_->ToOperand(destination); in EmitSwap()
444 Operand dst1 = cgen_->HighOperand(destination); in EmitSwap()
467 moves_[i].set_source(destination); in EmitSwap()
468 } else if (other_move.Blocks(destination)) { in EmitSwap()
475 if (source->IsRegister() && destination->IsRegister()) { in EmitSwap()
477 source_uses_[source->index()] = source_uses_[destination->index()]; in EmitSwap()
478 source_uses_[destination->index()] = temp; in EmitSwap()
483 } else if (destination->IsRegister()) { in EmitSwap()
484 source_uses_[destination->index()] = CountSourceUses(destination); in EmitSwap()