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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 const Matcher<Node*>& context_matcher, | 368 const Matcher<Node*>& context_matcher, |
369 const Matcher<Node*>& effect_matcher, | 369 const Matcher<Node*>& effect_matcher, |
370 const Matcher<Node*>& control_matcher); | 370 const Matcher<Node*>& control_matcher); |
371 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, | 371 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, |
372 const Matcher<Node*>& context_matcher); | 372 const Matcher<Node*>& context_matcher); |
373 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 373 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
374 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 374 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
375 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 375 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
376 Matcher<Node*> IsLoadFramePointer(); | 376 Matcher<Node*> IsLoadFramePointer(); |
377 Matcher<Node*> IsLoadParentFramePointer(); | 377 Matcher<Node*> IsLoadParentFramePointer(); |
| 378 Matcher<Node*> IsPlainPrimitiveToNumber(const Matcher<Node*>& input_matcher); |
378 | 379 |
379 Matcher<Node*> IsInt32PairAdd(const Matcher<Node*>& a_matcher, | 380 Matcher<Node*> IsInt32PairAdd(const Matcher<Node*>& a_matcher, |
380 const Matcher<Node*>& b_matcher, | 381 const Matcher<Node*>& b_matcher, |
381 const Matcher<Node*>& c_matcher, | 382 const Matcher<Node*>& c_matcher, |
382 const Matcher<Node*>& d_matcher); | 383 const Matcher<Node*>& d_matcher); |
383 Matcher<Node*> IsInt32PairSub(const Matcher<Node*>& a_matcher, | 384 Matcher<Node*> IsInt32PairSub(const Matcher<Node*>& a_matcher, |
384 const Matcher<Node*>& b_matcher, | 385 const Matcher<Node*>& b_matcher, |
385 const Matcher<Node*>& c_matcher, | 386 const Matcher<Node*>& c_matcher, |
386 const Matcher<Node*>& d_matcher); | 387 const Matcher<Node*>& d_matcher); |
387 Matcher<Node*> IsInt32PairMul(const Matcher<Node*>& a_matcher, | 388 Matcher<Node*> IsInt32PairMul(const Matcher<Node*>& a_matcher, |
(...skipping 15 matching lines...) Expand all Loading... |
403 Matcher<Node*> IsStackSlot(); | 404 Matcher<Node*> IsStackSlot(); |
404 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, | 405 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, |
405 const Matcher<Node*>& value_matcher, | 406 const Matcher<Node*>& value_matcher, |
406 const Matcher<Node*>& control_matcher); | 407 const Matcher<Node*>& control_matcher); |
407 | 408 |
408 } // namespace compiler | 409 } // namespace compiler |
409 } // namespace internal | 410 } // namespace internal |
410 } // namespace v8 | 411 } // namespace v8 |
411 | 412 |
412 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 413 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |