Home
last modified time | relevance | path

Searched refs:kCommutative (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/compiler/
Dmachine-operator.cc94 V(Word32And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
95 V(Word32Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
96 V(Word32Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
101 V(Word32Equal, Operator::kCommutative, 2, 0, 1) \
102 V(Int32Add, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
104 V(Int32Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
105 V(Int32MulHigh, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
114 V(Uint32MulHigh, Operator::kAssociative | Operator::kCommutative, 2, 0, 1)
117 V(Word64And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
118 V(Word64Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
[all …]
Dsimplified-operator.cc659 V(NumberEqual, Operator::kCommutative, 2, 0) \
662 V(NumberAdd, Operator::kCommutative, 2, 0) \
664 V(NumberMultiply, Operator::kCommutative, 2, 0) \
667 V(NumberBitwiseOr, Operator::kCommutative, 2, 0) \
668 V(NumberBitwiseXor, Operator::kCommutative, 2, 0) \
669 V(NumberBitwiseAnd, Operator::kCommutative, 2, 0) \
673 V(NumberImul, Operator::kCommutative, 2, 0) \
760 V(SameValue, Operator::kCommutative, 2, 0) \
761 V(ReferenceEqual, Operator::kCommutative, 2, 0) \
762 V(StringEqual, Operator::kCommutative, 2, 0) \
Dnode-matchers.h240 if (HasProperty(Operator::kCommutative)) PutConstantOnRight(); in BinopMatcher()
361 : BinopMatcher(node, node->op()->HasProperty(Operator::kCommutative)), in AddMatcher()
364 Initialize(node, node->op()->HasProperty(Operator::kCommutative)); in AddMatcher()
450 (node->op()->HasProperty(Operator::kCommutative) in BaseWithIndexAndDisplacementMatcher()
Doperator.h41 kCommutative = 1 << 0, // OP(a, b) == OP(b, a) for all inputs. in NON_EXPORTED_BASE() enumerator
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc446 if (node->op()->HasProperty(Operator::kCommutative) && in VisitBinop()
1681 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1702 node->op()->HasProperty(Operator::kCommutative)); in VisitWordCompare()
1715 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWord64Compare()
1736 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWord64Compare()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc469 if (node->op()->HasProperty(Operator::kCommutative) && in VisitBinop()
1240 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1265 node->op()->HasProperty(Operator::kCommutative)); in VisitWordCompare()
1274 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
/external/v8/src/compiler/s390/
Dinstruction-selector-s390.cc634 if (node->op()->HasProperty(Operator::kCommutative) && in VisitBinOp()
1663 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc1739 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()