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

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

Issue 2309953002: [turbofan] Introduce dedicated NumberToBoolean operator. (Closed)
Patch Set: Fix unittest. Created 4 years, 3 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/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/machine-type.h" 10 #include "src/machine-type.h"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher, 420 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher,
421 const Matcher<Node*>& rhs_matcher); 421 const Matcher<Node*>& rhs_matcher);
422 Matcher<Node*> IsFloat64InsertHighWord32(const Matcher<Node*>& lhs_matcher, 422 Matcher<Node*> IsFloat64InsertHighWord32(const Matcher<Node*>& lhs_matcher,
423 const Matcher<Node*>& rhs_matcher); 423 const Matcher<Node*>& rhs_matcher);
424 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher, 424 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher,
425 const Matcher<Node*>& context_matcher, 425 const Matcher<Node*>& context_matcher,
426 const Matcher<Node*>& effect_matcher, 426 const Matcher<Node*>& effect_matcher,
427 const Matcher<Node*>& control_matcher); 427 const Matcher<Node*>& control_matcher);
428 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, 428 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher,
429 const Matcher<Node*>& context_matcher); 429 const Matcher<Node*>& context_matcher);
430 Matcher<Node*> IsNumberToBoolean(const Matcher<Node*>& input_matcher);
430 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 431 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
431 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 432 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
432 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 433 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
433 Matcher<Node*> IsLoadFramePointer(); 434 Matcher<Node*> IsLoadFramePointer();
434 Matcher<Node*> IsLoadParentFramePointer(); 435 Matcher<Node*> IsLoadParentFramePointer();
435 Matcher<Node*> IsPlainPrimitiveToNumber(const Matcher<Node*>& input_matcher); 436 Matcher<Node*> IsPlainPrimitiveToNumber(const Matcher<Node*>& input_matcher);
436 437
437 Matcher<Node*> IsInt32PairAdd(const Matcher<Node*>& a_matcher, 438 Matcher<Node*> IsInt32PairAdd(const Matcher<Node*>& a_matcher,
438 const Matcher<Node*>& b_matcher, 439 const Matcher<Node*>& b_matcher,
439 const Matcher<Node*>& c_matcher, 440 const Matcher<Node*>& c_matcher,
(...skipping 19 matching lines...) Expand all
459 const Matcher<Node*>& rhs_matcher); 460 const Matcher<Node*>& rhs_matcher);
460 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); 461 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher);
461 462
462 Matcher<Node*> IsStackSlot(); 463 Matcher<Node*> IsStackSlot();
463 464
464 } // namespace compiler 465 } // namespace compiler
465 } // namespace internal 466 } // namespace internal
466 } // namespace v8 467 } // namespace v8
467 468
468 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 469 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-typed-lowering-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