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_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ |
6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ | 6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ |
7 | 7 |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 const Matcher<Node*>& index_matcher, | 127 const Matcher<Node*>& index_matcher, |
128 const Matcher<Node*>& value_matcher, | 128 const Matcher<Node*>& value_matcher, |
129 const Matcher<Node*>& effect_matcher, | 129 const Matcher<Node*>& effect_matcher, |
130 const Matcher<Node*>& control_matcher); | 130 const Matcher<Node*>& control_matcher); |
131 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 131 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
132 const Matcher<Node*>& rhs_matcher); | 132 const Matcher<Node*>& rhs_matcher); |
133 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 133 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
134 const Matcher<Node*>& rhs_matcher); | 134 const Matcher<Node*>& rhs_matcher); |
135 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 135 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
136 const Matcher<Node*>& rhs_matcher); | 136 const Matcher<Node*>& rhs_matcher); |
| 137 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, |
| 138 const Matcher<Node*>& rhs_matcher); |
137 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, | 139 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, |
138 const Matcher<Node*>& rhs_matcher); | 140 const Matcher<Node*>& rhs_matcher); |
139 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, | 141 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, |
140 const Matcher<Node*>& rhs_matcher); | 142 const Matcher<Node*>& rhs_matcher); |
141 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, | 143 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, |
142 const Matcher<Node*>& rhs_matcher); | 144 const Matcher<Node*>& rhs_matcher); |
143 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, | 145 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, |
144 const Matcher<Node*>& rhs_matcher); | 146 const Matcher<Node*>& rhs_matcher); |
145 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, | 147 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, |
146 const Matcher<Node*>& rhs_matcher); | 148 const Matcher<Node*>& rhs_matcher); |
147 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, | 149 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, |
148 const Matcher<Node*>& rhs_matcher); | 150 const Matcher<Node*>& rhs_matcher); |
149 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, | 151 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, |
150 const Matcher<Node*>& rhs_matcher); | 152 const Matcher<Node*>& rhs_matcher); |
| 153 Matcher<Node*> IsInt32Add(const Matcher<Node*>& lhs_matcher, |
| 154 const Matcher<Node*>& rhs_matcher); |
151 Matcher<Node*> IsInt32Sub(const Matcher<Node*>& lhs_matcher, | 155 Matcher<Node*> IsInt32Sub(const Matcher<Node*>& lhs_matcher, |
152 const Matcher<Node*>& rhs_matcher); | 156 const Matcher<Node*>& rhs_matcher); |
153 Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher, | 157 Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher, |
154 const Matcher<Node*>& rhs_matcher); | 158 const Matcher<Node*>& rhs_matcher); |
| 159 Matcher<Node*> IsInt32MulHigh(const Matcher<Node*>& lhs_matcher, |
| 160 const Matcher<Node*>& rhs_matcher); |
155 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, | 161 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, |
156 const Matcher<Node*>& rhs_matcher); | 162 const Matcher<Node*>& rhs_matcher); |
157 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, | 163 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, |
158 const Matcher<Node*>& rhs_matcher); | 164 const Matcher<Node*>& rhs_matcher); |
159 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, | 165 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
160 const Matcher<Node*>& rhs_matcher); | 166 const Matcher<Node*>& rhs_matcher); |
161 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); | 167 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
162 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); | 168 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); |
163 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 169 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
164 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); | 170 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); |
165 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 171 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
166 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 172 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
167 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 173 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
168 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 174 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
169 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 175 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
170 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); | 176 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); |
171 | 177 |
172 } // namespace compiler | 178 } // namespace compiler |
173 } // namespace internal | 179 } // namespace internal |
174 } // namespace v8 | 180 } // namespace v8 |
175 | 181 |
176 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ | 182 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ |
OLD | NEW |