Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/compiler/backend/
Dgap-resolver.cc28 const LocationOperand& src_loc = LocationOperand::cast(move->source()); in Split()
29 const LocationOperand& dst_loc = LocationOperand::cast(move->destination()); in Split()
45 if (src_kind == LocationOperand::REGISTER) { in Split()
56 if (dst_kind == LocationOperand::REGISTER) { in Split()
81 LocationOperand loc_op = LocationOperand::cast(move); in GetKind()
82 if (loc_op.location_kind() != LocationOperand::REGISTER) return kStack; in GetKind()
110 LocationOperand::cast(move->destination()).representation()); in Resolve()
182 LocationOperand::cast(other->source()).representation() > in PerformMove()
245 if (LocationOperand::cast(other->source()).representation() > in PerformMove()
252 if (LocationOperand::cast(other->source()).representation() > in PerformMove()
Dinstruction.h488 class LocationOperand : public InstructionOperand {
492 LocationOperand(InstructionOperand::Kind operand_kind, in LocationOperand() function
493 LocationOperand::LocationKind location_kind, in LocationOperand()
571 bool IsCompatible(LocationOperand* op);
573 static LocationOperand* cast(InstructionOperand* op) { in cast()
575 return static_cast<LocationOperand*>(op); in cast()
578 static const LocationOperand* cast(const InstructionOperand* op) { in cast()
580 return static_cast<const LocationOperand*>(op); in cast()
583 static LocationOperand cast(const InstructionOperand& op) { in cast()
585 return *static_cast<const LocationOperand*>(&op); in cast()
[all …]
Dregister-allocator-verifier.cc249 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
253 CHECK_EQ(LocationOperand::cast(op)->register_code(), constraint->value_); in CheckConstraint()
257 CHECK_EQ(LocationOperand::cast(op)->index(), constraint->value_); in CheckConstraint()
261 CHECK_EQ(ElementSizeLog2Of(LocationOperand::cast(op)->representation()), in CheckConstraint()
333 const LocationOperand* loc_op = LocationOperand::cast(&op); in CheckReferenceMap()
358 const LocationOperand* loc_op = LocationOperand::cast(&op); in IsStaleReferenceStackSlot()
593 zone(), LocationOperand::LocationKind::STACK_SLOT, rep, in VerifyGapMoves()
Dinstruction.cc93 const LocationOperand& loc = *LocationOperand::cast(this); in InterferesWith()
94 const LocationOperand& other_loc = LocationOperand::cast(other); in InterferesWith()
95 LocationOperand::LocationKind kind = loc.location_kind(); in InterferesWith()
96 LocationOperand::LocationKind other_kind = other_loc.location_kind(); in InterferesWith()
103 if (kind == LocationOperand::REGISTER) { in InterferesWith()
114 DCHECK_EQ(LocationOperand::STACK_SLOT, kind); in InterferesWith()
126 bool LocationOperand::IsCompatible(LocationOperand* op) { in IsCompatible()
202 LocationOperand allocated = LocationOperand::cast(op); in operator <<()
390 if (op.IsStackSlot() && LocationOperand::cast(op).index() < 0) return; in RecordReference()
Dcode-generator.cc516 int index = LocationOperand::cast(operand).index(); in RecordSafepoint()
588 if (source.IsAnyStackSlot() && LocationOperand::cast(source).index() >= in GetPushCompatibleMoves()
600 LocationOperand::cast(destination).index() >= in GetPushCompatibleMoves()
602 int index = LocationOperand::cast(destination).index(); in GetPushCompatibleMoves()
638 DCHECK(LocationOperand::cast(source)->IsCompatible( in InferMove()
639 LocationOperand::cast(destination))); in InferMove()
660 DCHECK(LocationOperand::cast(source)->IsCompatible( in InferSwap()
661 LocationOperand::cast(destination))); in InferSwap()
1158 translations_.StoreBoolStackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
1161 translations_.StoreInt32StackSlot(LocationOperand::cast(op)->index()); in AddTranslationForOperand()
[all …]
Dcode-generator-impl.h138 return LocationOperand::cast(op)->GetRegister(); in ToRegister()
142 return LocationOperand::cast(op)->GetFloatRegister(); in ToFloatRegister()
146 return LocationOperand::cast(op)->GetDoubleRegister(); in ToDoubleRegister()
150 return LocationOperand::cast(op)->GetSimd128Register(); in ToSimd128Register()
Dmove-optimizer.cc42 fp_reps_ |= RepresentationBit(LocationOperand::cast(op).representation()); in InsertOp()
57 const LocationOperand& loc = LocationOperand::cast(op); in ContainsOpOrAlias()
86 if (Contains(AllocatedOperand(LocationOperand::REGISTER, other_rep1, in ContainsOpOrAlias()
94 if (Contains(AllocatedOperand(LocationOperand::REGISTER, other_rep2, in ContainsOpOrAlias()
Dregister-allocator.cc208 *register_code = LocationOperand::cast(operand)->register_code(); in HintRegister()
499 return AllocatedOperand(LocationOperand::REGISTER, representation(), in GetAssignedOperand()
910 return AllocatedOperand(LocationOperand::STACK_SLOT, representation(), index); in GetSpillRangeOperand()
1680 DCHECK(LocationOperand::cast(output)->index() < in MeetRegisterConstraintsForLastInstructionInBlock()
1682 range->SetSpillOperand(LocationOperand::cast(output)); in MeetRegisterConstraintsForLastInstructionInBlock()
1746 DCHECK(LocationOperand::cast(first_output)->index() < in MeetConstraintsAfter()
1748 range->SetSpillOperand(LocationOperand::cast(first_output)); in MeetConstraintsAfter()
1795 LocationOperand::STACK_SLOT, in MeetConstraintsBefore()
2053 LocationOperand::cast(operand)->GetRegister().code(), spill_mode); in LiveRangeFor()
2055 LocationOperand* op = LocationOperand::cast(operand); in LiveRangeFor()
/third_party/node/deps/v8/src/maglev/
Dmaglev-regalloc.cc453 compiler::AllocatedOperand source(compiler::LocationOperand::REGISTER, in DropRegisterValue()
456 compiler::AllocatedOperand target(compiler::LocationOperand::REGISTER, in DropRegisterValue()
697 return compiler::AllocatedOperand(compiler::LocationOperand::REGISTER, in ForceAllocate()
707 return compiler::AllocatedOperand(compiler::LocationOperand::REGISTER, in ForceAllocate()
726 return compiler::AllocatedOperand(compiler::LocationOperand::REGISTER, in TryAllocateRegister()
819 compiler::LocationOperand::REGISTER, MachineRepresentation::kTagged, in MergeRegisterValues()
Dmaglev-ir.h768 return compiler::AllocatedOperand(compiler::LocationOperand::REGISTER, in allocation()
/third_party/node/deps/v8/src/compiler/backend/s390/
Dcode-generator-s390.cc38 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is64BitOperand()
43 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is32BitOperand()
1085 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
1090 LocationOperand destination_location( in AssembleTailCallBeforeGap()
1091 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
1099 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1474 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
1965 LocationOperand* op = LocationOperand::cast(instr->InputAt(1)); in AssembleArchInstruction()
1996 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2011 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
[all …]
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dcode-generator-ppc.cc725 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
730 LocationOperand destination_location( in AssembleTailCallBeforeGap()
731 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
739 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1167 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
1673 LocationOperand* op = LocationOperand::cast(instr->InputAt(1)); in AssembleArchInstruction()
1705 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1726 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
4390 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4408 LocationOperand* op = LocationOperand::cast(source); in AssembleConstructFrame()
[all …]
/third_party/node/deps/v8/src/compiler/backend/x64/
Dcode-generator-x64.cc1117 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
1122 LocationOperand destination_location( in AssembleTailCallBeforeGap()
1123 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
1129 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1132 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
2708 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
2727 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
4593 LocationOperand::cast(instr->OutputAt(0))->representation(); in AssembleArchSelect()
4923 MachineRepresentation mr = LocationOperand::cast(operand)->representation(); in Is32BitOperand()
5035 LocationOperand::cast(source)->representation(); in AssembleMove()
[all …]
/third_party/node/deps/v8/src/compiler/backend/arm/
Dcode-generator-arm.cc600 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
605 LocationOperand destination_location( in AssembleTailCallBeforeGap()
606 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
614 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1728 LocationOperand* op = LocationOperand::cast(instr->InputAt(1)); in AssembleArchInstruction()
1764 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
3936 int src_code = LocationOperand::cast(source)->register_code(); in AssembleConstructFrame()
3937 int dst_code = LocationOperand::cast(destination)->register_code(); in AssembleConstructFrame()
3952 int src_code = LocationOperand::cast(source)->register_code(); in AssembleConstructFrame()
3973 int dst_code = LocationOperand::cast(destination)->register_code(); in AssembleConstructFrame()
[all …]
/third_party/node/deps/v8/src/compiler/backend/ia32/
Dcode-generator-ia32.cc624 (LocationOperand::cast(pushes.back()->destination()).index() + 1 == in AssembleTailCallBeforeGap()
628 LocationOperand destination_location( in AssembleTailCallBeforeGap()
629 LocationOperand::cast(move->destination())); in AssembleTailCallBeforeGap()
634 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
637 LocationOperand source_location(LocationOperand::cast(source)); in AssembleTailCallBeforeGap()
1754 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
4253 LocationOperand::cast(source)->representation(); in AssembleMove()
4273 LocationOperand::cast(source)->representation(); in AssembleMove()
4293 LocationOperand::cast(source)->representation(); in AssembleMove()
4394 LocationOperand::cast(source)->representation(); in AssembleSwap()
[all …]
/third_party/node/deps/v8/src/compiler/backend/mips/
Dinstruction-scheduler-mips.cc1654 auto op = LocationOperand::cast(instr->InputAt(0)); in GetInstructionLatency()
1670 auto op = LocationOperand::cast(instr->OutputAt(0)); in GetInstructionLatency()
1684 auto op = LocationOperand::cast(instr->InputAt(0)); in GetInstructionLatency()
Dcode-generator-mips.cc1607 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
1635 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
1657 LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); in AssembleArchInstruction()
4254 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4273 LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4286 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4352 LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4373 LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4402 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
/third_party/node/deps/v8/src/compiler/
Dgraph-visualizer.cc1179 const LocationOperand* allocated = LocationOperand::cast(op); in operator <<()
/third_party/node/deps/v8/src/compiler/backend/mips64/
Dcode-generator-mips64.cc1734 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
4458 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4482 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4540 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
4580 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleConstructFrame()
Dinstruction-scheduler-mips64.cc1680 auto op = LocationOperand::cast(instr->OutputAt(0)); in GetInstructionLatency()
/third_party/node/deps/v8/src/compiler/backend/riscv64/
Dinstruction-scheduler-riscv64.cc1486 auto op = LocationOperand::cast(instr->OutputAt(0)); in GetInstructionLatency()
Dcode-generator-riscv64.cc1703 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
4192 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
4228 MachineRepresentation rep = LocationOperand::cast(source)->representation(); in AssembleMove()
/third_party/node/deps/v8/src/compiler/backend/arm64/
Dcode-generator-arm64.cc1529 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
2954 LocationOperand::cast(instr->OutputAt(0))->representation(); in AssembleArchSelect()
/third_party/node/deps/v8/src/compiler/backend/loong64/
Dcode-generator-loong64.cc1549 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()