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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(ChangeFloat64ToInt32) | 679 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
680 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 680 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
681 IS_UNOP_MATCHER(ChangeInt32ToInt64) | 681 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
682 IS_UNOP_MATCHER(ChangeUint32ToUint64) | 682 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
| 683 IS_UNOP_MATCHER(TruncateFloat64ToInt32) |
683 IS_UNOP_MATCHER(TruncateInt64ToInt32) | 684 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
684 #undef IS_UNOP_MATCHER | 685 #undef IS_UNOP_MATCHER |
685 | 686 |
686 } // namespace compiler | 687 } // namespace compiler |
687 } // namespace internal | 688 } // namespace internal |
688 } // namespace v8 | 689 } // namespace v8 |
OLD | NEW |