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/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 #include "src/machine-type.h" | 10 #include "src/machine-type.h" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher, | 400 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher, |
401 const Matcher<Node*>& rhs_matcher); | 401 const Matcher<Node*>& rhs_matcher); |
402 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher, | 402 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher, |
403 const Matcher<Node*>& rhs_matcher); | 403 const Matcher<Node*>& rhs_matcher); |
404 Matcher<Node*> IsFloat32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, | 404 Matcher<Node*> IsFloat32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
405 const Matcher<Node*>& rhs_matcher); | 405 const Matcher<Node*>& rhs_matcher); |
406 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, | 406 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, |
407 const Matcher<Node*>& rhs_matcher); | 407 const Matcher<Node*>& rhs_matcher); |
408 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, | 408 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, |
409 const Matcher<Node*>& rhs_matcher); | 409 const Matcher<Node*>& rhs_matcher); |
| 410 Matcher<Node*> IsFloat64Add(const Matcher<Node*>& lhs_matcher, |
| 411 const Matcher<Node*>& rhs_matcher); |
410 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, | 412 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, |
411 const Matcher<Node*>& rhs_matcher); | 413 const Matcher<Node*>& rhs_matcher); |
| 414 Matcher<Node*> IsFloat64Mul(const Matcher<Node*>& lhs_matcher, |
| 415 const Matcher<Node*>& rhs_matcher); |
412 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher); | 416 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher); |
413 Matcher<Node*> IsFloat64Neg(const Matcher<Node*>& input_matcher); | 417 Matcher<Node*> IsFloat64Neg(const Matcher<Node*>& input_matcher); |
414 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); | 418 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); |
415 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); | 419 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); |
416 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); | 420 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); |
417 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); | 421 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); |
418 Matcher<Node*> IsFloat64ExtractLowWord32(const Matcher<Node*>& input_matcher); | 422 Matcher<Node*> IsFloat64ExtractLowWord32(const Matcher<Node*>& input_matcher); |
419 Matcher<Node*> IsFloat64ExtractHighWord32(const Matcher<Node*>& input_matcher); | 423 Matcher<Node*> IsFloat64ExtractHighWord32(const Matcher<Node*>& input_matcher); |
420 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher, | 424 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher, |
421 const Matcher<Node*>& rhs_matcher); | 425 const Matcher<Node*>& rhs_matcher); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 const Matcher<Node*>& rhs_matcher); | 464 const Matcher<Node*>& rhs_matcher); |
461 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); | 465 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); |
462 | 466 |
463 Matcher<Node*> IsStackSlot(); | 467 Matcher<Node*> IsStackSlot(); |
464 | 468 |
465 } // namespace compiler | 469 } // namespace compiler |
466 } // namespace internal | 470 } // namespace internal |
467 } // namespace v8 | 471 } // namespace v8 |
468 | 472 |
469 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 473 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |