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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 247 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
248 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 248 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
249 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 249 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
250 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 250 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
251 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 251 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
252 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, | 252 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, |
253 const Matcher<Node*>& rhs_matcher); | 253 const Matcher<Node*>& rhs_matcher); |
254 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher, | 254 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher, |
255 const Matcher<Node*>& rhs_matcher); | 255 const Matcher<Node*>& rhs_matcher); |
256 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); | 256 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); |
| 257 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher, |
| 258 const Matcher<Node*>& rhs_matcher); |
| 259 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher, |
| 260 const Matcher<Node*>& rhs_matcher); |
| 261 Matcher<Node*> IsFloat32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
| 262 const Matcher<Node*>& rhs_matcher); |
257 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, | 263 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, |
258 const Matcher<Node*>& rhs_matcher); | 264 const Matcher<Node*>& rhs_matcher); |
259 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, | 265 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, |
260 const Matcher<Node*>& rhs_matcher); | 266 const Matcher<Node*>& rhs_matcher); |
261 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, | 267 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, |
262 const Matcher<Node*>& rhs_matcher); | 268 const Matcher<Node*>& rhs_matcher); |
263 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher); | 269 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher); |
264 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); | 270 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); |
265 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); | 271 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); |
266 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); | 272 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); |
(...skipping 11 matching lines...) Expand all Loading... |
278 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, | 284 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, |
279 const Matcher<Node*>& context_matcher); | 285 const Matcher<Node*>& context_matcher); |
280 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 286 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
281 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 287 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
282 | 288 |
283 } // namespace compiler | 289 } // namespace compiler |
284 } // namespace internal | 290 } // namespace internal |
285 } // namespace v8 | 291 } // namespace v8 |
286 | 292 |
287 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 293 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |