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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 const Matcher<Node*>& rhs_matcher); | 272 const Matcher<Node*>& rhs_matcher); |
273 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 273 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
274 const Matcher<Node*>& rhs_matcher); | 274 const Matcher<Node*>& rhs_matcher); |
275 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, | 275 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, |
276 const Matcher<Node*>& rhs_matcher); | 276 const Matcher<Node*>& rhs_matcher); |
277 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, | 277 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, |
278 const Matcher<Node*>& rhs_matcher); | 278 const Matcher<Node*>& rhs_matcher); |
279 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, | 279 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, |
280 const Matcher<Node*>& rhs_matcher); | 280 const Matcher<Node*>& rhs_matcher); |
281 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher); | 281 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher); |
| 282 Matcher<Node*> IsWord32Ctz(const Matcher<Node*>& value_matcher); |
282 Matcher<Node*> IsWord32Popcnt(const Matcher<Node*>& value_matcher); | 283 Matcher<Node*> IsWord32Popcnt(const Matcher<Node*>& value_matcher); |
283 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, | 284 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, |
284 const Matcher<Node*>& rhs_matcher); | 285 const Matcher<Node*>& rhs_matcher); |
285 Matcher<Node*> IsWord64Or(const Matcher<Node*>& lhs_matcher, | 286 Matcher<Node*> IsWord64Or(const Matcher<Node*>& lhs_matcher, |
286 const Matcher<Node*>& rhs_matcher); | 287 const Matcher<Node*>& rhs_matcher); |
287 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, | 288 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, |
288 const Matcher<Node*>& rhs_matcher); | 289 const Matcher<Node*>& rhs_matcher); |
289 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, | 290 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, |
290 const Matcher<Node*>& rhs_matcher); | 291 const Matcher<Node*>& rhs_matcher); |
291 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, | 292 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 const Matcher<Node*>& mid_matcher, | 381 const Matcher<Node*>& mid_matcher, |
381 const Matcher<Node*>& rhs_matcher); | 382 const Matcher<Node*>& rhs_matcher); |
382 | 383 |
383 Matcher<Node*> IsStackSlot(); | 384 Matcher<Node*> IsStackSlot(); |
384 | 385 |
385 } // namespace compiler | 386 } // namespace compiler |
386 } // namespace internal | 387 } // namespace internal |
387 } // namespace v8 | 388 } // namespace v8 |
388 | 389 |
389 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 390 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |