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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 const Matcher<Node*>& base_matcher, | 326 const Matcher<Node*>& base_matcher, |
327 const Matcher<Node*>& index_matcher, | 327 const Matcher<Node*>& index_matcher, |
328 const Matcher<Node*>& value_matcher, | 328 const Matcher<Node*>& value_matcher, |
329 const Matcher<Node*>& effect_matcher, | 329 const Matcher<Node*>& effect_matcher, |
330 const Matcher<Node*>& control_matcher); | 330 const Matcher<Node*>& control_matcher); |
331 Matcher<Node*> IsUnalignedStore( | 331 Matcher<Node*> IsUnalignedStore( |
332 const Matcher<UnalignedStoreRepresentation>& rep_matcher, | 332 const Matcher<UnalignedStoreRepresentation>& rep_matcher, |
333 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, | 333 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, |
334 const Matcher<Node*>& value_matcher, const Matcher<Node*>& effect_matcher, | 334 const Matcher<Node*>& value_matcher, const Matcher<Node*>& effect_matcher, |
335 const Matcher<Node*>& control_matcher); | 335 const Matcher<Node*>& control_matcher); |
336 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); | 336 Matcher<Node*> IsStackSlot(const Matcher<int>& size_matcher); |
337 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 337 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
338 const Matcher<Node*>& rhs_matcher); | 338 const Matcher<Node*>& rhs_matcher); |
339 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, | 339 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, |
340 const Matcher<Node*>& rhs_matcher); | 340 const Matcher<Node*>& rhs_matcher); |
341 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, | 341 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, |
342 const Matcher<Node*>& rhs_matcher); | 342 const Matcher<Node*>& rhs_matcher); |
343 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 343 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
344 const Matcher<Node*>& rhs_matcher); | 344 const Matcher<Node*>& rhs_matcher); |
345 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 345 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
346 const Matcher<Node*>& rhs_matcher); | 346 const Matcher<Node*>& rhs_matcher); |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 const Matcher<Node*>& rhs_matcher); | 470 const Matcher<Node*>& rhs_matcher); |
471 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); | 471 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); |
472 | 472 |
473 Matcher<Node*> IsStackSlot(); | 473 Matcher<Node*> IsStackSlot(); |
474 | 474 |
475 } // namespace compiler | 475 } // namespace compiler |
476 } // namespace internal | 476 } // namespace internal |
477 } // namespace v8 | 477 } // namespace v8 |
478 | 478 |
479 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 479 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |