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/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 Loading... |
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 Loading... |
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_ |
OLD | NEW |