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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 Matcher<Node*> IsInt32MulHigh(const Matcher<Node*>& lhs_matcher, | 246 Matcher<Node*> IsInt32MulHigh(const Matcher<Node*>& lhs_matcher, |
247 const Matcher<Node*>& rhs_matcher); | 247 const Matcher<Node*>& rhs_matcher); |
248 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, | 248 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher, |
249 const Matcher<Node*>& rhs_matcher); | 249 const Matcher<Node*>& rhs_matcher); |
250 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, | 250 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, |
251 const Matcher<Node*>& rhs_matcher); | 251 const Matcher<Node*>& rhs_matcher); |
252 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, | 252 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
253 const Matcher<Node*>& rhs_matcher); | 253 const Matcher<Node*>& rhs_matcher); |
254 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, | 254 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, |
255 const Matcher<Node*>& rhs_matcher); | 255 const Matcher<Node*>& rhs_matcher); |
| 256 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, |
| 257 const Matcher<Node*>& rhs_matcher); |
256 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); | 258 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
257 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); | 259 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); |
258 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 260 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
259 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); | 261 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); |
260 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 262 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
261 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 263 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
262 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 264 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
263 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 265 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
264 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 266 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
265 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, | 267 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 301 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
300 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 302 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
301 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 303 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
302 Matcher<Node*> IsLoadFramePointer(); | 304 Matcher<Node*> IsLoadFramePointer(); |
303 | 305 |
304 } // namespace compiler | 306 } // namespace compiler |
305 } // namespace internal | 307 } // namespace internal |
306 } // namespace v8 | 308 } // namespace v8 |
307 | 309 |
308 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 310 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |