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/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 const Matcher<Node*>& value5_matcher, | 110 const Matcher<Node*>& value5_matcher, |
111 const Matcher<Node*>& effect_matcher, | 111 const Matcher<Node*>& effect_matcher, |
112 const Matcher<Node*>& control_matcher); | 112 const Matcher<Node*>& control_matcher); |
113 Matcher<Node*> IsCall( | 113 Matcher<Node*> IsCall( |
114 const Matcher<CallDescriptor*>& descriptor_matcher, | 114 const Matcher<CallDescriptor*>& descriptor_matcher, |
115 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, | 115 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, |
116 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, | 116 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, |
117 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher, | 117 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher, |
118 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& effect_matcher, | 118 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& effect_matcher, |
119 const Matcher<Node*>& control_matcher); | 119 const Matcher<Node*>& control_matcher); |
| 120 Matcher<Node*> IsTailCall( |
| 121 const Matcher<CallDescriptor const*>& descriptor_matcher, |
| 122 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, |
| 123 const Matcher<Node*>& effect_matcher, |
| 124 const Matcher<Node*>& control_matcher); |
120 | 125 |
121 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); | 126 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); |
122 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, | 127 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, |
123 const Matcher<Node*>& rhs_matcher); | 128 const Matcher<Node*>& rhs_matcher); |
124 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, | 129 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, |
125 const Matcher<Node*>& rhs_matcher); | 130 const Matcher<Node*>& rhs_matcher); |
126 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, | 131 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, |
127 const Matcher<Node*>& rhs_matcher); | 132 const Matcher<Node*>& rhs_matcher); |
128 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, | 133 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, |
129 const Matcher<Node*>& rhs_matcher); | 134 const Matcher<Node*>& rhs_matcher); |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 const Matcher<Node*>& effect_matcher, | 255 const Matcher<Node*>& effect_matcher, |
251 const Matcher<Node*>& control_matcher); | 256 const Matcher<Node*>& control_matcher); |
252 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 257 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
253 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 258 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
254 | 259 |
255 } // namespace compiler | 260 } // namespace compiler |
256 } // namespace internal | 261 } // namespace internal |
257 } // namespace v8 | 262 } // namespace v8 |
258 | 263 |
259 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 264 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |