Home
last modified time | relevance | path

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

/external/v8/src/compiler/
Dmachine-operator.cc72 V(Word32And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
73 V(Word32Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
74 V(Word32Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
79 V(Word32Equal, Operator::kCommutative, 2, 0, 1) \
81 V(Word64And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
82 V(Word64Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
83 V(Word64Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
89 V(Word64Equal, Operator::kCommutative, 2, 0, 1) \
90 V(Int32Add, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
92 V(Int32Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \
[all …]
Dsimplified-operator.cc239 V(NumberEqual, Operator::kCommutative, 2) \
242 V(NumberAdd, Operator::kCommutative, 2) \
244 V(NumberMultiply, Operator::kCommutative, 2) \
247 V(NumberBitwiseOr, Operator::kCommutative, 2) \
248 V(NumberBitwiseXor, Operator::kCommutative, 2) \
249 V(NumberBitwiseAnd, Operator::kCommutative, 2) \
253 V(NumberImul, Operator::kCommutative, 2) \
301 V(StringEqual, Operator::kCommutative, 2) \
449 Operator::kCommutative | Operator::kPure, in ReferenceEqual()
Dnode-matchers.h213 if (HasProperty(Operator::kCommutative)) PutConstantOnRight(); in BinopMatcher()
330 : BinopMatcher(node, node->op()->HasProperty(Operator::kCommutative)), in AddMatcher()
333 Initialize(node, node->op()->HasProperty(Operator::kCommutative)); in AddMatcher()
401 Initialize(node, node->op()->HasProperty(Operator::kCommutative)); in BaseWithIndexAndDisplacementMatcher()
Doperator.h39 kCommutative = 1 << 0, // OP(a, b) == OP(b, a) for all inputs. enumerator
Dsimplified-lowering.cc1608 Operator::kCommutative | Operator::kEliminatable; in VisitNode()
/external/v8/test/unittests/compiler/
Dsimplified-operator-unittest.cc42 PURE(NumberEqual, Operator::kCommutative, 2),
45 PURE(NumberAdd, Operator::kCommutative, 2),
47 PURE(NumberMultiply, Operator::kCommutative, 2),
50 PURE(NumberBitwiseOr, Operator::kCommutative, 2),
51 PURE(NumberBitwiseXor, Operator::kCommutative, 2),
52 PURE(NumberBitwiseAnd, Operator::kCommutative, 2),
/external/openfst/src/test/
Dweight-tester.h90 if (Weight::Properties() & kCommutative) in TestSemiring()
124 if (Weight::Properties() & kCommutative) in TestSemiring()
148 if (Weight::Properties() & kCommutative) { in TestDivision()
Dalgo_test.h454 if (!(Weight::Properties() & kCommutative)) in TestCompose()
722 if ((wprops & (kPath | kCommutative)) == (kPath | kCommutative)) { in TestOptimize()
/external/openfst/src/include/fst/
Dprune.h105 if ((Weight::Properties() & (kPath | kCommutative)) in Prune()
106 != (kPath | kCommutative)) { in Prune()
223 if ((Weight::Properties() & (kPath | kCommutative)) in Prune()
224 != (kPath | kCommutative)) { in Prune()
Dweight.h103 const uint64 kCommutative = 0x0000000000000004ULL; variable
Dfloat-weight.h233 return kLeftSemiring | kRightSemiring | kCommutative | in Properties()
358 return kLeftSemiring | kRightSemiring | kCommutative; in Properties()
494 return kLeftSemiring | kRightSemiring | kCommutative | kIdempotent | kPath; in Properties()
Dproduct-weight.h77 kCommutative | kIdempotent); in Properties()
Dexpectation-weight.h112 kCommutative | kIdempotent); in Properties()
Dlexicographic-weight.h116 kIdempotent | kCommutative); in Properties()
Dpower-weight.h84 kCommutative | kIdempotent); in Properties()
Dsparse-power-weight.h136 kCommutative | kIdempotent); in Properties()
Dsigned-log-weight.h91 return kLeftSemiring | kRightSemiring | kCommutative; in Properties()
Dcompose.h566 if (!(Weight::Properties() & kCommutative)) { in CreateBase2()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc470 if (node->op()->HasProperty(Operator::kCommutative) && in VisitBinop()
1270 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1297 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1302 node->op()->HasProperty(Operator::kCommutative)); in VisitWordCompare()
1315 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
/external/v8/src/compiler/x87/
Dinstruction-selector-x87.cc431 if (node->op()->HasProperty(Operator::kCommutative) && in VisitBinop()
1303 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1330 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1335 node->op()->HasProperty(Operator::kCommutative)); in VisitWordCompare()
1348 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc409 if (node->op()->HasProperty(Operator::kCommutative) && in VisitBinop()
1581 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1602 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()
1607 node->op()->HasProperty(Operator::kCommutative)); in VisitWordCompare()
1621 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWord64Compare()
/external/v8/test/cctest/compiler/
Dtest-machine-operator-reducer.cc197 CHECK(!binop->HasProperty(Operator::kCommutative)); in CheckDontPutConstantOnRight()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc1581 if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute(); in VisitWordCompare()