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

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

Issue 2191883002: [turbofan] Adds speculative opcodes for shift right. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really fix the merge conflicts. 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 Matcher<Node*> IsSpeculativeNumberSubtract( 210 Matcher<Node*> IsSpeculativeNumberSubtract(
211 const Matcher<BinaryOperationHints::Hint>& hint_matcher, 211 const Matcher<BinaryOperationHints::Hint>& hint_matcher,
212 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, 212 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher,
213 const Matcher<Node*>& effect_matcher, 213 const Matcher<Node*>& effect_matcher,
214 const Matcher<Node*>& control_matcher); 214 const Matcher<Node*>& control_matcher);
215 Matcher<Node*> IsSpeculativeNumberShiftLeft( 215 Matcher<Node*> IsSpeculativeNumberShiftLeft(
216 const Matcher<BinaryOperationHints::Hint>& hint_matcher, 216 const Matcher<BinaryOperationHints::Hint>& hint_matcher,
217 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, 217 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher,
218 const Matcher<Node*>& effect_matcher, 218 const Matcher<Node*>& effect_matcher,
219 const Matcher<Node*>& control_matcher); 219 const Matcher<Node*>& control_matcher);
220 Matcher<Node*> IsSpeculativeNumberShiftRight(
221 const Matcher<BinaryOperationHints::Hint>& hint_matcher,
222 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher,
223 const Matcher<Node*>& effect_matcher,
224 const Matcher<Node*>& control_matcher);
225 Matcher<Node*> IsSpeculativeNumberShiftRightLogical(
226 const Matcher<BinaryOperationHints::Hint>& hint_matcher,
227 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher,
228 const Matcher<Node*>& effect_matcher,
229 const Matcher<Node*>& control_matcher);
220 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, 230 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
221 const Matcher<Node*>& rhs_matcher); 231 const Matcher<Node*>& rhs_matcher);
222 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, 232 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher,
223 const Matcher<Node*>& rhs_matcher); 233 const Matcher<Node*>& rhs_matcher);
224 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, 234 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher,
225 const Matcher<Node*>& rhs_matcher); 235 const Matcher<Node*>& rhs_matcher);
226 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, 236 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher,
227 const Matcher<Node*>& rhs_matcher); 237 const Matcher<Node*>& rhs_matcher);
228 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, 238 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher,
229 const Matcher<Node*>& rhs_matcher); 239 const Matcher<Node*>& rhs_matcher);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 const Matcher<Node*>& mid_matcher, 460 const Matcher<Node*>& mid_matcher,
451 const Matcher<Node*>& rhs_matcher); 461 const Matcher<Node*>& rhs_matcher);
452 462
453 Matcher<Node*> IsStackSlot(); 463 Matcher<Node*> IsStackSlot();
454 464
455 } // namespace compiler 465 } // namespace compiler
456 } // namespace internal 466 } // namespace internal
457 } // namespace v8 467 } // namespace v8
458 468
459 #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