| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 const Matcher<Node*>& effect_matcher, | 303 const Matcher<Node*>& effect_matcher, |
| 304 const Matcher<Node*>& control_matcher); | 304 const Matcher<Node*>& control_matcher); |
| 305 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); | 305 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); |
| 306 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); | 306 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); |
| 307 | 307 |
| 308 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 308 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
| 309 const Matcher<Node*>& base_matcher, | 309 const Matcher<Node*>& base_matcher, |
| 310 const Matcher<Node*>& index_matcher, | 310 const Matcher<Node*>& index_matcher, |
| 311 const Matcher<Node*>& effect_matcher, | 311 const Matcher<Node*>& effect_matcher, |
| 312 const Matcher<Node*>& control_matcher); | 312 const Matcher<Node*>& control_matcher); |
| 313 Matcher<Node*> IsUnalignedLoad( |
| 314 const Matcher<UnalignedLoadRepresentation>& rep_matcher, |
| 315 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, |
| 316 const Matcher<Node*>& effect_matcher, |
| 317 const Matcher<Node*>& control_matcher); |
| 313 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 318 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
| 314 const Matcher<Node*>& base_matcher, | 319 const Matcher<Node*>& base_matcher, |
| 315 const Matcher<Node*>& index_matcher, | 320 const Matcher<Node*>& index_matcher, |
| 316 const Matcher<Node*>& value_matcher, | 321 const Matcher<Node*>& value_matcher, |
| 317 const Matcher<Node*>& effect_matcher, | 322 const Matcher<Node*>& effect_matcher, |
| 318 const Matcher<Node*>& control_matcher); | 323 const Matcher<Node*>& control_matcher); |
| 324 Matcher<Node*> IsUnalignedStore( |
| 325 const Matcher<UnalignedStoreRepresentation>& rep_matcher, |
| 326 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, |
| 327 const Matcher<Node*>& value_matcher, const Matcher<Node*>& effect_matcher, |
| 328 const Matcher<Node*>& control_matcher); |
| 319 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); | 329 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); |
| 320 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 330 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
| 321 const Matcher<Node*>& rhs_matcher); | 331 const Matcher<Node*>& rhs_matcher); |
| 322 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, | 332 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, |
| 323 const Matcher<Node*>& rhs_matcher); | 333 const Matcher<Node*>& rhs_matcher); |
| 324 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, | 334 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, |
| 325 const Matcher<Node*>& rhs_matcher); | 335 const Matcher<Node*>& rhs_matcher); |
| 326 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 336 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
| 327 const Matcher<Node*>& rhs_matcher); | 337 const Matcher<Node*>& rhs_matcher); |
| 328 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 338 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 const Matcher<Node*>& mid_matcher, | 450 const Matcher<Node*>& mid_matcher, |
| 441 const Matcher<Node*>& rhs_matcher); | 451 const Matcher<Node*>& rhs_matcher); |
| 442 | 452 |
| 443 Matcher<Node*> IsStackSlot(); | 453 Matcher<Node*> IsStackSlot(); |
| 444 | 454 |
| 445 } // namespace compiler | 455 } // namespace compiler |
| 446 } // namespace internal | 456 } // namespace internal |
| 447 } // namespace v8 | 457 } // namespace v8 |
| 448 | 458 |
| 449 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 459 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |