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_NODE_TEST_UTILS_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
7 | 7 |
8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
9 #include "src/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 const Matcher<Node*>& effect_matcher, | 249 const Matcher<Node*>& effect_matcher, |
250 const Matcher<Node*>& control_matcher); | 250 const Matcher<Node*>& control_matcher); |
251 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 251 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
252 const Matcher<Node*>& base_matcher, | 252 const Matcher<Node*>& base_matcher, |
253 const Matcher<Node*>& index_matcher, | 253 const Matcher<Node*>& index_matcher, |
254 const Matcher<Node*>& value_matcher, | 254 const Matcher<Node*>& value_matcher, |
255 const Matcher<Node*>& effect_matcher, | 255 const Matcher<Node*>& effect_matcher, |
256 const Matcher<Node*>& control_matcher); | 256 const Matcher<Node*>& control_matcher); |
257 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 257 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
258 const Matcher<Node*>& rhs_matcher); | 258 const Matcher<Node*>& rhs_matcher); |
| 259 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, |
| 260 const Matcher<Node*>& rhs_matcher); |
259 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 261 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
260 const Matcher<Node*>& rhs_matcher); | 262 const Matcher<Node*>& rhs_matcher); |
261 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 263 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
262 const Matcher<Node*>& rhs_matcher); | 264 const Matcher<Node*>& rhs_matcher); |
263 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, | 265 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, |
264 const Matcher<Node*>& rhs_matcher); | 266 const Matcher<Node*>& rhs_matcher); |
265 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, | 267 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, |
266 const Matcher<Node*>& rhs_matcher); | 268 const Matcher<Node*>& rhs_matcher); |
267 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, | 269 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, |
268 const Matcher<Node*>& rhs_matcher); | 270 const Matcher<Node*>& rhs_matcher); |
269 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher); | 271 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher); |
270 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, | 272 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, |
271 const Matcher<Node*>& rhs_matcher); | 273 const Matcher<Node*>& rhs_matcher); |
| 274 Matcher<Node*> IsWord64Or(const Matcher<Node*>& lhs_matcher, |
| 275 const Matcher<Node*>& rhs_matcher); |
272 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, | 276 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, |
273 const Matcher<Node*>& rhs_matcher); | 277 const Matcher<Node*>& rhs_matcher); |
274 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, | 278 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, |
275 const Matcher<Node*>& rhs_matcher); | 279 const Matcher<Node*>& rhs_matcher); |
276 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, | 280 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, |
277 const Matcher<Node*>& rhs_matcher); | 281 const Matcher<Node*>& rhs_matcher); |
278 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, | 282 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, |
279 const Matcher<Node*>& rhs_matcher); | 283 const Matcher<Node*>& rhs_matcher); |
280 Matcher<Node*> IsInt32Add(const Matcher<Node*>& lhs_matcher, | 284 Matcher<Node*> IsInt32Add(const Matcher<Node*>& lhs_matcher, |
281 const Matcher<Node*>& rhs_matcher); | 285 const Matcher<Node*>& rhs_matcher); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 347 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
344 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 348 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
345 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 349 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
346 Matcher<Node*> IsLoadFramePointer(); | 350 Matcher<Node*> IsLoadFramePointer(); |
347 | 351 |
348 } // namespace compiler | 352 } // namespace compiler |
349 } // namespace internal | 353 } // namespace internal |
350 } // namespace v8 | 354 } // namespace v8 |
351 | 355 |
352 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 356 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |