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 #ifndef V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ | 5 #ifndef V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ |
6 #define V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ | 6 #define V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ |
7 | 7 |
8 #include "src/compiler/graph.h" | 8 #include "src/compiler/graph.h" |
9 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
10 #include "test/compiler-unittests/common-operator-unittest.h" | 10 #include "test/compiler-unittests/common-operator-unittest.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 const Matcher<WriteBarrierKind>& write_barrier_matcher, | 73 const Matcher<WriteBarrierKind>& write_barrier_matcher, |
74 const Matcher<Node*>& base_matcher, | 74 const Matcher<Node*>& base_matcher, |
75 const Matcher<Node*>& index_matcher, | 75 const Matcher<Node*>& index_matcher, |
76 const Matcher<Node*>& value_matcher, | 76 const Matcher<Node*>& value_matcher, |
77 const Matcher<Node*>& effect_matcher, | 77 const Matcher<Node*>& effect_matcher, |
78 const Matcher<Node*>& control_matcher); | 78 const Matcher<Node*>& control_matcher); |
79 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 79 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
80 const Matcher<Node*>& rhs_matcher); | 80 const Matcher<Node*>& rhs_matcher); |
81 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 81 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
82 const Matcher<Node*>& rhs_matcher); | 82 const Matcher<Node*>& rhs_matcher); |
| 83 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
| 84 const Matcher<Node*>& rhs_matcher); |
83 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, | 85 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, |
84 const Matcher<Node*>& rhs_matcher); | 86 const Matcher<Node*>& rhs_matcher); |
85 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, | 87 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, |
86 const Matcher<Node*>& rhs_matcher); | 88 const Matcher<Node*>& rhs_matcher); |
87 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, | 89 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, |
88 const Matcher<Node*>& rhs_matcher); | 90 const Matcher<Node*>& rhs_matcher); |
89 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, | 91 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, |
90 const Matcher<Node*>& rhs_matcher); | 92 const Matcher<Node*>& rhs_matcher); |
91 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, | 93 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, |
92 const Matcher<Node*>& rhs_matcher); | 94 const Matcher<Node*>& rhs_matcher); |
93 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, | 95 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, |
94 const Matcher<Node*>& rhs_matcher); | 96 const Matcher<Node*>& rhs_matcher); |
95 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, | 97 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, |
96 const Matcher<Node*>& rhs_matcher); | 98 const Matcher<Node*>& rhs_matcher); |
| 99 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
| 100 const Matcher<Node*>& rhs_matcher); |
97 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); | 101 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
98 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 102 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
99 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); | 103 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); |
| 104 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
100 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 105 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
101 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 106 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
102 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 107 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
103 | 108 |
104 } // namespace compiler | 109 } // namespace compiler |
105 } // namespace internal | 110 } // namespace internal |
106 } // namespace v8 | 111 } // namespace v8 |
107 | 112 |
108 #endif // V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ | 113 #endif // V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ |
OLD | NEW |