/external/v8/src/compiler/ |
D | gap-resolver.cc | 30 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()
|
D | instruction.h | 424 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 …]
|
D | code-generator-impl.h | 131 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()
|
D | instruction.cc | 75 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()
|
D | code-generator.cc | 440 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 …]
|
D | move-optimizer.cc | 40 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()
|
D | register-allocator-verifier.cc | 244 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()
|
D | instruction-selector-impl.h | 196 return ExplicitOperand(LocationOperand::REGISTER, rep, in UseExplicit() 199 return ExplicitOperand(LocationOperand::STACK_SLOT, rep, in UseExplicit()
|
D | register-allocator.cc | 308 *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/ |
D | code-generator-ppc.cc | 810 (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()
|
D | instruction-selector-ppc.cc | 74 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer() 75 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
|
/external/v8/src/compiler/s390/ |
D | code-generator-s390.cc | 34 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 …]
|
D | instruction-selector-s390.cc | 251 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer() 252 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
|
/external/v8/src/compiler/arm/ |
D | code-generator-arm.cc | 618 (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 …]
|
D | instruction-selector-arm.cc | 81 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer() 82 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
|
/external/v8/src/compiler/x64/ |
D | code-generator-x64.cc | 595 (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 …]
|
D | instruction-selector-x64.cc | 1749 LocationOperand rsp(InstructionOperand::EXPLICIT, LocationOperand::REGISTER, in VisitWord64Compare()
|
/external/v8/src/compiler/mips/ |
D | code-generator-mips.cc | 1562 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()
|
D | instruction-scheduler-mips.cc | 1572 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/ |
D | code-generator-ia32.cc | 559 (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 …]
|
D | instruction-selector-ia32.cc | 1287 LocationOperand esp(InstructionOperand::EXPLICIT, LocationOperand::REGISTER, in VisitWordCompare()
|
/external/v8/src/compiler/mips64/ |
D | code-generator-mips64.cc | 1793 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()
|
D | instruction-scheduler-mips64.cc | 1609 auto op = LocationOperand::cast(instr->OutputAt(0)); in GetInstructionLatency()
|
/external/v8/src/compiler/arm64/ |
D | instruction-selector-arm64.cc | 56 return LocationOperand(LocationOperand::EXPLICIT, in UseRegisterOrStackPointer() 57 LocationOperand::REGISTER, in UseRegisterOrStackPointer()
|
D | code-generator-arm64.cc | 1246 LocationOperand* op = LocationOperand::cast(instr->OutputAt(0)); in AssembleArchInstruction()
|