Lines Matching defs:operand

30                          LOperand* operand,
32 : operand_(operand),
141 void LiveRange::SetSpillOperand(LOperand* operand) {
142 DCHECK(!operand->IsUnallocated());
145 spill_operand_->ConvertTo(operand->kind(), operand->index());
423 LOperand* operand,
429 UsePosition* use_pos = new(zone) UsePosition(pos, operand, hint);
463 use_pos->operand()->ConvertTo(op->kind(), op->index());
595 LOperand* LAllocator::AllocateFixed(LUnallocated* operand,
598 TraceAlloc("Allocating fixed reg for op %d\n", operand->virtual_register());
599 DCHECK(operand->HasFixedPolicy());
600 if (operand->HasFixedSlotPolicy()) {
601 operand->ConvertTo(LOperand::STACK_SLOT, operand->fixed_slot_index());
602 } else if (operand->HasFixedRegisterPolicy()) {
603 int reg_index = operand->fixed_register_index();
604 operand->ConvertTo(LOperand::REGISTER, reg_index);
605 } else if (operand->HasFixedDoubleRegisterPolicy()) {
606 int reg_index = operand->fixed_register_index();
607 operand->ConvertTo(LOperand::DOUBLE_REGISTER, reg_index);
615 instr->pointer_map()->RecordPointer(operand, chunk()->zone());
618 return operand;
671 HPhi* LAllocator::LookupPhi(LOperand* operand) const {
672 if (!operand->IsUnallocated()) return NULL;
673 int index = LUnallocated::cast(operand)->virtual_register();
682 LiveRange* LAllocator::LiveRangeFor(LOperand* operand) {
683 if (operand->IsUnallocated()) {
684 return LiveRangeFor(LUnallocated::cast(operand)->virtual_register());
685 } else if (operand->IsRegister()) {
686 return FixedLiveRangeFor(operand->index());
687 } else if (operand->IsDoubleRegister()) {
688 return FixedDoubleLiveRangeFor(operand->index());
696 LOperand* operand,
698 LiveRange* range = LiveRangeFor(operand);
709 if (operand->IsUnallocated()) {
710 LUnallocated* unalloc_operand = LUnallocated::cast(operand);
718 LOperand* operand,
720 LiveRange* range = LiveRangeFor(operand);
722 if (operand->IsUnallocated()) {
723 LUnallocated* unalloc_operand = LUnallocated::cast(operand);
784 // Handle fixed output operand.
807 // This move to spill operand is not a real use. Liveness analysis
874 // instruction will include the output operand (whose value at the
875 // beginning of the instruction is equal to the input operand). If
1027 LOperand* operand = NULL;
1030 operand = chunk_->DefineConstantOperand(constant);
1036 operand = unalloc;
1042 operand,
1050 // it into a location different from the operand of a live range
1158 // it into a location different from the operand of a live range
1455 LOperand* operand = cur->CreateAssignedOperand(chunk()->zone());
1456 DCHECK(!operand->IsStackSlot());
1457 map->RecordPointer(operand, chunk()->zone());
1529 TraceAlloc("Live range %d already has a spill operand\n", current->id());
1535 // If the range already has a spill operand and it doesn't need a