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 "src/compiler/graph-unittest.h" | 5 #include "src/compiler/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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 #define IS_UNOP_MATCHER(Name) \ | 762 #define IS_UNOP_MATCHER(Name) \ |
763 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 763 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
764 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 764 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
765 } | 765 } |
766 IS_UNOP_MATCHER(ChangeFloat64ToInt32) | 766 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
767 IS_UNOP_MATCHER(ChangeFloat64ToUint32) | 767 IS_UNOP_MATCHER(ChangeFloat64ToUint32) |
768 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 768 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
769 IS_UNOP_MATCHER(ChangeInt32ToInt64) | 769 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
770 IS_UNOP_MATCHER(ChangeUint32ToFloat64) | 770 IS_UNOP_MATCHER(ChangeUint32ToFloat64) |
771 IS_UNOP_MATCHER(ChangeUint32ToUint64) | 771 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
| 772 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) |
772 IS_UNOP_MATCHER(TruncateFloat64ToInt32) | 773 IS_UNOP_MATCHER(TruncateFloat64ToInt32) |
773 IS_UNOP_MATCHER(TruncateInt64ToInt32) | 774 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
774 IS_UNOP_MATCHER(Float64Sqrt) | 775 IS_UNOP_MATCHER(Float64Sqrt) |
775 #undef IS_UNOP_MATCHER | 776 #undef IS_UNOP_MATCHER |
776 | 777 |
777 } // namespace compiler | 778 } // namespace compiler |
778 } // namespace internal | 779 } // namespace internal |
779 } // namespace v8 | 780 } // namespace v8 |
OLD | NEW |