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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, | 379 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, |
380 const Matcher<Node*>& rhs_matcher); | 380 const Matcher<Node*>& rhs_matcher); |
381 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, | 381 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, |
382 const Matcher<Node*>& rhs_matcher); | 382 const Matcher<Node*>& rhs_matcher); |
383 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, | 383 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, |
384 const Matcher<Node*>& rhs_matcher); | 384 const Matcher<Node*>& rhs_matcher); |
385 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, | 385 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, |
386 const Matcher<Node*>& rhs_matcher); | 386 const Matcher<Node*>& rhs_matcher); |
387 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, | 387 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, |
388 const Matcher<Node*>& rhs_matcher); | 388 const Matcher<Node*>& rhs_matcher); |
| 389 Matcher<Node*> IsBitcastTaggedToWord(const Matcher<Node*>& input_matcher); |
| 390 Matcher<Node*> IsBitcastWordToTagged(const Matcher<Node*>& input_matcher); |
| 391 Matcher<Node*> IsBitcastWordToTaggedSigned(const Matcher<Node*>& input_matcher); |
389 Matcher<Node*> IsTruncateFloat64ToWord32(const Matcher<Node*>& input_matcher); | 392 Matcher<Node*> IsTruncateFloat64ToWord32(const Matcher<Node*>& input_matcher); |
390 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); | 393 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
391 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); | 394 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); |
392 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 395 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
393 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); | 396 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); |
394 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 397 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
395 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 398 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
396 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 399 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
397 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 400 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
398 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); | 401 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 const Matcher<Node*>& rhs_matcher); | 467 const Matcher<Node*>& rhs_matcher); |
465 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); | 468 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); |
466 | 469 |
467 Matcher<Node*> IsStackSlot(); | 470 Matcher<Node*> IsStackSlot(); |
468 | 471 |
469 } // namespace compiler | 472 } // namespace compiler |
470 } // namespace internal | 473 } // namespace internal |
471 } // namespace v8 | 474 } // namespace v8 |
472 | 475 |
473 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 476 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |