| 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/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, | 288 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, |
| 289 const Matcher<Node*>& rhs_matcher); | 289 const Matcher<Node*>& rhs_matcher); |
| 290 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, | 290 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, |
| 291 const Matcher<Node*>& rhs_matcher); | 291 const Matcher<Node*>& rhs_matcher); |
| 292 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, | 292 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
| 293 const Matcher<Node*>& rhs_matcher); | 293 const Matcher<Node*>& rhs_matcher); |
| 294 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, | 294 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, |
| 295 const Matcher<Node*>& rhs_matcher); | 295 const Matcher<Node*>& rhs_matcher); |
| 296 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, | 296 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, |
| 297 const Matcher<Node*>& rhs_matcher); | 297 const Matcher<Node*>& rhs_matcher); |
| 298 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, |
| 299 const Matcher<Node*>& rhs_matcher); |
| 298 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); | 300 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
| 299 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); | 301 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); |
| 300 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 302 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
| 301 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); | 303 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); |
| 302 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 304 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
| 303 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 305 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
| 304 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 306 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
| 305 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 307 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
| 306 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 308 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
| 307 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, | 309 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 343 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 342 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 344 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 343 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 345 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
| 344 Matcher<Node*> IsLoadFramePointer(); | 346 Matcher<Node*> IsLoadFramePointer(); |
| 345 | 347 |
| 346 } // namespace compiler | 348 } // namespace compiler |
| 347 } // namespace internal | 349 } // namespace internal |
| 348 } // namespace v8 | 350 } // namespace v8 |
| 349 | 351 |
| 350 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 352 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |