Home
last modified time | relevance | path

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

/external/v8/src/compiler/
Dgap-resolver.cc35 const LocationOperand& src_loc = LocationOperand::cast(move->source()); in Split()
36 const LocationOperand& dst_loc = LocationOperand::cast(move->destination()); in Split()
52 if (src_kind == LocationOperand::REGISTER) { in Split()
63 if (dst_kind == LocationOperand::REGISTER) { in Split()
100 REP_BIT(LocationOperand::cast(move->destination()).representation()); in Resolve()
162 LocationOperand::cast(other->source()).representation() > in PerformMove()
222 if (LocationOperand::cast(other->source()).representation() > in PerformMove()
229 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 static LocationOperand* cast(InstructionOperand* op) { in cast()
503 return static_cast<LocationOperand*>(op); in cast()
506 static const LocationOperand* cast(const InstructionOperand* op) { in cast()
508 return static_cast<const LocationOperand*>(op); in cast()
511 static LocationOperand cast(const InstructionOperand& op) { in cast()
513 return *static_cast<const LocationOperand*>(&op); in cast()
523 : public NON_EXPORTED_BASE(LocationOperand) { in NON_EXPORTED_BASE() argument
[all …]
Dcode-generator-impl.h123 return LocationOperand::cast(op)->GetRegister(); in ToRegister()
127 return LocationOperand::cast(op)->GetFloatRegister(); in ToFloatRegister()
131 return LocationOperand::cast(op)->GetDoubleRegister(); in ToDoubleRegister()
135 return LocationOperand::cast(op)->GetSimd128Register(); in ToSimd128Register()
Dinstruction.cc73 const LocationOperand& loc = *LocationOperand::cast(this); in InterferesWith()
74 const LocationOperand& other_loc = LocationOperand::cast(other); in InterferesWith()
75 LocationOperand::LocationKind kind = loc.location_kind(); in InterferesWith()
76 LocationOperand::LocationKind other_kind = other_loc.location_kind(); in InterferesWith()
81 if (kind == LocationOperand::REGISTER) { in InterferesWith()
88 DCHECK_EQ(LocationOperand::STACK_SLOT, kind); in InterferesWith()
157 LocationOperand allocated = LocationOperand::cast(op); in operator <<()
290 : LocationOperand(EXPLICIT, kind, rep, index) { in ExplicitOperand()
375 if (op.IsStackSlot() && LocationOperand::cast(op).index() < 0) return; in RecordReference()
Dcode-generator.cc270 int index = LocationOperand::cast(operand).index(); in RecordSafepoint()
280 Register reg = LocationOperand::cast(operand).GetRegister(); in RecordSafepoint()
352 LocationOperand::cast(source).index() >= in GetPushCompatibleMoves()
364 LocationOperand::cast(destination).index() >= in GetPushCompatibleMoves()
366 int index = LocationOperand::cast(destination).index(); in GetPushCompatibleMoves()
819 translation->StoreBoolStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
822 translation->StoreInt32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
825 translation->StoreUint32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
827 translation->StoreStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
833 translation->StoreDoubleStackSlot(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.cc237 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
241 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
245 CHECK_EQ(LocationOperand::cast(op)->index(), constraint->value_); in CheckConstraint()
249 CHECK_EQ(ElementSizeLog2Of(LocationOperand::cast(op)->representation()), in CheckConstraint()
520 zone(), LocationOperand::LocationKind::STACK_SLOT, rep, in VerifyGapMoves()
Dinstruction-selector-impl.h144 return ExplicitOperand(LocationOperand::REGISTER, rep, in UseExplicit()
147 return ExplicitOperand(LocationOperand::STACK_SLOT, rep, in UseExplicit()
Dregister-allocator.cc304 *register_code = LocationOperand::cast(operand)->register_code(); in HintRegister()
553 return AllocatedOperand(LocationOperand::REGISTER, representation(), in GetAssignedOperand()
913 return AllocatedOperand(LocationOperand::STACK_SLOT, representation(), index); in GetSpillRangeOperand()
1663 DCHECK(LocationOperand::cast(output)->index() < in MeetRegisterConstraintsForLastInstructionInBlock()
1665 range->SetSpillOperand(LocationOperand::cast(output)); in MeetRegisterConstraintsForLastInstructionInBlock()
1728 DCHECK(LocationOperand::cast(first_output)->index() < in MeetConstraintsAfter()
1730 range->SetSpillOperand(LocationOperand::cast(first_output)); in MeetConstraintsAfter()
1968 LocationOperand::cast(operand)->GetRegister().code()); in LiveRangeFor()
1970 LocationOperand* op = LocationOperand::cast(operand); in LiveRangeFor()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc559 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
564 LocationOperand destination_location( in AssembleTailCallBeforeGap()
565 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
572 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
577 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1486 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1884 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
1898 int src_code = LocationOperand::cast(source)->register_code(); in AssembleMove()
1900 int dst_code = LocationOperand::cast(destination)->register_code(); in AssembleMove()
1910 LocationOperand::cast(destination)->representation(); in AssembleMove()
[all …]
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc31 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is64BitOperand()
36 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is32BitOperand()
814 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
819 LocationOperand destination_location( in AssembleTailCallBeforeGap()
820 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
827 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
832 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1730 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1746 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2455 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
[all …]
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc899 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
904 LocationOperand destination_location( in AssembleTailCallBeforeGap()
905 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
912 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
917 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1621 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1639 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2330 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2341 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2348 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc488 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
492 LocationOperand destination_location( in AssembleTailCallBeforeGap()
493 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
498 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
501 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
2119 LocationOperand::cast(source)->representation(); in AssembleMove()
2132 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
2208 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
2227 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc755 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
759 LocationOperand destination_location( in AssembleTailCallBeforeGap()
760 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
765 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
768 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
2643 LocationOperand::cast(source)->representation(); in AssembleMove()
2653 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
2707 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
2743 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc1515 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2150 LocationOperand::cast(source)->representation(); in AssembleMove()
2163 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
2235 LocationOperand::cast(source)->representation(); in AssembleSwap()
2255 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
/external/v8/src/compiler/x87/
Dcode-generator-x87.cc506 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
510 LocationOperand destination_location( in AssembleTailCallBeforeGap()
511 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
516 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
519 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()