OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "test/unittests/compiler/node-test-utils.h" | 5 #include "test/unittests/compiler/node-test-utils.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
9 #include "src/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 #include "src/unique.h" | 10 #include "src/unique.h" |
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 IS_BINOP_MATCHER(Word64Shl) | 1583 IS_BINOP_MATCHER(Word64Shl) |
1584 IS_BINOP_MATCHER(Word64Equal) | 1584 IS_BINOP_MATCHER(Word64Equal) |
1585 IS_BINOP_MATCHER(Int32AddWithOverflow) | 1585 IS_BINOP_MATCHER(Int32AddWithOverflow) |
1586 IS_BINOP_MATCHER(Int32Add) | 1586 IS_BINOP_MATCHER(Int32Add) |
1587 IS_BINOP_MATCHER(Int32Sub) | 1587 IS_BINOP_MATCHER(Int32Sub) |
1588 IS_BINOP_MATCHER(Int32Mul) | 1588 IS_BINOP_MATCHER(Int32Mul) |
1589 IS_BINOP_MATCHER(Int32MulHigh) | 1589 IS_BINOP_MATCHER(Int32MulHigh) |
1590 IS_BINOP_MATCHER(Int32LessThan) | 1590 IS_BINOP_MATCHER(Int32LessThan) |
1591 IS_BINOP_MATCHER(Uint32LessThan) | 1591 IS_BINOP_MATCHER(Uint32LessThan) |
1592 IS_BINOP_MATCHER(Uint32LessThanOrEqual) | 1592 IS_BINOP_MATCHER(Uint32LessThanOrEqual) |
| 1593 IS_BINOP_MATCHER(Float64Max) |
| 1594 IS_BINOP_MATCHER(Float64Min) |
1593 IS_BINOP_MATCHER(Float64Sub) | 1595 IS_BINOP_MATCHER(Float64Sub) |
1594 IS_BINOP_MATCHER(Float64InsertLowWord32) | 1596 IS_BINOP_MATCHER(Float64InsertLowWord32) |
1595 IS_BINOP_MATCHER(Float64InsertHighWord32) | 1597 IS_BINOP_MATCHER(Float64InsertHighWord32) |
1596 #undef IS_BINOP_MATCHER | 1598 #undef IS_BINOP_MATCHER |
1597 | 1599 |
1598 | 1600 |
1599 #define IS_UNOP_MATCHER(Name) \ | 1601 #define IS_UNOP_MATCHER(Name) \ |
1600 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 1602 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
1601 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 1603 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
1602 } | 1604 } |
(...skipping 16 matching lines...) Expand all Loading... |
1619 IS_UNOP_MATCHER(Float64ExtractHighWord32) | 1621 IS_UNOP_MATCHER(Float64ExtractHighWord32) |
1620 IS_UNOP_MATCHER(NumberToInt32) | 1622 IS_UNOP_MATCHER(NumberToInt32) |
1621 IS_UNOP_MATCHER(NumberToUint32) | 1623 IS_UNOP_MATCHER(NumberToUint32) |
1622 IS_UNOP_MATCHER(ObjectIsSmi) | 1624 IS_UNOP_MATCHER(ObjectIsSmi) |
1623 IS_UNOP_MATCHER(ObjectIsNonNegativeSmi) | 1625 IS_UNOP_MATCHER(ObjectIsNonNegativeSmi) |
1624 #undef IS_UNOP_MATCHER | 1626 #undef IS_UNOP_MATCHER |
1625 | 1627 |
1626 } // namespace compiler | 1628 } // namespace compiler |
1627 } // namespace internal | 1629 } // namespace internal |
1628 } // namespace v8 | 1630 } // namespace v8 |
OLD | NEW |