Lines Matching refs:Representation

269   bool AddAndCheckOverflow(const Representation& r, Range* other);
270 bool SubAndCheckOverflow(const Representation& r, Range* other);
271 bool MulAndCheckOverflow(const Representation& r, Range* other);
520 Representation representation() const { return representation_; } in representation()
521 void ChangeRepresentation(Representation r) { in ChangeRepresentation()
531 virtual void AssumeRepresentation(Representation r);
533 virtual Representation KnownOptimalRepresentation() { in KnownOptimalRepresentation()
534 Representation r = representation(); in KnownOptimalRepresentation()
537 if (t.IsSmi()) return Representation::Smi(); in KnownOptimalRepresentation()
538 if (t.IsHeapNumber()) return Representation::Double(); in KnownOptimalRepresentation()
540 return Representation::None(); in KnownOptimalRepresentation()
686 virtual Representation observed_input_representation(int index) { in observed_input_representation()
687 return Representation::None(); in observed_input_representation()
689 virtual Representation RequiredInputRepresentation(int index) = 0;
781 virtual Representation RepresentationFromInputs() { in RepresentationFromInputs()
784 virtual Representation RepresentationFromUses();
785 Representation RepresentationFromUseRequirements();
787 virtual void UpdateRepresentation(Representation new_rep,
792 virtual void RepresentationChanged(Representation to) { } in RepresentationChanged()
802 void set_representation(Representation r) { in set_representation()
847 Representation representation_;
1243 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1244 return Representation::None(); in RequiredInputRepresentation()
1258 set_representation(Representation::Tagged()); in HDummyUse()
1264 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1265 return Representation::None(); in RequiredInputRepresentation()
1279 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1280 return Representation::None(); in RequiredInputRepresentation()
1291 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1292 return Representation::None(); in RequiredInputRepresentation()
1310 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1311 return Representation::None(); in RequiredInputRepresentation()
1334 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1335 return Representation::None(); in RequiredInputRepresentation()
1381 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1382 return Representation::None(); in RequiredInputRepresentation()
1384 Representation observed_input_representation(int index) override;
1441 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1442 return Representation::Tagged(); in RequiredInputRepresentation()
1458 set_representation(Representation::Tagged()); in HUnaryControlInstruction()
1480 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1481 return Representation::None(); in RequiredInputRepresentation()
1491 set_representation(Representation::Tagged()); in HContext()
1504 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1506 if (index == 2) return Representation::Smi(); in RequiredInputRepresentation()
1507 return Representation::Tagged(); in RequiredInputRepresentation()
1531 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1532 return Representation::None(); in RequiredInputRepresentation()
1561 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1562 return Representation::None(); in RequiredInputRepresentation()
1576 Representation required_representation);
1580 Representation observed_input_representation(int index) override { in observed_input_representation()
1585 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1594 HForceRepresentation(HValue* value, Representation required_representation) { in DECLARE_CONCRETE_INSTRUCTION()
1604 Representation to, in HChange()
1634 Representation from() const { return value()->representation(); } in from()
1635 Representation to() const { return representation(); } in to()
1639 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1663 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1664 return Representation::None(); in RequiredInputRepresentation()
1675 set_representation(Representation::Integer32()); in HClampToUint8()
1689 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1690 return Representation::Double(); in RequiredInputRepresentation()
1705 set_representation(Representation::Integer32()); in HDoubleBits()
1719 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1720 return Representation::Integer32(); in RequiredInputRepresentation()
1733 set_representation(Representation::Double()); in HConstructDouble()
1796 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1797 return Representation::None(); in RequiredInputRepresentation()
1873 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1874 return Representation::None(); in RequiredInputRepresentation()
1915 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1916 return Representation::Tagged(); in RequiredInputRepresentation()
1984 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
1985 return Representation::None(); in RequiredInputRepresentation()
2034 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2035 return Representation::None(); in RequiredInputRepresentation()
2087 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2088 return Representation::Tagged(); in RequiredInputRepresentation()
2107 set_representation(Representation::Tagged()); in HPushArguments()
2118 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2119 return Representation::None(); in RequiredInputRepresentation()
2129 set_representation(Representation::Tagged()); in HThisFunction()
2149 Representation RequiredInputRepresentation(int index) override { in DECLARE_CONCRETE_INSTRUCTION()
2150 return Representation::Tagged(); in DECLARE_CONCRETE_INSTRUCTION()
2160 set_representation(Representation::Tagged()); in HDeclareGlobals()
2174 this->set_representation(Representation::Tagged()); in argument_count_()
2198 Representation RequiredInputRepresentation(int index) final { in RequiredInputRepresentation()
2199 return Representation::Tagged(); in RequiredInputRepresentation()
2218 Representation RequiredInputRepresentation(int index) final { in RequiredInputRepresentation()
2219 return Representation::Tagged(); in RequiredInputRepresentation()
2236 Representation RequiredInputRepresentation(int index) final { in RequiredInputRepresentation()
2238 return Representation::Tagged(); in RequiredInputRepresentation()
2278 Representation RequiredInputRepresentation(int index) final { in RequiredInputRepresentation()
2281 return Representation::Tagged(); in RequiredInputRepresentation()
2325 this->set_representation(Representation::Tagged()); in HCallWithDescriptor()
2476 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2477 return Representation::Tagged(); in RequiredInputRepresentation()
2500 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2501 return Representation::Tagged(); in RequiredInputRepresentation()
2512 set_representation(Representation::Smi()); in HMapEnumLength()
2531 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2533 return Representation::Tagged(); in RequiredInputRepresentation()
2543 return Representation::Double(); in RequiredInputRepresentation()
2547 return Representation::Integer32(); in RequiredInputRepresentation()
2550 return Representation::None(); in RequiredInputRepresentation()
2558 Representation RepresentationFromUses() override;
2559 Representation RepresentationFromInputs() override;
2594 set_representation(Representation::Integer32()); in HUnaryMathOperation()
2598 set_representation(Representation::Integer32()); in HUnaryMathOperation()
2612 set_representation(Representation::Double()); in HUnaryMathOperation()
2640 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2641 return Representation::None(); in RequiredInputRepresentation()
2661 set_representation(Representation::Tagged());
2701 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2702 return Representation::Tagged(); in RequiredInputRepresentation()
2765 set_representation(Representation::Tagged()); in HCheckMaps()
2781 set_representation(Representation::Tagged()); in HCheckMaps()
2829 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2830 return Representation::Tagged(); in RequiredInputRepresentation()
2857 set_representation(Representation::Tagged()); in HCheckValue()
2881 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2882 return Representation::Tagged(); in RequiredInputRepresentation()
2923 set_representation(Representation::Tagged()); in HCheckInstanceType()
2935 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2936 return Representation::Tagged(); in RequiredInputRepresentation()
2954 set_representation(Representation::Smi()); in HCheckSmi()
2965 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2966 return Representation::Tagged(); in RequiredInputRepresentation()
2983 set_representation(Representation::Tagged()); in HCheckArrayBufferNotNeutered()
2995 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
2996 return Representation::Tagged(); in RequiredInputRepresentation()
3019 set_representation(Representation::Tagged()); in HCheckHeapObject()
3254 Representation RepresentationFromInputs() override;
3258 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3261 Representation KnownOptimalRepresentation() override { in KnownOptimalRepresentation()
3302 Representation representation_from_indirect_uses() const { in representation_from_indirect_uses()
3330 Representation representation_from_non_phi_uses() const { in representation_from_non_phi_uses()
3340 Representation representation_from_indirect_uses_ = Representation::None();
3341 Representation representation_from_non_phi_uses_ = Representation::None();
3358 Representation RequiredInputRepresentation(int index) final { in RequiredInputRepresentation()
3359 return Representation::None(); in RequiredInputRepresentation()
3394 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
3404 set_representation(Representation::Tagged()); in HCapturedObject()
3447 DECLARE_INSTRUCTION_FACTORY_P2(HConstant, int32_t, Representation);
3454 Representation representation, in CreateAndInsertAfter()
3470 Representation representation, in CreateAndInsertBefore()
3482 Representation::Tagged(), HType::HeapObject(), true, in CreateAndInsertBefore()
3492 Representation::Tagged(), HType::HeapObject(), true, in CreateAndInsertAfter()
3525 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3526 return Representation::None(); in RequiredInputRepresentation()
3529 Representation KnownOptimalRepresentation() override { in KnownOptimalRepresentation()
3530 if (HasSmiValue() && SmiValuesAre31Bits()) return Representation::Smi(); in KnownOptimalRepresentation()
3531 if (HasInteger32Value()) return Representation::Integer32(); in KnownOptimalRepresentation()
3532 if (HasNumberValue()) return Representation::Double(); in KnownOptimalRepresentation()
3533 if (HasExternalReferenceValue()) return Representation::External(); in KnownOptimalRepresentation()
3534 return Representation::Tagged(); in KnownOptimalRepresentation()
3539 HConstant* CopyToRepresentation(Representation r, Zone* zone) const;
3694 Representation r = Representation::None());
3696 Representation r = Representation::None(),
3700 Representation r = Representation::None(),
3706 Representation r,
3715 void Initialize(Representation r);
3762 observed_output_representation_(Representation::None()) {
3767 observed_input_representation_[0] = Representation::None();
3768 observed_input_representation_[1] = Representation::None();
3799 void set_observed_input_representation(int index, Representation rep) { in set_observed_input_representation()
3804 virtual void initialize_output_representation(Representation observed) { in initialize_output_representation()
3808 Representation observed_input_representation(int index) override { in observed_input_representation()
3809 if (index == 0) return Representation::Tagged(); in observed_input_representation()
3813 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
3816 Representation rep = !FLAG_smi_binop && new_rep.IsSmi() in UpdateRepresentation()
3817 ? Representation::Integer32() : new_rep; in UpdateRepresentation()
3822 Representation RepresentationFromInputs() override;
3823 Representation RepresentationFromOutput();
3824 void AssumeRepresentation(Representation r) override;
3830 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3831 if (index == 0) return Representation::Tagged(); in RequiredInputRepresentation()
3855 bool IgnoreObservedOutputRepresentation(Representation current_rep);
3858 Representation observed_input_representation_[2];
3859 Representation observed_output_representation_;
3869 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3870 return Representation::Tagged(); in RequiredInputRepresentation()
3887 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
3902 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3905 ? Representation::Integer32() in RequiredInputRepresentation()
3906 : Representation::Tagged(); in RequiredInputRepresentation()
3921 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
3937 Representation RequiredInputRepresentation(int index) override { in DECLARE_CONCRETE_INSTRUCTION()
3938 return Representation::None(); in DECLARE_CONCRETE_INSTRUCTION()
3950 set_representation(Representation::Tagged()); in HArgumentsElements()
3964 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3965 return Representation::Tagged(); in RequiredInputRepresentation()
3975 set_representation(Representation::Integer32()); in HArgumentsLength()
3989 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
3992 ? Representation::Tagged() in RequiredInputRepresentation()
3993 : Representation::Integer32(); in RequiredInputRepresentation()
4004 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4047 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4112 Representation RequiredInputRepresentation(int index) override { in DECLARE_CONCRETE_INSTRUCTION()
4134 void RepresentationChanged(Representation to) override { in RepresentationChanged()
4146 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4150 if (new_rep.IsDouble()) new_rep = Representation::Integer32(); in UpdateRepresentation()
4154 Representation observed_input_representation(int index) override { in observed_input_representation()
4155 Representation r = HBinaryOperation::observed_input_representation(index); in observed_input_representation()
4156 if (r.IsDouble()) return Representation::Integer32(); in observed_input_representation()
4160 void initialize_output_representation(Representation observed) override { in initialize_output_representation()
4161 if (observed.IsDouble()) observed = Representation::Integer32(); in initialize_output_representation()
4186 set_representation(Representation::Integer32()); in HMathFloorOfDiv()
4213 void RepresentationChanged(Representation to) override { in RepresentationChanged()
4240 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4242 ? Representation::Tagged() in RequiredInputRepresentation()
4257 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4288 void set_observed_input_representation(Representation left, in set_observed_input_representation()
4289 Representation right) { in set_observed_input_representation()
4296 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4299 Representation observed_input_representation(int index) override { in observed_input_representation()
4330 Representation observed_input_representation_[2];
4344 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4367 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4401 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4402 return Representation::Tagged(); in RequiredInputRepresentation()
4405 Representation observed_input_representation(int index) override { in observed_input_representation()
4406 return Representation::Tagged(); in observed_input_representation()
4433 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4434 return Representation::Tagged(); in RequiredInputRepresentation()
4455 set_representation(Representation::Tagged()); in HUnaryControlInstruction()
4470 Representation RequiredInputRepresentation(int index) override { in DECLARE_CONCRETE_INSTRUCTION()
4471 return Representation::Tagged(); in DECLARE_CONCRETE_INSTRUCTION()
4483 set_representation(Representation::Tagged()); in HUnaryControlInstruction()
4494 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4495 return Representation::Tagged(); in RequiredInputRepresentation()
4524 Representation RequiredInputRepresentation(int index) final { in RequiredInputRepresentation()
4525 return Representation::Tagged(); in RequiredInputRepresentation()
4538 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4560 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4561 return Representation::Tagged(); in RequiredInputRepresentation()
4585 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4586 return Representation::Tagged(); in RequiredInputRepresentation()
4600 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4601 return Representation::Tagged(); in RequiredInputRepresentation()
4611 set_representation(Representation::Tagged()); in HGetCachedArrayIndex()
4626 Representation RequiredInputRepresentation(int index) override { in DECLARE_CONCRETE_INSTRUCTION()
4627 return Representation::Tagged(); in DECLARE_CONCRETE_INSTRUCTION()
4652 Representation RequiredInputRepresentation(int index) override { in DECLARE_CONCRETE_INSTRUCTION()
4653 return Representation::None(); in DECLARE_CONCRETE_INSTRUCTION()
4675 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4676 return Representation::Tagged(); in RequiredInputRepresentation()
4687 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4702 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4703 return Representation::Tagged(); in RequiredInputRepresentation()
4730 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
4732 ? Representation::Double() in RequiredInputRepresentation()
4733 : Representation::None(); in RequiredInputRepresentation()
4735 Representation observed_input_representation(int index) override { in observed_input_representation()
4748 set_representation(Representation::Double()); in HPower()
4796 void RepresentationChanged(Representation to) override { in RepresentationChanged()
4812 Representation RepresentationFromInputs() override;
4814 Representation RequiredInputRepresentation(int index) override;
4914 mul->AssumeRepresentation(Representation::Integer32());
4924 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4955 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4958 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
4987 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4990 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5017 Representation observed_input_representation(int index) override { in observed_input_representation()
5023 Representation RepresentationFromInputs() override { in RepresentationFromInputs()
5024 Representation left_rep = left()->representation(); in RepresentationFromInputs()
5025 Representation right_rep = right()->representation(); in RepresentationFromInputs()
5026 Representation result = Representation::Smi(); in RepresentationFromInputs()
5029 if (result.IsTagged()) return Representation::Double(); in RepresentationFromInputs()
5121 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5127 new_rep = Representation::Integer32(); in UpdateRepresentation()
5163 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5166 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5201 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5204 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5227 void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5230 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5242 ChangeRepresentation(Representation::Integer32()); in HRor()
5253 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5254 return Representation::None(); in RequiredInputRepresentation()
5279 Representation);
5286 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5287 return Representation::None(); in RequiredInputRepresentation()
5290 Representation KnownOptimalRepresentation() override { in KnownOptimalRepresentation()
5293 return Representation::Tagged(); in KnownOptimalRepresentation()
5303 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5308 Representation r) in HParameter()
5346 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5347 return Representation::None(); in RequiredInputRepresentation()
5355 Representation KnownOptimalRepresentation() override { in KnownOptimalRepresentation()
5356 if (incoming_value_ == NULL) return Representation::None(); in KnownOptimalRepresentation()
5367 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5398 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5399 return Representation::Tagged(); in RequiredInputRepresentation()
5410 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5450 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5452 return Representation::Tagged(); in RequiredInputRepresentation()
5454 return Representation::Integer32(); in RequiredInputRepresentation()
5524 set_representation(Representation::Tagged());
5603 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5604 return Representation::Tagged(); in RequiredInputRepresentation()
5631 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5632 return index == 0 ? Representation::Tagged() : Representation::Integer32(); in RequiredInputRepresentation()
5647 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5720 set_representation(Representation::Tagged()); in HLoadContextSlot()
5736 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5737 return Representation::Tagged(); in RequiredInputRepresentation()
5793 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
5794 return Representation::Tagged(); in RequiredInputRepresentation()
5838 inline Representation representation() const { in representation()
5839 return Representation::FromKind(RepresentationField::decode(value_)); in representation()
5854 inline HObjectAccess WithRepresentation(Representation representation) { in WithRepresentation()
5861 kDouble, HeapNumber::kValueOffset, Representation::Double()); in ForHeapNumberValue()
5867 Representation::Integer32()); in ForHeapNumberValueLowestBits()
5873 Representation::Integer32()); in ForHeapNumberValueHighestBits()
5877 Representation representation = Representation::Tagged()) {
5883 Representation::HeapObject()); in ForOddballTypeOf()
5903 ? Representation::Smi() : Representation::Tagged()); in ForArrayLength()
5909 return HObjectAccess(kExternalMemory, 0, Representation::Tagged(), in ForAllocationSiteList()
5917 Representation::Smi()); in ForFixedArrayLength()
5922 Representation::Tagged()); in ForFixedTypedArrayBaseBasePointer()
5928 Representation::External()); in ForFixedTypedArrayBaseExternalPointer()
5934 Representation::Integer32()); in ForStringHashField()
5942 Representation::Smi()); in ForStringLength()
5997 Representation::Integer32()); in ForMapAsInteger32()
6003 Representation::UInteger8()); in ForMapInObjectPropertiesOrConstructorFunctionIndex()
6009 Representation::UInteger8()); in ForMapInstanceType()
6015 Representation::UInteger8()); in ForMapInstanceSize()
6021 Representation::UInteger8()); in ForMapBitField()
6027 Representation::UInteger8()); in ForMapBitField2()
6033 Representation::Integer32()); in ForNameHashField()
6043 Representation::UInteger16()); in ForMapInstanceTypeAndBitField()
6052 Representation::Smi()); in ForPropertyCellDetails()
6072 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), in ForCounter()
6077 return HObjectAccess(kExternalMemory, 0, Representation::UInteger8(), in ForExternalUInteger8()
6090 Representation representation = Representation::Tagged());
6096 Representation representation = Representation::Tagged()) {
6109 Representation representation = Representation::Tagged());
6113 Representation representation,
6123 JSArrayBuffer::kBackingStoreOffset, Representation::External()); in ForJSArrayBufferBackingStore()
6128 JSArrayBuffer::kByteLengthOffset, Representation::Tagged()); in ForJSArrayBufferByteLength()
6133 JSArrayBuffer::kBitFieldOffset, Representation::Integer32()); in ForJSArrayBufferBitField()
6138 JSArrayBuffer::kBitFieldSlot, Representation::Smi()); in ForJSArrayBufferBitFieldSlot()
6176 Representation::Smi()); in ForOrderedHashTableNumberOfBuckets()
6182 Representation::Smi()); in ForOrderedHashTableNumberOfElements()
6189 Representation::Smi()); in ForOrderedHashTableNumberOfDeletedElements()
6201 Representation::Smi()); in ForOrderedHashTableBucket()
6236 Representation representation = Representation::Tagged(),
6256 class RepresentationField : public BitField<Representation::Kind, 3, 4> {};
6293 Representation field_representation() const { in field_representation()
6303 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6306 return access().IsExternalMemory() ? Representation::External() in RequiredInputRepresentation()
6307 : Representation::Tagged(); in RequiredInputRepresentation()
6310 return Representation::None(); in RequiredInputRepresentation()
6347 Representation representation = access.representation(); in HLoadNamedField()
6352 set_representation(Representation::Integer32()); in HLoadNamedField()
6356 set_representation(Representation::Integer32()); in HLoadNamedField()
6366 set_representation(Representation::Tagged()); in HLoadNamedField()
6368 set_representation(Representation::Tagged()); in HLoadNamedField()
6388 set_representation(Representation::Tagged()); in HLoadNamedField()
6424 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6425 return Representation::Tagged(); in RequiredInputRepresentation()
6443 set_representation(Representation::Tagged()); in HLoadNamedGeneric()
6461 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6462 return Representation::Tagged(); in RequiredInputRepresentation()
6473 set_representation(Representation::Tagged()); in HLoadFunctionPrototype()
6490 static Representation KeyedAccessIndexRequirement(Representation r) { in KeyedAccessIndexRequirement()
6492 ? Representation::Integer32() : Representation::Smi(); in KeyedAccessIndexRequirement()
6548 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6554 return is_fixed_typed_array() ? Representation::External() in RequiredInputRepresentation()
6555 : Representation::Tagged(); in RequiredInputRepresentation()
6562 return Representation::None(); in RequiredInputRepresentation()
6565 return HasBackingStoreOwner() ? Representation::Tagged() in RequiredInputRepresentation()
6566 : Representation::None(); in RequiredInputRepresentation()
6569 Representation observed_input_representation(int index) override { in observed_input_representation()
6623 set_representation(Representation::Integer32());
6625 set_representation(Representation::Smi());
6628 set_representation(Representation::Tagged());
6633 set_representation(Representation::Double());
6639 set_representation(Representation::Double());
6641 set_representation(Representation::Integer32());
6718 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6720 return Representation::Tagged(); in RequiredInputRepresentation()
6735 set_representation(Representation::Tagged()); in HLoadKeyedGeneric()
6773 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6776 return Representation::External(); in RequiredInputRepresentation()
6783 return Representation::Integer32(); in RequiredInputRepresentation()
6789 return Representation::Integer32(); in RequiredInputRepresentation()
6793 return Representation::External(); in RequiredInputRepresentation()
6796 return Representation::Tagged(); in RequiredInputRepresentation()
6861 Representation field_representation() const { in field_representation()
6924 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6925 return Representation::Tagged(); in RequiredInputRepresentation()
6973 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
6980 return is_fixed_typed_array() ? Representation::External() in RequiredInputRepresentation()
6981 : Representation::Tagged(); in RequiredInputRepresentation()
6990 return HasBackingStoreOwner() ? Representation::Tagged() in RequiredInputRepresentation()
6991 : Representation::None(); in RequiredInputRepresentation()
6994 static Representation RequiredValueRepresentation( in RequiredValueRepresentation()
6997 return Representation::Double(); in RequiredValueRepresentation()
7002 return Representation::Integer32(); in RequiredValueRepresentation()
7006 return Representation::Smi(); in RequiredValueRepresentation()
7010 return Representation::Integer32(); in RequiredValueRepresentation()
7012 return Representation::Tagged(); in RequiredValueRepresentation()
7019 Representation observed_input_representation(int index) override { in observed_input_representation()
7022 return Representation::None(); in observed_input_representation()
7024 Representation r = in observed_input_representation()
7027 if (r.IsTagged()) return Representation::None(); in observed_input_representation()
7160 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7162 return Representation::Tagged(); in RequiredInputRepresentation()
7212 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7213 return Representation::Tagged(); in RequiredInputRepresentation()
7259 set_representation(Representation::Tagged()); in HTransitionElementsKind()
7283 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7284 return Representation::Tagged(); in RequiredInputRepresentation()
7304 set_representation(Representation::Tagged()); in HStringAdd()
7337 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7340 ? Representation::Integer32() in RequiredInputRepresentation()
7341 : Representation::Tagged(); in RequiredInputRepresentation()
7362 set_representation(Representation::Integer32()); in HStringCharCodeAt()
7379 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7381 ? Representation::Tagged() in RequiredInputRepresentation()
7382 : Representation::Integer32(); in RequiredInputRepresentation()
7397 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7417 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7418 return Representation::Tagged(); in RequiredInputRepresentation()
7427 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7438 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7439 return Representation::Tagged(); in RequiredInputRepresentation()
7459 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7461 return Representation::Tagged(); in RequiredInputRepresentation()
7464 return Representation::Integer32(); in RequiredInputRepresentation()
7497 set_representation(Representation::Tagged()); in HMaybeGrowElements()
7509 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7510 return Representation::Tagged(); in RequiredInputRepresentation()
7517 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7540 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7541 return (index == 0) ? Representation::Tagged() in RequiredInputRepresentation()
7542 : Representation::Integer32(); in RequiredInputRepresentation()
7571 set_representation(Representation::Integer32()); in HSeqStringGetChar()
7594 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7595 return (index <= 1) ? Representation::Tagged() in RequiredInputRepresentation()
7596 : Representation::Integer32(); in RequiredInputRepresentation()
7611 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7623 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7624 return Representation::Tagged(); in RequiredInputRepresentation()
7651 set_representation(Representation::Tagged()); in HCheckMapValue()
7663 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7664 return Representation::Tagged(); in RequiredInputRepresentation()
7681 set_representation(Representation::Tagged()); in HForInPrepareMap()
7691 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7692 return Representation::Tagged(); in RequiredInputRepresentation()
7719 set_representation(Representation::Tagged()); in HForInCacheArray()
7736 set_representation(Representation::Tagged()); in HLoadFieldByIndex()
7739 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7741 return Representation::Smi(); in RequiredInputRepresentation()
7743 return Representation::Tagged(); in RequiredInputRepresentation()
7767 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7768 return Representation::Tagged(); in RequiredInputRepresentation()
7775 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7789 Representation RequiredInputRepresentation(int index) override { in RequiredInputRepresentation()
7790 return Representation::Tagged(); in RequiredInputRepresentation()
7804 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()