| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 Matcher<Node*> IsLoadFramePointer(); | 362 Matcher<Node*> IsLoadFramePointer(); |
| 363 | 363 |
| 364 Matcher<Node*> IsInt32PairAdd(const Matcher<Node*>& a_matcher, | 364 Matcher<Node*> IsInt32PairAdd(const Matcher<Node*>& a_matcher, |
| 365 const Matcher<Node*>& b_matcher, | 365 const Matcher<Node*>& b_matcher, |
| 366 const Matcher<Node*>& c_matcher, | 366 const Matcher<Node*>& c_matcher, |
| 367 const Matcher<Node*>& d_matcher); | 367 const Matcher<Node*>& d_matcher); |
| 368 Matcher<Node*> IsInt32PairSub(const Matcher<Node*>& a_matcher, | 368 Matcher<Node*> IsInt32PairSub(const Matcher<Node*>& a_matcher, |
| 369 const Matcher<Node*>& b_matcher, | 369 const Matcher<Node*>& b_matcher, |
| 370 const Matcher<Node*>& c_matcher, | 370 const Matcher<Node*>& c_matcher, |
| 371 const Matcher<Node*>& d_matcher); | 371 const Matcher<Node*>& d_matcher); |
| 372 Matcher<Node*> IsInt32PairMul(const Matcher<Node*>& a_matcher, |
| 373 const Matcher<Node*>& b_matcher, |
| 374 const Matcher<Node*>& c_matcher, |
| 375 const Matcher<Node*>& d_matcher); |
| 372 | 376 |
| 373 Matcher<Node*> IsWord32PairShl(const Matcher<Node*>& lhs_matcher, | 377 Matcher<Node*> IsWord32PairShl(const Matcher<Node*>& lhs_matcher, |
| 374 const Matcher<Node*>& mid_matcher, | 378 const Matcher<Node*>& mid_matcher, |
| 375 const Matcher<Node*>& rhs_matcher); | 379 const Matcher<Node*>& rhs_matcher); |
| 376 Matcher<Node*> IsWord32PairShr(const Matcher<Node*>& lhs_matcher, | 380 Matcher<Node*> IsWord32PairShr(const Matcher<Node*>& lhs_matcher, |
| 377 const Matcher<Node*>& mid_matcher, | 381 const Matcher<Node*>& mid_matcher, |
| 378 const Matcher<Node*>& rhs_matcher); | 382 const Matcher<Node*>& rhs_matcher); |
| 379 | 383 |
| 380 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, | 384 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, |
| 381 const Matcher<Node*>& mid_matcher, | 385 const Matcher<Node*>& mid_matcher, |
| 382 const Matcher<Node*>& rhs_matcher); | 386 const Matcher<Node*>& rhs_matcher); |
| 383 | 387 |
| 384 Matcher<Node*> IsStackSlot(); | 388 Matcher<Node*> IsStackSlot(); |
| 385 Matcher<Node*> IsGuard(const Matcher<Type*>& type_matcher, | 389 Matcher<Node*> IsGuard(const Matcher<Type*>& type_matcher, |
| 386 const Matcher<Node*>& value_matcher, | 390 const Matcher<Node*>& value_matcher, |
| 387 const Matcher<Node*>& control_matcher); | 391 const Matcher<Node*>& control_matcher); |
| 388 | 392 |
| 389 } // namespace compiler | 393 } // namespace compiler |
| 390 } // namespace internal | 394 } // namespace internal |
| 391 } // namespace v8 | 395 } // namespace v8 |
| 392 | 396 |
| 393 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 397 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |