Lines Matching defs:source
2 // Use of this source code is governed by a BSD-style license that can be
512 InstructionOperand source(move->source());
515 if (source.IsStackSlot()) {
516 LocationOperand source_location(LocationOperand::cast(source));
518 } else if (source.IsRegister()) {
519 LocationOperand source_location(LocationOperand::cast(source));
521 } else if (source.IsImmediate()) {
522 __ push(Immediate(ImmediateOperand::cast(source).inline_value()));
1083 InstructionOperand* source = instr->InputAt(0);
1085 DCHECK(source->IsConstant());
1087 Constant src_constant = g.ToConstant(source);
2516 void CodeGenerator::AssembleMove(InstructionOperand* source,
2519 // Dispatch on the source and destination operand kinds. Not all
2521 if (source->IsRegister()) {
2523 Register src = g.ToRegister(source);
2526 } else if (source->IsStackSlot()) {
2528 Operand src = g.ToOperand(source);
2537 } else if (source->IsConstant()) {
2538 Constant src_constant = g.ToConstant(source);
2557 __ Move(dst, g.ToImmediate(source));
2560 __ Move(dst, g.ToImmediate(source));
2597 } else if (source->IsFPRegister()) {
2600 auto allocated = AllocatedOperand::cast(*source);
2611 } else if (source->IsFPStackSlot()) {
2613 Operand src = g.ToOperand(source);
2614 auto allocated = AllocatedOperand::cast(*source);
2649 void CodeGenerator::AssembleSwap(InstructionOperand* source,
2652 // Dispatch on the source and destination operand kinds. Not all
2654 if (source->IsRegister() && destination->IsRegister()) {
2656 Register src = g.ToRegister(source);
2659 } else if (source->IsRegister() && destination->IsStackSlot()) {
2661 __ xchg(g.ToRegister(source), g.ToOperand(destination));
2662 } else if (source->IsStackSlot() && destination->IsStackSlot()) {
2667 Operand src1 = g.ToOperand(source);
2672 Operand src2 = g.ToOperand(source);
2674 } else if (source->IsFPRegister() && destination->IsFPRegister()) {
2676 } else if (source->IsFPRegister() && destination->IsFPStackSlot()) {
2677 auto allocated = AllocatedOperand::cast(*source);
2692 } else if (source->IsFPStackSlot() && destination->IsFPStackSlot()) {
2693 auto allocated = AllocatedOperand::cast(*source);
2696 __ fld_s(g.ToOperand(source));
2698 __ fstp_s(g.ToOperand(source));
2702 __ fld_d(g.ToOperand(source));
2704 __ fstp_d(g.ToOperand(source));