Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: test/unittests/compiler/node-test-utils.h

Issue 2226663002: [turbofan] Lower "-0.0 - x" in the MachineOperatorReducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/type-hints.h" 9 #include "src/compiler/type-hints.h"
10 #include "src/machine-type.h" 10 #include "src/machine-type.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 Matcher<Node*> IsTruncateFloat64ToWord32(const Matcher<Node*>& input_matcher); 387 Matcher<Node*> IsTruncateFloat64ToWord32(const Matcher<Node*>& input_matcher);
388 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); 388 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
389 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); 389 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher);
390 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 390 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
391 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); 391 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher);
392 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); 392 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
393 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); 393 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
394 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 394 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
395 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 395 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
396 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); 396 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher);
397 Matcher<Node*> IsFloat32Neg(const Matcher<Node*>& input_matcher);
397 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher, 398 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher,
398 const Matcher<Node*>& rhs_matcher); 399 const Matcher<Node*>& rhs_matcher);
399 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher, 400 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher,
400 const Matcher<Node*>& rhs_matcher); 401 const Matcher<Node*>& rhs_matcher);
401 Matcher<Node*> IsFloat32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, 402 Matcher<Node*> IsFloat32LessThanOrEqual(const Matcher<Node*>& lhs_matcher,
402 const Matcher<Node*>& rhs_matcher); 403 const Matcher<Node*>& rhs_matcher);
403 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, 404 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher,
404 const Matcher<Node*>& rhs_matcher); 405 const Matcher<Node*>& rhs_matcher);
405 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, 406 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher,
406 const Matcher<Node*>& rhs_matcher); 407 const Matcher<Node*>& rhs_matcher);
407 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, 408 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher,
408 const Matcher<Node*>& rhs_matcher); 409 const Matcher<Node*>& rhs_matcher);
409 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher); 410 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher);
411 Matcher<Node*> IsFloat64Neg(const Matcher<Node*>& input_matcher);
410 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); 412 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
411 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); 413 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher);
412 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); 414 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher);
413 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); 415 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher);
414 Matcher<Node*> IsFloat64ExtractLowWord32(const Matcher<Node*>& input_matcher); 416 Matcher<Node*> IsFloat64ExtractLowWord32(const Matcher<Node*>& input_matcher);
415 Matcher<Node*> IsFloat64ExtractHighWord32(const Matcher<Node*>& input_matcher); 417 Matcher<Node*> IsFloat64ExtractHighWord32(const Matcher<Node*>& input_matcher);
416 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher, 418 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher,
417 const Matcher<Node*>& rhs_matcher); 419 const Matcher<Node*>& rhs_matcher);
418 Matcher<Node*> IsFloat64InsertHighWord32(const Matcher<Node*>& lhs_matcher, 420 Matcher<Node*> IsFloat64InsertHighWord32(const Matcher<Node*>& lhs_matcher,
419 const Matcher<Node*>& rhs_matcher); 421 const Matcher<Node*>& rhs_matcher);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 const Matcher<Node*>& rhs_matcher); 457 const Matcher<Node*>& rhs_matcher);
456 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); 458 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher);
457 459
458 Matcher<Node*> IsStackSlot(); 460 Matcher<Node*> IsStackSlot();
459 461
460 } // namespace compiler 462 } // namespace compiler
461 } // namespace internal 463 } // namespace internal
462 } // namespace v8 464 } // namespace v8
463 465
464 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 466 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/machine-operator-reducer-unittest.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698