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 138 matching lines...) Loading... |
149 const Matcher<Node*>& rhs_matcher); | 149 const Matcher<Node*>& rhs_matcher); |
150 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); | 150 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); |
151 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); | 151 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); |
152 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); | 152 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); |
153 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); | 153 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); |
154 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 154 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
155 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 155 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
156 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 156 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
157 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 157 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
158 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 158 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
| 159 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, |
| 160 const Matcher<Node*>& rhs_matcher); |
159 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); | 161 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); |
160 Matcher<Node*> IsFloat64Floor(const Matcher<Node*>& input_matcher); | 162 Matcher<Node*> IsFloat64Floor(const Matcher<Node*>& input_matcher); |
161 Matcher<Node*> IsFloat64Ceil(const Matcher<Node*>& input_matcher); | 163 Matcher<Node*> IsFloat64Ceil(const Matcher<Node*>& input_matcher); |
162 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); | 164 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); |
163 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); | 165 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); |
164 | 166 |
165 } // namespace compiler | 167 } // namespace compiler |
166 } // namespace internal | 168 } // namespace internal |
167 } // namespace v8 | 169 } // namespace v8 |
168 | 170 |
169 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 171 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |