| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 Matcher<Node*> IsInt32Add(const Matcher<Node*>& lhs_matcher, | 293 Matcher<Node*> IsInt32Add(const Matcher<Node*>& lhs_matcher, |
| 294 const Matcher<Node*>& rhs_matcher); | 294 const Matcher<Node*>& rhs_matcher); |
| 295 Matcher<Node*> IsInt32Sub(const Matcher<Node*>& lhs_matcher, | 295 Matcher<Node*> IsInt32Sub(const Matcher<Node*>& lhs_matcher, |
| 296 const Matcher<Node*>& rhs_matcher); | 296 const Matcher<Node*>& rhs_matcher); |
| 297 Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher, | 297 Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher, |
| 298 const Matcher<Node*>& rhs_matcher); | 298 const Matcher<Node*>& rhs_matcher); |
| 299 Matcher<Node*> IsInt32MulHigh(const Matcher<Node*>& lhs_matcher, | 299 Matcher<Node*> IsInt32MulHigh(const Matcher<Node*>& lhs_matcher, |
| 300 const Matcher<Node*>& rhs_matcher); | 300 const Matcher<Node*>& rhs_matcher); |
| 301 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, | 301 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, |
| 302 const Matcher<Node*>& rhs_matcher); | 302 const Matcher<Node*>& rhs_matcher); |
| 303 Matcher<Node*> IsInt32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
| 304 const Matcher<Node*>& rhs_matcher); |
| 303 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, | 305 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, |
| 304 const Matcher<Node*>& rhs_matcher); | 306 const Matcher<Node*>& rhs_matcher); |
| 305 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, | 307 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
| 306 const Matcher<Node*>& rhs_matcher); | 308 const Matcher<Node*>& rhs_matcher); |
| 307 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, | 309 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, |
| 308 const Matcher<Node*>& rhs_matcher); | 310 const Matcher<Node*>& rhs_matcher); |
| 309 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, | 311 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, |
| 310 const Matcher<Node*>& rhs_matcher); | 312 const Matcher<Node*>& rhs_matcher); |
| 311 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, | 313 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, |
| 312 const Matcher<Node*>& rhs_matcher); | 314 const Matcher<Node*>& rhs_matcher); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 358 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 357 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 359 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 358 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 360 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
| 359 Matcher<Node*> IsLoadFramePointer(); | 361 Matcher<Node*> IsLoadFramePointer(); |
| 360 | 362 |
| 361 } // namespace compiler | 363 } // namespace compiler |
| 362 } // namespace internal | 364 } // namespace internal |
| 363 } // namespace v8 | 365 } // namespace v8 |
| 364 | 366 |
| 365 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 367 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |