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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 const Matcher<Node*>& rhs_matcher); | 198 const Matcher<Node*>& rhs_matcher); |
199 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, | 199 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, |
200 const Matcher<Node*>& rhs_matcher); | 200 const Matcher<Node*>& rhs_matcher); |
201 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, | 201 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, |
202 const Matcher<Node*>& rhs_matcher); | 202 const Matcher<Node*>& rhs_matcher); |
203 Matcher<Node*> IsNumberAdd(const Matcher<Node*>& lhs_matcher, | 203 Matcher<Node*> IsNumberAdd(const Matcher<Node*>& lhs_matcher, |
204 const Matcher<Node*>& rhs_matcher); | 204 const Matcher<Node*>& rhs_matcher); |
205 Matcher<Node*> IsSpeculativeNumberAdd( | 205 Matcher<Node*> IsSpeculativeNumberAdd( |
206 const Matcher<BinaryOperationHints::Hint>& hint_matcher, | 206 const Matcher<BinaryOperationHints::Hint>& hint_matcher, |
207 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, | 207 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, |
208 const Matcher<Node*>& frame_state_matcher, | |
209 const Matcher<Node*>& effect_matcher, | 208 const Matcher<Node*>& effect_matcher, |
210 const Matcher<Node*>& control_matcher); | 209 const Matcher<Node*>& control_matcher); |
211 Matcher<Node*> IsSpeculativeNumberSubtract( | 210 Matcher<Node*> IsSpeculativeNumberSubtract( |
212 const Matcher<BinaryOperationHints::Hint>& hint_matcher, | 211 const Matcher<BinaryOperationHints::Hint>& hint_matcher, |
213 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, | 212 const Matcher<Node*>& lhs_matcher, const Matcher<Node*>& rhs_matcher, |
214 const Matcher<Node*>& frame_state_matcher, | |
215 const Matcher<Node*>& effect_matcher, | 213 const Matcher<Node*>& effect_matcher, |
216 const Matcher<Node*>& control_matcher); | 214 const Matcher<Node*>& control_matcher); |
217 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, | 215 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, |
218 const Matcher<Node*>& rhs_matcher); | 216 const Matcher<Node*>& rhs_matcher); |
219 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, | 217 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, |
220 const Matcher<Node*>& rhs_matcher); | 218 const Matcher<Node*>& rhs_matcher); |
221 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, | 219 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, |
222 const Matcher<Node*>& rhs_matcher); | 220 const Matcher<Node*>& rhs_matcher); |
223 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, | 221 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, |
224 const Matcher<Node*>& rhs_matcher); | 222 const Matcher<Node*>& rhs_matcher); |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 Matcher<Node*> IsStackSlot(); | 403 Matcher<Node*> IsStackSlot(); |
406 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, | 404 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, |
407 const Matcher<Node*>& value_matcher, | 405 const Matcher<Node*>& value_matcher, |
408 const Matcher<Node*>& control_matcher); | 406 const Matcher<Node*>& control_matcher); |
409 | 407 |
410 } // namespace compiler | 408 } // namespace compiler |
411 } // namespace internal | 409 } // namespace internal |
412 } // namespace v8 | 410 } // namespace v8 |
413 | 411 |
414 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 412 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |