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_COMPILER_UNITTESTS_NODE_MATCHERS_H_ | 5 #ifndef V8_COMPILER_UNITTESTS_NODE_MATCHERS_H_ |
6 #define V8_COMPILER_UNITTESTS_NODE_MATCHERS_H_ | 6 #define V8_COMPILER_UNITTESTS_NODE_MATCHERS_H_ |
7 | 7 |
8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 const Matcher<WriteBarrierKind>& write_barrier_matcher, | 42 const Matcher<WriteBarrierKind>& write_barrier_matcher, |
43 const Matcher<Node*>& base_matcher, | 43 const Matcher<Node*>& base_matcher, |
44 const Matcher<Node*>& index_matcher, | 44 const Matcher<Node*>& index_matcher, |
45 const Matcher<Node*>& value_matcher, | 45 const Matcher<Node*>& value_matcher, |
46 const Matcher<Node*>& effect_matcher, | 46 const Matcher<Node*>& effect_matcher, |
47 const Matcher<Node*>& control_matcher); | 47 const Matcher<Node*>& control_matcher); |
48 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 48 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
49 const Matcher<Node*>& rhs_matcher); | 49 const Matcher<Node*>& rhs_matcher); |
50 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 50 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
51 const Matcher<Node*>& rhs_matcher); | 51 const Matcher<Node*>& rhs_matcher); |
| 52 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, |
| 53 const Matcher<Node*>& rhs_matcher); |
52 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, | 54 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, |
53 const Matcher<Node*>& rhs_matcher); | 55 const Matcher<Node*>& rhs_matcher); |
54 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, | 56 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, |
55 const Matcher<Node*>& rhs_matcher); | 57 const Matcher<Node*>& rhs_matcher); |
56 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, | 58 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, |
57 const Matcher<Node*>& rhs_matcher); | 59 const Matcher<Node*>& rhs_matcher); |
58 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, | 60 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, |
59 const Matcher<Node*>& rhs_matcher); | 61 const Matcher<Node*>& rhs_matcher); |
60 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, | 62 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, |
61 const Matcher<Node*>& rhs_matcher); | 63 const Matcher<Node*>& rhs_matcher); |
62 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, | 64 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, |
63 const Matcher<Node*>& rhs_matcher); | 65 const Matcher<Node*>& rhs_matcher); |
64 Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher); | 66 Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher); |
65 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 67 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
66 | 68 |
67 } // namespace compiler | 69 } // namespace compiler |
68 } // namespace internal | 70 } // namespace internal |
69 } // namespace v8 | 71 } // namespace v8 |
70 | 72 |
71 #endif // V8_COMPILER_UNITTESTS_NODE_MATCHERS_H_ | 73 #endif // V8_COMPILER_UNITTESTS_NODE_MATCHERS_H_ |
OLD | NEW |