Lines Matching refs:Representation

279   bool AddAndCheckOverflow(const Representation& r, Range* other);
280 bool SubAndCheckOverflow(const Representation& r, Range* other);
281 bool MulAndCheckOverflow(const Representation& r, Range* other);
588 Representation representation() const { return representation_; } in representation()
589 void ChangeRepresentation(Representation r) { in ChangeRepresentation()
599 virtual void AssumeRepresentation(Representation r);
601 virtual Representation KnownOptimalRepresentation() { in KnownOptimalRepresentation()
602 Representation r = representation(); in KnownOptimalRepresentation()
605 if (t.IsSmi()) return Representation::Smi(); in KnownOptimalRepresentation()
606 if (t.IsHeapNumber()) return Representation::Double(); in KnownOptimalRepresentation()
608 return Representation::None(); in KnownOptimalRepresentation()
754 virtual Representation observed_input_representation(int index) { in observed_input_representation()
755 return Representation::None(); in observed_input_representation()
757 virtual Representation RequiredInputRepresentation(int index) = 0;
849 virtual Representation RepresentationFromInputs() { in RepresentationFromInputs()
852 virtual Representation RepresentationFromUses();
853 Representation RepresentationFromUseRequirements();
855 virtual void UpdateRepresentation(Representation new_rep,
860 virtual void RepresentationChanged(Representation to) { } in RepresentationChanged()
870 void set_representation(Representation r) { in set_representation()
915 Representation representation_;
1326 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1327 return Representation::None(); in RequiredInputRepresentation()
1341 set_representation(Representation::Tagged()); in HDummyUse()
1347 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1348 return Representation::None(); in RequiredInputRepresentation()
1362 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1363 return Representation::None(); in RequiredInputRepresentation()
1381 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1382 return Representation::None(); in RequiredInputRepresentation()
1406 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1407 return Representation::None(); in RequiredInputRepresentation()
1453 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1454 return Representation::None(); in RequiredInputRepresentation()
1456 virtual Representation observed_input_representation(int index) OVERRIDE;
1508 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1509 return Representation::Tagged(); in RequiredInputRepresentation()
1526 set_representation(Representation::Tagged()); in HUnaryControlInstruction()
1541 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1542 return Representation::None(); in RequiredInputRepresentation()
1552 set_representation(Representation::Tagged()); in HContext()
1565 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1567 if (index == 2) return Representation::Smi(); in RequiredInputRepresentation()
1568 return Representation::Tagged(); in RequiredInputRepresentation()
1592 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1593 return Representation::None(); in RequiredInputRepresentation()
1622 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1623 return Representation::None(); in RequiredInputRepresentation()
1636 Representation required_representation);
1640 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1649 HForceRepresentation(HValue* value, Representation required_representation) { in DECLARE_CONCRETE_INSTRUCTION()
1659 Representation to, in HChange()
1689 Representation from() const { return value()->representation(); } in from()
1690 Representation to() const { return representation(); } in to()
1694 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1718 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1719 return Representation::None(); in RequiredInputRepresentation()
1730 set_representation(Representation::Integer32()); in HClampToUint8()
1744 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1745 return Representation::Double(); in RequiredInputRepresentation()
1760 set_representation(Representation::Integer32()); in HDoubleBits()
1774 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1775 return Representation::Integer32(); in RequiredInputRepresentation()
1788 set_representation(Representation::Double()); in HConstructDouble()
1855 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1856 return Representation::None(); in RequiredInputRepresentation()
1921 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1922 return Representation::None(); in RequiredInputRepresentation()
1963 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
1964 return Representation::Tagged(); in RequiredInputRepresentation()
2029 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2030 return Representation::None(); in RequiredInputRepresentation()
2075 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2076 return Representation::None(); in RequiredInputRepresentation()
2126 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2127 return Representation::Tagged(); in RequiredInputRepresentation()
2152 set_representation(Representation::Tagged()); in HPushArguments()
2163 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2164 return Representation::None(); in RequiredInputRepresentation()
2174 set_representation(Representation::Tagged()); in HThisFunction()
2194 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in DECLARE_CONCRETE_INSTRUCTION()
2195 return Representation::Tagged(); in DECLARE_CONCRETE_INSTRUCTION()
2205 set_representation(Representation::Tagged()); in HDeclareGlobals()
2219 this->set_representation(Representation::Tagged()); in argument_count_()
2247 virtual Representation RequiredInputRepresentation( in RequiredInputRepresentation()
2249 return Representation::Tagged(); in RequiredInputRepresentation()
2268 virtual Representation RequiredInputRepresentation( in RequiredInputRepresentation()
2270 return Representation::Tagged(); in RequiredInputRepresentation()
2290 virtual Representation RequiredInputRepresentation( in RequiredInputRepresentation()
2293 return Representation::Tagged(); in RequiredInputRepresentation()
2340 virtual Representation RequiredInputRepresentation( in RequiredInputRepresentation()
2343 return Representation::Tagged(); in RequiredInputRepresentation()
2385 this->set_representation(Representation::Tagged()); in HCallWithDescriptor()
2537 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2538 return Representation::Tagged(); in RequiredInputRepresentation()
2563 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2564 return Representation::Tagged(); in RequiredInputRepresentation()
2575 set_representation(Representation::Smi()); in HMapEnumLength()
2596 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2598 return Representation::Tagged(); in RequiredInputRepresentation()
2608 return Representation::Double(); in RequiredInputRepresentation()
2612 return Representation::Integer32(); in RequiredInputRepresentation()
2615 return Representation::None(); in RequiredInputRepresentation()
2623 virtual Representation RepresentationFromUses() OVERRIDE;
2624 virtual Representation RepresentationFromInputs() OVERRIDE;
2657 set_representation(Representation::Integer32()); in HUnaryMathOperation()
2661 set_representation(Representation::Integer32()); in HUnaryMathOperation()
2675 set_representation(Representation::Double()); in HUnaryMathOperation()
2698 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2699 return Representation::None(); in RequiredInputRepresentation()
2755 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2756 return Representation::Tagged(); in RequiredInputRepresentation()
2813 set_representation(Representation::Tagged()); in HCheckMaps()
2827 set_representation(Representation::Tagged()); in HCheckMaps()
2869 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2870 return Representation::Tagged(); in RequiredInputRepresentation()
2897 set_representation(Representation::Tagged()); in HCheckValue()
2920 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2921 return Representation::Tagged(); in RequiredInputRepresentation()
2961 set_representation(Representation::Tagged()); in HCheckInstanceType()
2973 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
2974 return Representation::Tagged(); in RequiredInputRepresentation()
2992 set_representation(Representation::Smi()); in HCheckSmi()
3003 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3004 return Representation::Tagged(); in RequiredInputRepresentation()
3027 set_representation(Representation::Tagged()); in HCheckHeapObject()
3260 for (int i = 0; i < Representation::kNumRepresentations; i++) { in HPhi()
3269 virtual Representation RepresentationFromInputs() OVERRIDE;
3274 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3277 virtual Representation KnownOptimalRepresentation() OVERRIDE { in KnownOptimalRepresentation()
3322 return non_phi_uses_[Representation::kTagged]; in tagged_non_phi_uses()
3325 return non_phi_uses_[Representation::kSmi]; in smi_non_phi_uses()
3328 return non_phi_uses_[Representation::kInteger32]; in int32_non_phi_uses()
3331 return non_phi_uses_[Representation::kDouble]; in double_non_phi_uses()
3334 return indirect_uses_[Representation::kTagged]; in tagged_indirect_uses()
3337 return indirect_uses_[Representation::kSmi]; in smi_indirect_uses()
3340 return indirect_uses_[Representation::kInteger32]; in int32_indirect_uses()
3343 return indirect_uses_[Representation::kDouble]; in double_indirect_uses()
3368 int non_phi_uses_[Representation::kNumRepresentations];
3369 int indirect_uses_[Representation::kNumRepresentations];
3393 virtual Representation RequiredInputRepresentation( in RequiredInputRepresentation()
3395 return Representation::None(); in RequiredInputRepresentation()
3430 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
3440 set_representation(Representation::Tagged()); in HCapturedObject()
3480 DECLARE_INSTRUCTION_FACTORY_P2(HConstant, int32_t, Representation);
3488 Representation representation, in CreateAndInsertAfter()
3505 Representation representation, in CreateAndInsertBefore()
3517 Representation::Tagged(), HType::HeapObject(), true, in CreateAndInsertBefore()
3527 Representation::Tagged(), HType::HeapObject(), true, in CreateAndInsertAfter()
3564 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3565 return Representation::None(); in RequiredInputRepresentation()
3568 virtual Representation KnownOptimalRepresentation() OVERRIDE { in KnownOptimalRepresentation()
3569 if (HasSmiValue() && SmiValuesAre31Bits()) return Representation::Smi(); in KnownOptimalRepresentation()
3570 if (HasInteger32Value()) return Representation::Integer32(); in KnownOptimalRepresentation()
3571 if (HasNumberValue()) return Representation::Double(); in KnownOptimalRepresentation()
3572 if (HasExternalReferenceValue()) return Representation::External(); in KnownOptimalRepresentation()
3573 return Representation::Tagged(); in KnownOptimalRepresentation()
3578 HConstant* CopyToRepresentation(Representation r, Zone* zone) const;
3712 Representation r = Representation::None());
3714 Representation r = Representation::None(),
3718 Representation r = Representation::None(),
3724 Representation r,
3733 void Initialize(Representation r);
3775 observed_output_representation_(Representation::None()) {
3780 observed_input_representation_[0] = Representation::None();
3781 observed_input_representation_[1] = Representation::None();
3811 void set_observed_input_representation(int index, Representation rep) { in set_observed_input_representation()
3816 virtual void initialize_output_representation(Representation observed) { in initialize_output_representation()
3820 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
3821 if (index == 0) return Representation::Tagged(); in observed_input_representation()
3825 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
3828 Representation rep = !FLAG_smi_binop && new_rep.IsSmi() in UpdateRepresentation()
3829 ? Representation::Integer32() : new_rep; in UpdateRepresentation()
3835 virtual Representation RepresentationFromInputs() OVERRIDE;
3836 Representation RepresentationFromOutput();
3837 virtual void AssumeRepresentation(Representation r) OVERRIDE;
3843 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3844 if (index == 0) return Representation::Tagged(); in RequiredInputRepresentation()
3867 bool IgnoreObservedOutputRepresentation(Representation current_rep);
3869 Representation observed_input_representation_[2];
3870 Representation observed_output_representation_;
3880 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3881 return Representation::Tagged(); in RequiredInputRepresentation()
3898 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
3913 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3916 ? Representation::Integer32() in RequiredInputRepresentation()
3917 : Representation::Tagged(); in RequiredInputRepresentation()
3932 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
3948 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in DECLARE_CONCRETE_INSTRUCTION()
3949 return Representation::None(); in DECLARE_CONCRETE_INSTRUCTION()
3961 set_representation(Representation::Tagged()); in HArgumentsElements()
3975 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
3976 return Representation::Tagged(); in RequiredInputRepresentation()
3986 set_representation(Representation::Integer32()); in HArgumentsLength()
4000 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4003 ? Representation::Tagged() in RequiredInputRepresentation()
4004 : Representation::Integer32(); in RequiredInputRepresentation()
4015 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4058 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4129 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in DECLARE_CONCRETE_INSTRUCTION()
4151 virtual void RepresentationChanged(Representation to) OVERRIDE { in RepresentationChanged()
4163 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4167 if (new_rep.IsDouble()) new_rep = Representation::Integer32(); in UpdateRepresentation()
4171 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
4172 Representation r = HBinaryOperation::observed_input_representation(index); in observed_input_representation()
4173 if (r.IsDouble()) return Representation::Integer32(); in observed_input_representation()
4177 virtual void initialize_output_representation(Representation observed) { in initialize_output_representation()
4178 if (observed.IsDouble()) observed = Representation::Integer32(); in initialize_output_representation()
4203 set_representation(Representation::Integer32()); in HMathFloorOfDiv()
4228 virtual void RepresentationChanged(Representation to) OVERRIDE { in RepresentationChanged()
4252 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4254 ? Representation::Tagged() in RequiredInputRepresentation()
4271 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4291 void set_observed_input_representation(Representation left, in set_observed_input_representation()
4292 Representation right) { in set_observed_input_representation()
4300 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4303 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
4335 Representation observed_input_representation_[2];
4349 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4373 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4407 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4408 return Representation::Tagged(); in RequiredInputRepresentation()
4411 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
4412 return Representation::Tagged(); in observed_input_representation()
4439 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4440 return Representation::Tagged(); in RequiredInputRepresentation()
4461 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4462 return Representation::Tagged(); in RequiredInputRepresentation()
4497 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in DECLARE_CONCRETE_INSTRUCTION()
4498 return Representation::Tagged(); in DECLARE_CONCRETE_INSTRUCTION()
4510 set_representation(Representation::Tagged()); in HUnaryControlInstruction()
4521 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4522 return Representation::Tagged(); in RequiredInputRepresentation()
4551 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4552 return Representation::Tagged(); in RequiredInputRepresentation()
4555 Representation GetInputRepresentation() const { in GetInputRepresentation()
4556 return Representation::Tagged(); in GetInputRepresentation()
4571 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4583 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4584 return Representation::None(); in RequiredInputRepresentation()
4605 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4606 return Representation::Tagged(); in RequiredInputRepresentation()
4630 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4631 return Representation::Tagged(); in RequiredInputRepresentation()
4645 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4646 return Representation::Tagged(); in RequiredInputRepresentation()
4656 set_representation(Representation::Tagged()); in HGetCachedArrayIndex()
4671 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in DECLARE_CONCRETE_INSTRUCTION()
4672 return Representation::Tagged(); in DECLARE_CONCRETE_INSTRUCTION()
4697 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in DECLARE_CONCRETE_INSTRUCTION()
4698 return Representation::None(); in DECLARE_CONCRETE_INSTRUCTION()
4720 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4721 return Representation::Tagged(); in RequiredInputRepresentation()
4731 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4747 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4748 return Representation::Tagged(); in RequiredInputRepresentation()
4760 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
4778 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
4780 ? Representation::Double() in RequiredInputRepresentation()
4781 : Representation::None(); in RequiredInputRepresentation()
4783 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
4796 set_representation(Representation::Double()); in HPower()
4835 virtual void RepresentationChanged(Representation to) OVERRIDE { in RepresentationChanged()
4851 virtual Representation RepresentationFromInputs() OVERRIDE;
4853 virtual Representation RequiredInputRepresentation(int index) OVERRIDE;
4918 mul->AssumeRepresentation(Representation::Integer32()); in NewImul()
4930 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4962 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4965 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
4996 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
4999 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5029 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
5036 virtual Representation RepresentationFromInputs() OVERRIDE { in RepresentationFromInputs()
5037 Representation left_rep = left()->representation(); in RepresentationFromInputs()
5038 Representation right_rep = right()->representation(); in RepresentationFromInputs()
5039 Representation result = Representation::Smi(); in RepresentationFromInputs()
5042 if (result.IsTagged()) return Representation::Double(); in RepresentationFromInputs()
5140 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5146 new_rep = Representation::Integer32(); in UpdateRepresentation()
5183 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5186 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5222 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5225 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5249 virtual void UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
5252 if (new_rep.IsSmi()) new_rep = Representation::Integer32(); in UpdateRepresentation()
5264 ChangeRepresentation(Representation::Integer32()); in HRor()
5275 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5276 return Representation::None(); in RequiredInputRepresentation()
5301 Representation);
5308 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5309 return Representation::None(); in RequiredInputRepresentation()
5319 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5324 Representation r) in HParameter()
5361 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5362 return Representation::Tagged(); in RequiredInputRepresentation()
5393 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5394 return Representation::None(); in RequiredInputRepresentation()
5402 virtual Representation KnownOptimalRepresentation() OVERRIDE { in KnownOptimalRepresentation()
5403 if (incoming_value_ == NULL) return Representation::None(); in KnownOptimalRepresentation()
5414 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5441 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5442 return Representation::None(); in RequiredInputRepresentation()
5455 set_representation(Representation::Tagged()); in HLoadGlobalCell()
5490 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5491 return Representation::Tagged(); in RequiredInputRepresentation()
5503 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5547 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5549 return Representation::Tagged(); in RequiredInputRepresentation()
5551 return Representation::Integer32(); in RequiredInputRepresentation()
5626 set_representation(Representation::Tagged());
5711 virtual Representation RequiredInputRepresentation(int index) { in RequiredInputRepresentation()
5712 return Representation::Tagged(); in RequiredInputRepresentation()
5741 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5742 return index == 0 ? Representation::Tagged() : Representation::Integer32(); in RequiredInputRepresentation()
5757 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
5840 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5841 return Representation::Tagged(); in RequiredInputRepresentation()
5879 set_representation(Representation::Tagged()); in HLoadContextSlot()
5895 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5896 return Representation::Tagged(); in RequiredInputRepresentation()
5952 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
5953 return Representation::Tagged(); in RequiredInputRepresentation()
5997 inline Representation representation() const { in representation()
5998 return Representation::FromKind(RepresentationField::decode(value_)); in representation()
6015 inline HObjectAccess WithRepresentation(Representation representation) { in WithRepresentation()
6022 kDouble, HeapNumber::kValueOffset, Representation::Double()); in ForHeapNumberValue()
6028 Representation::Integer32()); in ForHeapNumberValueLowestBits()
6034 Representation::Integer32()); in ForHeapNumberValueHighestBits()
6054 ? Representation::Smi() : Representation::Tagged()); in ForArrayLength()
6060 return HObjectAccess(kExternalMemory, 0, Representation::Tagged(), in ForAllocationSiteList()
6068 Representation::Smi()); in ForFixedArrayLength()
6074 Representation::Integer32()); in ForStringHashField()
6082 Representation::Smi()); in ForStringLength()
6128 Representation::Integer32()); in ForMapAsInteger32()
6134 Representation::UInteger8()); in ForMapInObjectProperties()
6140 Representation::UInteger8()); in ForMapInstanceType()
6146 Representation::UInteger8()); in ForMapInstanceSize()
6152 Representation::UInteger8()); in ForMapBitField()
6158 Representation::UInteger8()); in ForMapBitField2()
6164 Representation::Integer32()); in ForNameHashField()
6174 Representation::UInteger16()); in ForMapInstanceTypeAndBitField()
6190 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), in ForCounter()
6195 return HObjectAccess(kExternalMemory, 0, Representation::UInteger8(), in ForExternalUInteger8()
6208 Representation representation = Representation::Tagged());
6214 Representation representation = Representation::Tagged()) {
6225 Representation representation = Representation::Tagged());
6229 Representation representation,
6242 JSArrayBuffer::kBackingStoreOffset, Representation::External()); in ForJSArrayBufferBackingStore()
6247 JSArrayBuffer::kByteLengthOffset, Representation::Tagged()); in ForJSArrayBufferByteLength()
6252 ExternalArray::kExternalPointerOffset, Representation::External()); in ForExternalArrayExternalPointer()
6307 Representation representation = Representation::Tagged(),
6328 class RepresentationField : public BitField<Representation::Kind, 3, 4> {};
6364 Representation field_representation() const { in field_representation()
6374 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6377 return Representation::External(); in RequiredInputRepresentation()
6379 return Representation::Tagged(); in RequiredInputRepresentation()
6416 Representation representation = access.representation(); in HLoadNamedField()
6421 set_representation(Representation::Integer32()); in HLoadNamedField()
6425 set_representation(Representation::Integer32()); in HLoadNamedField()
6435 set_representation(Representation::Tagged()); in HLoadNamedField()
6437 set_representation(Representation::Tagged()); in HLoadNamedField()
6457 set_representation(Representation::Tagged()); in HLoadNamedField()
6490 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6491 return Representation::Tagged(); in RequiredInputRepresentation()
6504 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
6520 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6521 return Representation::Tagged(); in RequiredInputRepresentation()
6532 set_representation(Representation::Tagged()); in HLoadFunctionPrototype()
6549 static Representation KeyedAccessIndexRequirement(Representation r) { in KeyedAccessIndexRequirement()
6551 ? Representation::Integer32() : Representation::Smi(); in KeyedAccessIndexRequirement()
6605 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6611 return is_external() ? Representation::External() in RequiredInputRepresentation()
6612 : Representation::Tagged(); in RequiredInputRepresentation()
6618 return Representation::None(); in RequiredInputRepresentation()
6621 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
6676 set_representation(Representation::Integer32());
6678 set_representation(Representation::Smi());
6681 set_representation(Representation::Tagged());
6686 set_representation(Representation::Double());
6694 set_representation(Representation::Double());
6696 set_representation(Representation::Integer32());
6770 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6772 return Representation::Tagged(); in RequiredInputRepresentation()
6782 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
6820 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6823 return Representation::External(); in RequiredInputRepresentation()
6830 return Representation::Integer32(); in RequiredInputRepresentation()
6835 return Representation::Integer32(); in RequiredInputRepresentation()
6839 return Representation::External(); in RequiredInputRepresentation()
6842 return Representation::Tagged(); in RequiredInputRepresentation()
6903 Representation field_representation() const { in field_representation()
6963 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
6964 return Representation::Tagged(); in RequiredInputRepresentation()
6998 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7005 return is_external() ? Representation::External() in RequiredInputRepresentation()
7006 : Representation::Tagged(); in RequiredInputRepresentation()
7016 static Representation RequiredValueRepresentation( in RequiredValueRepresentation()
7019 return Representation::Double(); in RequiredValueRepresentation()
7024 return Representation::Integer32(); in RequiredValueRepresentation()
7028 return Representation::Smi(); in RequiredValueRepresentation()
7033 ? Representation::Integer32() in RequiredValueRepresentation()
7034 : Representation::Tagged(); in RequiredValueRepresentation()
7049 virtual Representation observed_input_representation(int index) OVERRIDE { in observed_input_representation()
7052 return Representation::None(); in observed_input_representation()
7054 Representation r = RequiredValueRepresentation(elements_kind_, store_mode_); in observed_input_representation()
7056 if (r.IsTagged()) return Representation::None(); in observed_input_representation()
7175 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7177 return Representation::Tagged(); in RequiredInputRepresentation()
7213 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7214 return Representation::Tagged(); in RequiredInputRepresentation()
7254 set_representation(Representation::Tagged()); in HTransitionElementsKind()
7278 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7279 return Representation::Tagged(); in RequiredInputRepresentation()
7301 set_representation(Representation::Tagged()); in HStringAdd()
7328 virtual Representation RequiredInputRepresentation(int index) { in RequiredInputRepresentation()
7331 ? Representation::Integer32() in RequiredInputRepresentation()
7332 : Representation::Tagged(); in RequiredInputRepresentation()
7353 set_representation(Representation::Integer32()); in HStringCharCodeAt()
7371 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7373 ? Representation::Tagged() in RequiredInputRepresentation()
7374 : Representation::Integer32(); in RequiredInputRepresentation()
7389 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7405 this->set_representation(Representation::Tagged()); in literal_index_()
7411 this->set_representation(Representation::Tagged()); in literal_index_()
7442 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7443 return Representation::Tagged(); in RequiredInputRepresentation()
7476 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7477 return Representation::Tagged(); in RequiredInputRepresentation()
7501 set_representation(Representation::Tagged()); in HFunctionLiteral()
7524 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7525 return Representation::Tagged(); in RequiredInputRepresentation()
7534 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7545 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7546 return Representation::Tagged(); in RequiredInputRepresentation()
7564 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7565 return Representation::Tagged(); in RequiredInputRepresentation()
7572 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7595 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7596 return Representation::Tagged(); in RequiredInputRepresentation()
7604 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7619 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7620 return (index == 0) ? Representation::Tagged() in RequiredInputRepresentation()
7621 : Representation::Integer32(); in RequiredInputRepresentation()
7650 set_representation(Representation::Integer32()); in HSeqStringGetChar()
7673 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7674 return (index <= 1) ? Representation::Tagged() in RequiredInputRepresentation()
7675 : Representation::Integer32(); in RequiredInputRepresentation()
7690 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7702 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7703 return Representation::Tagged(); in RequiredInputRepresentation()
7732 set_representation(Representation::Tagged()); in HCheckMapValue()
7744 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7745 return Representation::Tagged(); in RequiredInputRepresentation()
7764 set_representation(Representation::Tagged()); in HForInPrepareMap()
7774 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7775 return Representation::Tagged(); in RequiredInputRepresentation()
7804 set_representation(Representation::Tagged()); in HForInCacheArray()
7821 set_representation(Representation::Tagged()); in HLoadFieldByIndex()
7824 virtual Representation RequiredInputRepresentation(int index) OVERRIDE { in RequiredInputRepresentation()
7826 return Representation::Smi(); in RequiredInputRepresentation()
7828 return Representation::Tagged(); in RequiredInputRepresentation()
7854 virtual Representation RequiredInputRepresentation(int index) { in RequiredInputRepresentation()
7855 return Representation::Tagged(); in RequiredInputRepresentation()
7862 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()
7876 virtual Representation RequiredInputRepresentation(int index) { in RequiredInputRepresentation()
7877 return Representation::Tagged(); in RequiredInputRepresentation()
7891 set_representation(Representation::Tagged()); in DECLARE_CONCRETE_INSTRUCTION()