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/machine-type.h" | 9 #include "src/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 const Matcher<Node*>& rhs_matcher); | 271 const Matcher<Node*>& rhs_matcher); |
272 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 272 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
273 const Matcher<Node*>& rhs_matcher); | 273 const Matcher<Node*>& rhs_matcher); |
274 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, | 274 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, |
275 const Matcher<Node*>& rhs_matcher); | 275 const Matcher<Node*>& rhs_matcher); |
276 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, | 276 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, |
277 const Matcher<Node*>& rhs_matcher); | 277 const Matcher<Node*>& rhs_matcher); |
278 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, | 278 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, |
279 const Matcher<Node*>& rhs_matcher); | 279 const Matcher<Node*>& rhs_matcher); |
280 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher); | 280 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher); |
| 281 Matcher<Node*> IsWord32Popcnt(const Matcher<Node*>& value_matcher); |
281 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, | 282 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, |
282 const Matcher<Node*>& rhs_matcher); | 283 const Matcher<Node*>& rhs_matcher); |
283 Matcher<Node*> IsWord64Or(const Matcher<Node*>& lhs_matcher, | 284 Matcher<Node*> IsWord64Or(const Matcher<Node*>& lhs_matcher, |
284 const Matcher<Node*>& rhs_matcher); | 285 const Matcher<Node*>& rhs_matcher); |
285 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, | 286 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, |
286 const Matcher<Node*>& rhs_matcher); | 287 const Matcher<Node*>& rhs_matcher); |
287 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, | 288 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, |
288 const Matcher<Node*>& rhs_matcher); | 289 const Matcher<Node*>& rhs_matcher); |
289 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, | 290 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, |
290 const Matcher<Node*>& rhs_matcher); | 291 const Matcher<Node*>& rhs_matcher); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 | 372 |
372 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, | 373 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, |
373 const Matcher<Node*>& mid_matcher, | 374 const Matcher<Node*>& mid_matcher, |
374 const Matcher<Node*>& rhs_matcher); | 375 const Matcher<Node*>& rhs_matcher); |
375 | 376 |
376 } // namespace compiler | 377 } // namespace compiler |
377 } // namespace internal | 378 } // namespace internal |
378 } // namespace v8 | 379 } // namespace v8 |
379 | 380 |
380 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 381 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |