Home
last modified time | relevance | path

Searched refs:LocationOperand (Results 1 – 10 of 10) 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()
206 return AllocatedOperand(LocationOperand::STACK_SLOT, in CreateRandomOperand()
209 return AllocatedOperand(LocationOperand::STACK_SLOT, 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.h398 class LocationOperand : public InstructionOperand {
402 LocationOperand(InstructionOperand::Kind operand_kind, in LocationOperand() function
403 LocationOperand::LocationKind location_kind, in LocationOperand()
456 static LocationOperand* cast(InstructionOperand* op) { in cast()
458 return static_cast<LocationOperand*>(op); in cast()
461 static const LocationOperand* cast(const InstructionOperand* op) { in cast()
463 return static_cast<const LocationOperand*>(op); in cast()
466 static LocationOperand cast(const InstructionOperand& op) { in cast()
468 return *static_cast<const LocationOperand*>(&op); in cast()
478 class ExplicitOperand : public LocationOperand {
[all …]
Dcode-generator.cc235 int index = LocationOperand::cast(operand).index(); in RecordSafepoint()
242 Register reg = LocationOperand::cast(operand).GetRegister(); in RecordSafepoint()
634 translation->StoreBoolStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
637 translation->StoreInt32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
640 translation->StoreUint32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
642 translation->StoreStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
648 translation->StoreDoubleStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
Dcode-generator-impl.h103 return LocationOperand::cast(op)->GetRegister(); in ToRegister()
107 return LocationOperand::cast(op)->GetDoubleRegister(); in ToDoubleRegister()
Dinstruction.cc127 auto allocated = LocationOperand::cast(op); in operator <<()
129 os << "[stack:" << LocationOperand::cast(op).index(); in operator <<()
131 os << "[double_stack:" << LocationOperand::cast(op).index(); in operator <<()
133 os << "[" << LocationOperand::cast(op).GetRegister().ToString() << "|R"; in operator <<()
136 os << "[" << LocationOperand::cast(op).GetDoubleRegister().ToString() in operator <<()
244 : LocationOperand(EXPLICIT, kind, rep, index) { in ExplicitOperand()
334 if (op.IsStackSlot() && LocationOperand::cast(op).index() < 0) return; in RecordReference()
Dinstruction-selector-impl.h134 return ExplicitOperand(LocationOperand::REGISTER, rep, in UseExplicit()
137 return ExplicitOperand(LocationOperand::STACK_SLOT, rep, in UseExplicit()
Dregister-allocator-verifier.cc235 CHECK_EQ(LocationOperand::cast(op)->GetRegister().code(), in CheckConstraint()
240 CHECK_EQ(LocationOperand::cast(op)->GetDoubleRegister().code(), in CheckConstraint()
245 CHECK_EQ(LocationOperand::cast(op)->index(), constraint->value_); in CheckConstraint()
722 zone(), LocationOperand::LocationKind::STACK_SLOT, rep, in VerifyGapMoves()
Dregister-allocator.cc74 LocationOperand::cast(output)->GetRegister().is(reg)) { in IsOutputRegisterOf()
86 LocationOperand::cast(output)->GetDoubleRegister().is(reg)) { in IsOutputDoubleRegisterOf()
165 ? LocationOperand::cast(operand)->GetRegister().code() in HintRegister()
166 : LocationOperand::cast(operand)->GetDoubleRegister().code(); in HintRegister()
414 return AllocatedOperand(LocationOperand::REGISTER, representation(), in GetAssignedOperand()
826 return AllocatedOperand(LocationOperand::STACK_SLOT, representation(), index); in GetSpillRangeOperand()
1565 DCHECK(LocationOperand::cast(output)->index() < in MeetRegisterConstraintsForLastInstructionInBlock()
1567 range->SetSpillOperand(LocationOperand::cast(output)); in MeetRegisterConstraintsForLastInstructionInBlock()
1630 DCHECK(LocationOperand::cast(first_output)->index() < in MeetConstraintsAfter()
1632 range->SetSpillOperand(LocationOperand::cast(first_output)); in MeetConstraintsAfter()
[all …]
/external/v8/test/unittests/compiler/
Dmove-optimizer-unittest.cc70 return AllocatedOperand(LocationOperand::STACK_SLOT, in ConvertMoveArg()
74 return AllocatedOperand(LocationOperand::REGISTER, in ConvertMoveArg()
78 return ExplicitOperand(LocationOperand::REGISTER, in ConvertMoveArg()