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/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 #include "src/machine-type.h" | 10 #include "src/machine-type.h" |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 const Matcher<Node*>& base_matcher, | 301 const Matcher<Node*>& base_matcher, |
302 const Matcher<Node*>& index_matcher, | 302 const Matcher<Node*>& index_matcher, |
303 const Matcher<Node*>& control_matcher, | 303 const Matcher<Node*>& control_matcher, |
304 const Matcher<Node*>& effect_matcher); | 304 const Matcher<Node*>& effect_matcher); |
305 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, | 305 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, |
306 const Matcher<Node*>& base_matcher, | 306 const Matcher<Node*>& base_matcher, |
307 const Matcher<Node*>& index_matcher, | 307 const Matcher<Node*>& index_matcher, |
308 const Matcher<Node*>& value_matcher, | 308 const Matcher<Node*>& value_matcher, |
309 const Matcher<Node*>& effect_matcher, | 309 const Matcher<Node*>& effect_matcher, |
310 const Matcher<Node*>& control_matcher); | 310 const Matcher<Node*>& control_matcher); |
| 311 Matcher<Node*> IsObjectIsNaN(const Matcher<Node*>& value_matcher); |
311 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); | 312 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); |
312 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); | 313 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); |
313 Matcher<Node*> IsObjectIsUndetectable(const Matcher<Node*>& value_matcher); | 314 Matcher<Node*> IsObjectIsUndetectable(const Matcher<Node*>& value_matcher); |
314 | 315 |
315 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 316 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
316 const Matcher<Node*>& base_matcher, | 317 const Matcher<Node*>& base_matcher, |
317 const Matcher<Node*>& index_matcher, | 318 const Matcher<Node*>& index_matcher, |
318 const Matcher<Node*>& effect_matcher, | 319 const Matcher<Node*>& effect_matcher, |
319 const Matcher<Node*>& control_matcher); | 320 const Matcher<Node*>& control_matcher); |
320 Matcher<Node*> IsUnalignedLoad( | 321 Matcher<Node*> IsUnalignedLoad( |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 const Matcher<Node*>& rhs_matcher); | 471 const Matcher<Node*>& rhs_matcher); |
471 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); | 472 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); |
472 | 473 |
473 Matcher<Node*> IsStackSlot(); | 474 Matcher<Node*> IsStackSlot(); |
474 | 475 |
475 } // namespace compiler | 476 } // namespace compiler |
476 } // namespace internal | 477 } // namespace internal |
477 } // namespace v8 | 478 } // namespace v8 |
478 | 479 |
479 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 480 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |