• Home
  • Raw
  • Download

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()
199 LOperand* destination = moves_[i].destination(); in Verify() local
201 SLOW_DCHECK(!destination->Equals(moves_[j].destination())); in Verify()
260 LOperand* destination = moves_[index].destination(); in EmitMove() local
262 EnsureRestored(destination); in EmitMove()
267 DCHECK(destination->IsRegister() || destination->IsStackSlot()); in EmitMove()
269 Operand dst = cgen_->ToOperand(destination); in EmitMove()
273 DCHECK(destination->IsRegister() || destination->IsStackSlot()); in EmitMove()
275 if (destination->IsRegister()) { in EmitMove()
276 Register dst = cgen_->ToRegister(destination); in EmitMove()
282 Operand dst = cgen_->ToOperand(destination); in EmitMove()
289 if (destination->IsRegister()) { in EmitMove()
290 Register dst = cgen_->ToRegister(destination); in EmitMove()
298 } else if (destination->IsDoubleRegister()) { in EmitMove()
303 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
313 DCHECK(destination->IsStackSlot()); in EmitMove()
314 Operand dst = cgen_->ToOperand(destination); in EmitMove()
328 if (destination->IsDoubleRegister()) { in EmitMove()
329 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
332 DCHECK(destination->IsDoubleStackSlot()); in EmitMove()
333 Operand dst = cgen_->ToOperand(destination); in EmitMove()
337 DCHECK(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()
359 LOperand* destination = moves_[index].destination(); in EmitSwap() local
361 EnsureRestored(destination); in EmitSwap()
365 if (source->IsRegister() && destination->IsRegister()) { in EmitSwap()
368 Register dst = cgen_->ToRegister(destination); in EmitSwap()
373 } else if ((source->IsRegister() && destination->IsStackSlot()) || in EmitSwap()
374 (source->IsStackSlot() && destination->IsRegister())) { in EmitSwap()
380 cgen_->ToRegister(source->IsRegister() ? source : destination); in EmitSwap()
382 cgen_->ToOperand(source->IsRegister() ? destination : source); in EmitSwap()
393 } else if (source->IsStackSlot() && destination->IsStackSlot()) { in EmitSwap()
399 Operand dst = cgen_->ToOperand(destination); in EmitSwap()
413 } else if (source->IsDoubleRegister() && destination->IsDoubleRegister()) { in EmitSwap()
417 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitSwap()
421 } else if (source->IsDoubleRegister() || destination->IsDoubleRegister()) { in EmitSwap()
424 DCHECK(source->IsDoubleStackSlot() || destination->IsDoubleStackSlot()); in EmitSwap()
427 : destination); in EmitSwap()
429 cgen_->ToOperand(source->IsDoubleRegister() ? destination : source); in EmitSwap()
433 } else if (source->IsDoubleStackSlot() && destination->IsDoubleStackSlot()) { in EmitSwap()
440 Operand dst0 = cgen_->ToOperand(destination); in EmitSwap()
441 Operand dst1 = cgen_->HighOperand(destination); in EmitSwap()
464 moves_[i].set_source(destination); in EmitSwap()
465 } else if (other_move.Blocks(destination)) { in EmitSwap()
472 if (source->IsRegister() && destination->IsRegister()) { in EmitSwap()
474 source_uses_[source->index()] = source_uses_[destination->index()]; in EmitSwap()
475 source_uses_[destination->index()] = temp; in EmitSwap()
480 } else if (destination->IsRegister()) { in EmitSwap()
481 source_uses_[destination->index()] = CountSourceUses(destination); in EmitSwap()