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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 const Matcher<Node*>& effect_matcher, | 294 const Matcher<Node*>& effect_matcher, |
295 const Matcher<Node*>& control_matcher); | 295 const Matcher<Node*>& control_matcher); |
296 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); | 296 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); |
297 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); | 297 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); |
298 | 298 |
299 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 299 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
300 const Matcher<Node*>& base_matcher, | 300 const Matcher<Node*>& base_matcher, |
301 const Matcher<Node*>& index_matcher, | 301 const Matcher<Node*>& index_matcher, |
302 const Matcher<Node*>& effect_matcher, | 302 const Matcher<Node*>& effect_matcher, |
303 const Matcher<Node*>& control_matcher); | 303 const Matcher<Node*>& control_matcher); |
| 304 Matcher<Node*> IsUnalignedLoad( |
| 305 const Matcher<UnalignedLoadRepresentation>& rep_matcher, |
| 306 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, |
| 307 const Matcher<Node*>& effect_matcher, |
| 308 const Matcher<Node*>& control_matcher); |
304 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 309 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
305 const Matcher<Node*>& base_matcher, | 310 const Matcher<Node*>& base_matcher, |
306 const Matcher<Node*>& index_matcher, | 311 const Matcher<Node*>& index_matcher, |
307 const Matcher<Node*>& value_matcher, | 312 const Matcher<Node*>& value_matcher, |
308 const Matcher<Node*>& effect_matcher, | 313 const Matcher<Node*>& effect_matcher, |
309 const Matcher<Node*>& control_matcher); | 314 const Matcher<Node*>& control_matcher); |
| 315 Matcher<Node*> IsUnalignedStore( |
| 316 const Matcher<UnalignedStoreRepresentation>& rep_matcher, |
| 317 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, |
| 318 const Matcher<Node*>& value_matcher, const Matcher<Node*>& effect_matcher, |
| 319 const Matcher<Node*>& control_matcher); |
310 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); | 320 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); |
311 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 321 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
312 const Matcher<Node*>& rhs_matcher); | 322 const Matcher<Node*>& rhs_matcher); |
313 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, | 323 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, |
314 const Matcher<Node*>& rhs_matcher); | 324 const Matcher<Node*>& rhs_matcher); |
315 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, | 325 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, |
316 const Matcher<Node*>& rhs_matcher); | 326 const Matcher<Node*>& rhs_matcher); |
317 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 327 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
318 const Matcher<Node*>& rhs_matcher); | 328 const Matcher<Node*>& rhs_matcher); |
319 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 329 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 const Matcher<Node*>& mid_matcher, | 443 const Matcher<Node*>& mid_matcher, |
434 const Matcher<Node*>& rhs_matcher); | 444 const Matcher<Node*>& rhs_matcher); |
435 | 445 |
436 Matcher<Node*> IsStackSlot(); | 446 Matcher<Node*> IsStackSlot(); |
437 | 447 |
438 } // namespace compiler | 448 } // namespace compiler |
439 } // namespace internal | 449 } // namespace internal |
440 } // namespace v8 | 450 } // namespace v8 |
441 | 451 |
442 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 452 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |