Home
last modified time | relevance | path

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

/external/v8/test/cctest/compiler/
Dtest-gap-resolver.cc37 LocationOperand::LocationKind kind;
79 LocationOperand::LocationKind kind; in KeyFor()
83 index = LocationOperand::cast(op).GetRegister().code(); in KeyFor()
85 index = LocationOperand::cast(op).GetDoubleRegister().code(); in KeyFor()
87 index = LocationOperand::cast(op).index(); in KeyFor()
89 is_float = IsFloatingPoint(LocationOperand::cast(op).representation()); in KeyFor()
90 kind = LocationOperand::cast(op).location_kind(); in KeyFor()
93 kind = LocationOperand::REGISTER; in KeyFor()
220 return AllocatedOperand(LocationOperand::STACK_SLOT, rep, index); in CreateRandomOperand()
222 return AllocatedOperand(LocationOperand::REGISTER, rep, index); in CreateRandomOperand()
[all …]
Dtest-jump-threading.cc60 AddGapMove(index, AllocatedOperand(LocationOperand::REGISTER, in RedundantMoves()
62 AllocatedOperand(LocationOperand::REGISTER, in RedundantMoves()
70 AllocatedOperand(LocationOperand::REGISTER, in NonRedundantMoves()
/external/v8/src/compiler/
Dinstruction.h406 class LocationOperand : public InstructionOperand {
410 LocationOperand(InstructionOperand::Kind operand_kind, in LocationOperand() function
411 LocationOperand::LocationKind location_kind, in LocationOperand()
481 static LocationOperand* cast(InstructionOperand* op) { in cast()
483 return static_cast<LocationOperand*>(op); in cast()
486 static const LocationOperand* cast(const InstructionOperand* op) { in cast()
488 return static_cast<const LocationOperand*>(op); in cast()
491 static LocationOperand cast(const InstructionOperand& op) { in cast()
493 return *static_cast<const LocationOperand*>(&op); in cast()
503 class ExplicitOperand : public LocationOperand {
[all …]
Dcode-generator-impl.h115 return LocationOperand::cast(op)->GetRegister(); in ToRegister()
119 return LocationOperand::cast(op)->GetDoubleRegister(); in ToDoubleRegister()
123 return LocationOperand::cast(op)->GetFloatRegister(); in ToFloatRegister()
Dcode-generator.cc263 int index = LocationOperand::cast(operand).index(); in RecordSafepoint()
273 Register reg = LocationOperand::cast(operand).GetRegister(); in RecordSafepoint()
706 translation->StoreBoolStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
709 translation->StoreInt32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
712 translation->StoreUint32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
714 translation->StoreStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
720 translation->StoreDoubleStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
723 translation->StoreFloatStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
Dinstruction.cc67 const LocationOperand& loc1 = *LocationOperand::cast(this); in InterferesWith()
68 const LocationOperand& loc2 = LocationOperand::cast(that); in InterferesWith()
132 LocationOperand allocated = LocationOperand::cast(op); in operator <<()
252 : LocationOperand(EXPLICIT, kind, rep, index) { in ExplicitOperand()
338 if (op.IsStackSlot() && LocationOperand::cast(op).index() < 0) return; in RecordReference()
Dmove-optimizer.cc35 const LocationOperand& loc = LocationOperand::cast(operand); in Blocks()
43 return set.find(LocationOperand(loc.kind(), loc.location_kind(), in Blocks()
53 if (set.find(LocationOperand(loc.kind(), loc.location_kind(), other_fp_rep, in Blocks()
Dregister-allocator-verifier.cc235 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
239 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
243 CHECK_EQ(LocationOperand::cast(op)->index(), constraint->value_); in CheckConstraint()
519 zone(), LocationOperand::LocationKind::STACK_SLOT, rep, in VerifyGapMoves()
Dinstruction-selector-impl.h135 return ExplicitOperand(LocationOperand::REGISTER, rep, in UseExplicit()
138 return ExplicitOperand(LocationOperand::STACK_SLOT, rep, in UseExplicit()
Dregister-allocator.cc71 LocationOperand::cast(output)->register_code() == code) { in IsOutputRegisterOf()
83 const LocationOperand* op = LocationOperand::cast(output); in IsOutputFPRegisterOf()
328 *register_code = LocationOperand::cast(operand)->register_code(); in HintRegister()
566 return AllocatedOperand(LocationOperand::REGISTER, representation(), in GetAssignedOperand()
920 return AllocatedOperand(LocationOperand::STACK_SLOT, representation(), index); in GetSpillRangeOperand()
1660 DCHECK(LocationOperand::cast(output)->index() < in MeetRegisterConstraintsForLastInstructionInBlock()
1662 range->SetSpillOperand(LocationOperand::cast(output)); in MeetRegisterConstraintsForLastInstructionInBlock()
1725 DCHECK(LocationOperand::cast(first_output)->index() < in MeetConstraintsAfter()
1727 range->SetSpillOperand(LocationOperand::cast(first_output)); in MeetConstraintsAfter()
1955 LocationOperand::cast(operand)->GetRegister().code()); in LiveRangeFor()
[all …]
/external/v8/test/unittests/compiler/
Dmove-optimizer-unittest.cc71 return AllocatedOperand(LocationOperand::STACK_SLOT, in ConvertMoveArg()
75 return AllocatedOperand(LocationOperand::REGISTER, in ConvertMoveArg()
79 return ExplicitOperand(LocationOperand::REGISTER, in ConvertMoveArg()
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc1393 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1409 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2106 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2117 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2124 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc1405 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1423 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2097 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2108 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
2115 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc1264 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1639 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
1663 LocationOperand::cast(destination)->representation(); in AssembleMove()
1722 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
1760 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleSwap()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc1389 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1976 LocationOperand* op = LocationOperand::cast(source); in AssembleMove()