| 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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 IS_BINOP_MATCHER(Word32And) | 746 IS_BINOP_MATCHER(Word32And) |
| 747 IS_BINOP_MATCHER(Word32Sar) | 747 IS_BINOP_MATCHER(Word32Sar) |
| 748 IS_BINOP_MATCHER(Word32Shl) | 748 IS_BINOP_MATCHER(Word32Shl) |
| 749 IS_BINOP_MATCHER(Word32Ror) | 749 IS_BINOP_MATCHER(Word32Ror) |
| 750 IS_BINOP_MATCHER(Word32Equal) | 750 IS_BINOP_MATCHER(Word32Equal) |
| 751 IS_BINOP_MATCHER(Word64And) | 751 IS_BINOP_MATCHER(Word64And) |
| 752 IS_BINOP_MATCHER(Word64Sar) | 752 IS_BINOP_MATCHER(Word64Sar) |
| 753 IS_BINOP_MATCHER(Word64Shl) | 753 IS_BINOP_MATCHER(Word64Shl) |
| 754 IS_BINOP_MATCHER(Word64Equal) | 754 IS_BINOP_MATCHER(Word64Equal) |
| 755 IS_BINOP_MATCHER(Int32AddWithOverflow) | 755 IS_BINOP_MATCHER(Int32AddWithOverflow) |
| 756 IS_BINOP_MATCHER(Int32Mul) |
| 756 IS_BINOP_MATCHER(Uint32LessThanOrEqual) | 757 IS_BINOP_MATCHER(Uint32LessThanOrEqual) |
| 757 #undef IS_BINOP_MATCHER | 758 #undef IS_BINOP_MATCHER |
| 758 | 759 |
| 759 | 760 |
| 760 #define IS_UNOP_MATCHER(Name) \ | 761 #define IS_UNOP_MATCHER(Name) \ |
| 761 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 762 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
| 762 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 763 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
| 763 } | 764 } |
| 764 IS_UNOP_MATCHER(ChangeFloat64ToInt32) | 765 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
| 765 IS_UNOP_MATCHER(ChangeFloat64ToUint32) | 766 IS_UNOP_MATCHER(ChangeFloat64ToUint32) |
| 766 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 767 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
| 767 IS_UNOP_MATCHER(ChangeInt32ToInt64) | 768 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
| 768 IS_UNOP_MATCHER(ChangeUint32ToFloat64) | 769 IS_UNOP_MATCHER(ChangeUint32ToFloat64) |
| 769 IS_UNOP_MATCHER(ChangeUint32ToUint64) | 770 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
| 770 IS_UNOP_MATCHER(TruncateFloat64ToInt32) | 771 IS_UNOP_MATCHER(TruncateFloat64ToInt32) |
| 771 IS_UNOP_MATCHER(TruncateInt64ToInt32) | 772 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
| 772 #undef IS_UNOP_MATCHER | 773 #undef IS_UNOP_MATCHER |
| 773 | 774 |
| 774 } // namespace compiler | 775 } // namespace compiler |
| 775 } // namespace internal | 776 } // namespace internal |
| 776 } // namespace v8 | 777 } // namespace v8 |
| OLD | NEW |