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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, | 354 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, |
355 const Matcher<Node*>& context_matcher); | 355 const Matcher<Node*>& context_matcher); |
356 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 356 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
357 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 357 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
358 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 358 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
359 Matcher<Node*> IsLoadFramePointer(); | 359 Matcher<Node*> IsLoadFramePointer(); |
360 | 360 |
361 Matcher<Node*> IsWord32PairShl(const Matcher<Node*>& lhs_matcher, | 361 Matcher<Node*> IsWord32PairShl(const Matcher<Node*>& lhs_matcher, |
362 const Matcher<Node*>& mid_matcher, | 362 const Matcher<Node*>& mid_matcher, |
363 const Matcher<Node*>& rhs_matcher); | 363 const Matcher<Node*>& rhs_matcher); |
| 364 Matcher<Node*> IsWord32PairShr(const Matcher<Node*>& lhs_matcher, |
| 365 const Matcher<Node*>& mid_matcher, |
| 366 const Matcher<Node*>& rhs_matcher); |
| 367 |
| 368 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, |
| 369 const Matcher<Node*>& mid_matcher, |
| 370 const Matcher<Node*>& rhs_matcher); |
364 | 371 |
365 } // namespace compiler | 372 } // namespace compiler |
366 } // namespace internal | 373 } // namespace internal |
367 } // namespace v8 | 374 } // namespace v8 |
368 | 375 |
369 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 376 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |