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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, | 217 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, |
218 const Matcher<Node*>& rhs_matcher); | 218 const Matcher<Node*>& rhs_matcher); |
219 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, | 219 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, |
220 const Matcher<Node*>& rhs_matcher); | 220 const Matcher<Node*>& rhs_matcher); |
221 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, | 221 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, |
222 const Matcher<Node*>& rhs_matcher); | 222 const Matcher<Node*>& rhs_matcher); |
223 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, | 223 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, |
224 const Matcher<Node*>& rhs_matcher); | 224 const Matcher<Node*>& rhs_matcher); |
225 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher, | 225 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher, |
226 const Matcher<Node*>& rhs_matcher); | 226 const Matcher<Node*>& rhs_matcher); |
| 227 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher); |
| 228 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher); |
227 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); | 229 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); |
228 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, | 230 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, |
229 const Matcher<Node*>& effect_matcher, | 231 const Matcher<Node*>& effect_matcher, |
230 const Matcher<Node*>& control_matcher); | 232 const Matcher<Node*>& control_matcher); |
231 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, | 233 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, |
232 const Matcher<Node*>& base_matcher, | 234 const Matcher<Node*>& base_matcher, |
233 const Matcher<Node*>& effect_matcher, | 235 const Matcher<Node*>& effect_matcher, |
234 const Matcher<Node*>& control_matcher); | 236 const Matcher<Node*>& control_matcher); |
235 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, | 237 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, |
236 const Matcher<Node*>& base_matcher, | 238 const Matcher<Node*>& base_matcher, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 Matcher<Node*> IsStackSlot(); | 406 Matcher<Node*> IsStackSlot(); |
405 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, | 407 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, |
406 const Matcher<Node*>& value_matcher, | 408 const Matcher<Node*>& value_matcher, |
407 const Matcher<Node*>& control_matcher); | 409 const Matcher<Node*>& control_matcher); |
408 | 410 |
409 } // namespace compiler | 411 } // namespace compiler |
410 } // namespace internal | 412 } // namespace internal |
411 } // namespace v8 | 413 } // namespace v8 |
412 | 414 |
413 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 415 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |