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