Home
last modified time | relevance | path

Searched refs:LocationOperand (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/compiler/
Dgap-resolver.cc30 const LocationOperand& src_loc = LocationOperand::cast(move->source()); in Split()
31 const LocationOperand& dst_loc = LocationOperand::cast(move->destination()); in Split()
47 if (src_kind == LocationOperand::REGISTER) { in Split()
58 if (dst_kind == LocationOperand::REGISTER) { in Split()
95 REP_BIT(LocationOperand::cast(move->destination()).representation()); in Resolve()
158 LocationOperand::cast(other->source()).representation() > in PerformMove()
221 if (LocationOperand::cast(other->source()).representation() > in PerformMove()
228 if (LocationOperand::cast(other->source()).representation() > in PerformMove()
Dinstruction.h424 class LocationOperand : public InstructionOperand {
428 LocationOperand(InstructionOperand::Kind operand_kind, in LocationOperand() function
429 LocationOperand::LocationKind location_kind, in LocationOperand()
501 bool IsCompatible(LocationOperand* op);
503 static LocationOperand* cast(InstructionOperand* op) { in cast()
505 return static_cast<LocationOperand*>(op); in cast()
508 static const LocationOperand* cast(const InstructionOperand* op) { in cast()
510 return static_cast<const LocationOperand*>(op); in cast()
513 static LocationOperand cast(const InstructionOperand& op) { in cast()
515 return *static_cast<const LocationOperand*>(&op); in cast()
[all …]
Dcode-generator-impl.h131 return LocationOperand::cast(op)->GetRegister(); in ToRegister()
135 return LocationOperand::cast(op)->GetFloatRegister(); in ToFloatRegister()
139 return LocationOperand::cast(op)->GetDoubleRegister(); in ToDoubleRegister()
143 return LocationOperand::cast(op)->GetSimd128Register(); in ToSimd128Register()
Dinstruction.cc75 const LocationOperand& loc = *LocationOperand::cast(this); in InterferesWith()
76 const LocationOperand& other_loc = LocationOperand::cast(other); in InterferesWith()
77 LocationOperand::LocationKind kind = loc.location_kind(); in InterferesWith()
78 LocationOperand::LocationKind other_kind = other_loc.location_kind(); in InterferesWith()
83 if (kind == LocationOperand::REGISTER) { in InterferesWith()
90 DCHECK_EQ(LocationOperand::STACK_SLOT, kind); in InterferesWith()
101 bool LocationOperand::IsCompatible(LocationOperand* op) { in IsCompatible()
180 LocationOperand allocated = LocationOperand::cast(op); in operator <<()
313 : LocationOperand(EXPLICIT, kind, rep, index) { in ExplicitOperand()
397 if (op.IsStackSlot() && LocationOperand::cast(op).index() < 0) return; in RecordReference()
Dcode-generator.cc440 int index = LocationOperand::cast(operand).index(); in RecordSafepoint()
450 Register reg = LocationOperand::cast(operand).GetRegister(); in RecordSafepoint()
518 LocationOperand::cast(source).index() >= in GetPushCompatibleMoves()
530 LocationOperand::cast(destination).index() >= in GetPushCompatibleMoves()
532 int index = LocationOperand::cast(destination).index(); in GetPushCompatibleMoves()
568 DCHECK(LocationOperand::cast(source)->IsCompatible( in InferMove()
569 LocationOperand::cast(destination))); in InferMove()
590 DCHECK(LocationOperand::cast(source)->IsCompatible( in InferSwap()
591 LocationOperand::cast(destination))); in InferSwap()
1107 translation->StoreBoolStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
[all …]
Dmove-optimizer.cc40 fp_reps_ |= RepBit(LocationOperand::cast(op).representation()); in InsertOp()
55 const LocationOperand& loc = LocationOperand::cast(op); in ContainsOpOrAlias()
85 if (Contains(AllocatedOperand(LocationOperand::REGISTER, other_rep1, in ContainsOpOrAlias()
93 if (Contains(AllocatedOperand(LocationOperand::REGISTER, other_rep2, in ContainsOpOrAlias()
Dregister-allocator-verifier.cc244 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
248 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
252 CHECK_EQ(LocationOperand::cast(op)->index(), constraint->value_); in CheckConstraint()
256 CHECK_EQ(ElementSizeLog2Of(LocationOperand::cast(op)->representation()), in CheckConstraint()
532 zone(), LocationOperand::LocationKind::STACK_SLOT, rep, in VerifyGapMoves()
Dinstruction-selector-impl.h196 return ExplicitOperand(LocationOperand::REGISTER, rep, in UseExplicit()
199 return ExplicitOperand(LocationOperand::STACK_SLOT, rep, in UseExplicit()
Dregister-allocator.cc308 *register_code = LocationOperand::cast(operand)->register_code(); in HintRegister()
550 return AllocatedOperand(LocationOperand::REGISTER, representation(), in GetAssignedOperand()
912 return AllocatedOperand(LocationOperand::STACK_SLOT, representation(), index); in GetSpillRangeOperand()
1667 DCHECK(LocationOperand::cast(output)->index() < in MeetRegisterConstraintsForLastInstructionInBlock()
1669 range->SetSpillOperand(LocationOperand::cast(output)); in MeetRegisterConstraintsForLastInstructionInBlock()
1734 DCHECK(LocationOperand::cast(first_output)->index() < in MeetConstraintsAfter()
1736 range->SetSpillOperand(LocationOperand::cast(first_output)); in MeetConstraintsAfter()
1978 LocationOperand::cast(operand)->GetRegister().code()); in LiveRangeFor()
1980 LocationOperand* op = LocationOperand::cast(operand); in LiveRangeFor()
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc810 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
815 LocationOperand destination_location( in AssembleTailCallBeforeGap()
816 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
824 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1696 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1716 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1734 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2624 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2635 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2642 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
Dinstruction-selector-ppc.cc74 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer()
75 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc34 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is64BitOperand()
39 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is32BitOperand()
1249 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
1254 LocationOperand destination_location( in AssembleTailCallBeforeGap()
1255 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
1263 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
2179 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2199 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2215 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
3216 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
[all …]
Dinstruction-selector-s390.cc251 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer()
252 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc618 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
623 LocationOperand destination_location( in AssembleTailCallBeforeGap()
624 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
632 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1717 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1754 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
3215 int src_code = LocationOperand::cast(source)->register_code(); in AssembleMove()
3216 int dst_code = LocationOperand::cast(destination)->register_code(); in AssembleMove()
3231 int src_code = LocationOperand::cast(source)->register_code(); in AssembleMove()
3252 int dst_code = LocationOperand::cast(destination)->register_code(); in AssembleMove()
[all …]
Dinstruction-selector-arm.cc81 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer()
82 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc595 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
599 LocationOperand destination_location( in AssembleTailCallBeforeGap()
600 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
605 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
608 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
2106 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
3324 LocationOperand::cast(source)->representation(); in AssembleMove()
3341 LocationOperand::cast(source)->representation(); in AssembleMove()
3360 LocationOperand::cast(source)->representation(); in AssembleMove()
3451 LocationOperand::cast(source)->representation(); in AssembleSwap()
[all …]
Dinstruction-selector-x64.cc1749 LocationOperand rsp(InstructionOperand::EXPLICIT, LocationOperand::REGISTER, in VisitWord64Compare()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc1562 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1590 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
1609 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
3414 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
3433 LocationOperand::cast(source)->representation(); in AssembleMove()
3446 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
3513 LocationOperand::cast(source)->representation(); in AssembleSwap()
3534 LocationOperand::cast(source)->representation(); in AssembleSwap()
3563 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
Dinstruction-scheduler-mips.cc1572 auto op = LocationOperand::cast(instr->InputAt(0)); in GetInstructionLatency()
1592 auto op = LocationOperand::cast(instr->OutputAt(0)); in GetInstructionLatency()
1607 auto op = LocationOperand::cast(instr->InputAt(0)); in GetInstructionLatency()
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc559 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
563 LocationOperand destination_location( in AssembleTailCallBeforeGap()
564 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
569 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
572 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1772 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
4380 LocationOperand::cast(source)->representation(); in AssembleMove()
4400 LocationOperand::cast(source)->representation(); in AssembleMove()
4420 LocationOperand::cast(source)->representation(); in AssembleMove()
4526 LocationOperand::cast(source)->representation(); in AssembleSwap()
[all …]
Dinstruction-selector-ia32.cc1287 LocationOperand esp(InstructionOperand::EXPLICIT, LocationOperand::REGISTER, in VisitWordCompare()
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc1793 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
3664 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
3688 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
3747 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
3787 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
Dinstruction-scheduler-mips64.cc1609 auto op = LocationOperand::cast(instr->OutputAt(0)); in GetInstructionLatency()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc56 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer()
57 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
Dcode-generator-arm64.cc1246 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()