| 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/compiler-unittests/graph-unittest.h" | 5 #include "test/compiler-unittests/graph-unittest.h" |
| 6 | 6 |
| 7 #include <ostream> // NOLINT(readability/streams) | 7 #include <ostream> // NOLINT(readability/streams) |
| 8 | 8 |
| 9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
| 10 | 10 |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 IS_BINOP_MATCHER(Word64Shl) | 669 IS_BINOP_MATCHER(Word64Shl) |
| 670 IS_BINOP_MATCHER(Word64Equal) | 670 IS_BINOP_MATCHER(Word64Equal) |
| 671 IS_BINOP_MATCHER(Int32AddWithOverflow) | 671 IS_BINOP_MATCHER(Int32AddWithOverflow) |
| 672 #undef IS_BINOP_MATCHER | 672 #undef IS_BINOP_MATCHER |
| 673 | 673 |
| 674 | 674 |
| 675 #define IS_UNOP_MATCHER(Name) \ | 675 #define IS_UNOP_MATCHER(Name) \ |
| 676 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 676 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
| 677 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 677 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
| 678 } | 678 } |
| 679 IS_UNOP_MATCHER(ConvertInt64ToInt32) | |
| 680 IS_UNOP_MATCHER(ChangeFloat64ToInt32) | 679 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
| 681 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 680 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
| 681 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
| 682 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
| 683 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
| 682 #undef IS_UNOP_MATCHER | 684 #undef IS_UNOP_MATCHER |
| 683 | 685 |
| 684 } // namespace compiler | 686 } // namespace compiler |
| 685 } // namespace internal | 687 } // namespace internal |
| 686 } // namespace v8 | 688 } // namespace v8 |
| OLD | NEW |