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/type-hints.h" | 9 #include "src/compiler/type-hints.h" |
10 #include "src/machine-type.h" | 10 #include "src/machine-type.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 const Matcher<Node*>& rhs_matcher); | 226 const Matcher<Node*>& rhs_matcher); |
227 Matcher<Node*> IsNumberAbs(const Matcher<Node*>& value_matcher); | 227 Matcher<Node*> IsNumberAbs(const Matcher<Node*>& value_matcher); |
228 Matcher<Node*> IsNumberAtan(const Matcher<Node*>& value_matcher); | 228 Matcher<Node*> IsNumberAtan(const Matcher<Node*>& value_matcher); |
229 Matcher<Node*> IsNumberAtan2(const Matcher<Node*>& lhs_matcher, | 229 Matcher<Node*> IsNumberAtan2(const Matcher<Node*>& lhs_matcher, |
230 const Matcher<Node*>& rhs_matcher); | 230 const Matcher<Node*>& rhs_matcher); |
231 Matcher<Node*> IsNumberAtanh(const Matcher<Node*>& value_matcher); | 231 Matcher<Node*> IsNumberAtanh(const Matcher<Node*>& value_matcher); |
232 Matcher<Node*> IsNumberCbrt(const Matcher<Node*>& value_matcher); | 232 Matcher<Node*> IsNumberCbrt(const Matcher<Node*>& value_matcher); |
233 Matcher<Node*> IsNumberCeil(const Matcher<Node*>& value_matcher); | 233 Matcher<Node*> IsNumberCeil(const Matcher<Node*>& value_matcher); |
234 Matcher<Node*> IsNumberClz32(const Matcher<Node*>& value_matcher); | 234 Matcher<Node*> IsNumberClz32(const Matcher<Node*>& value_matcher); |
235 Matcher<Node*> IsNumberCos(const Matcher<Node*>& value_matcher); | 235 Matcher<Node*> IsNumberCos(const Matcher<Node*>& value_matcher); |
| 236 Matcher<Node*> IsNumberCosh(const Matcher<Node*>& value_matcher); |
236 Matcher<Node*> IsNumberExp(const Matcher<Node*>& value_matcher); | 237 Matcher<Node*> IsNumberExp(const Matcher<Node*>& value_matcher); |
237 Matcher<Node*> IsNumberExpm1(const Matcher<Node*>& value_matcher); | 238 Matcher<Node*> IsNumberExpm1(const Matcher<Node*>& value_matcher); |
238 Matcher<Node*> IsNumberFloor(const Matcher<Node*>& value_matcher); | 239 Matcher<Node*> IsNumberFloor(const Matcher<Node*>& value_matcher); |
239 Matcher<Node*> IsNumberFround(const Matcher<Node*>& value_matcher); | 240 Matcher<Node*> IsNumberFround(const Matcher<Node*>& value_matcher); |
240 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher); | 241 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher); |
241 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher); | 242 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher); |
242 Matcher<Node*> IsNumberLog10(const Matcher<Node*>& value_matcher); | 243 Matcher<Node*> IsNumberLog10(const Matcher<Node*>& value_matcher); |
243 Matcher<Node*> IsNumberLog2(const Matcher<Node*>& value_matcher); | 244 Matcher<Node*> IsNumberLog2(const Matcher<Node*>& value_matcher); |
244 Matcher<Node*> IsNumberRound(const Matcher<Node*>& value_matcher); | 245 Matcher<Node*> IsNumberRound(const Matcher<Node*>& value_matcher); |
245 Matcher<Node*> IsNumberPow(const Matcher<Node*>& lhs_matcher, | 246 Matcher<Node*> IsNumberPow(const Matcher<Node*>& lhs_matcher, |
246 const Matcher<Node*>& rhs_matcher); | 247 const Matcher<Node*>& rhs_matcher); |
247 Matcher<Node*> IsNumberSin(const Matcher<Node*>& value_matcher); | 248 Matcher<Node*> IsNumberSin(const Matcher<Node*>& value_matcher); |
| 249 Matcher<Node*> IsNumberSinh(const Matcher<Node*>& value_matcher); |
248 Matcher<Node*> IsNumberSqrt(const Matcher<Node*>& value_matcher); | 250 Matcher<Node*> IsNumberSqrt(const Matcher<Node*>& value_matcher); |
249 Matcher<Node*> IsNumberTan(const Matcher<Node*>& value_matcher); | 251 Matcher<Node*> IsNumberTan(const Matcher<Node*>& value_matcher); |
| 252 Matcher<Node*> IsNumberTanh(const Matcher<Node*>& value_matcher); |
250 Matcher<Node*> IsNumberTrunc(const Matcher<Node*>& value_matcher); | 253 Matcher<Node*> IsNumberTrunc(const Matcher<Node*>& value_matcher); |
251 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); | 254 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); |
252 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, | 255 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, |
253 const Matcher<Node*>& effect_matcher, | 256 const Matcher<Node*>& effect_matcher, |
254 const Matcher<Node*>& control_matcher); | 257 const Matcher<Node*>& control_matcher); |
255 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, | 258 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, |
256 const Matcher<Node*>& base_matcher, | 259 const Matcher<Node*>& base_matcher, |
257 const Matcher<Node*>& effect_matcher, | 260 const Matcher<Node*>& effect_matcher, |
258 const Matcher<Node*>& control_matcher); | 261 const Matcher<Node*>& control_matcher); |
259 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, | 262 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 const Matcher<Node*>& mid_matcher, | 428 const Matcher<Node*>& mid_matcher, |
426 const Matcher<Node*>& rhs_matcher); | 429 const Matcher<Node*>& rhs_matcher); |
427 | 430 |
428 Matcher<Node*> IsStackSlot(); | 431 Matcher<Node*> IsStackSlot(); |
429 | 432 |
430 } // namespace compiler | 433 } // namespace compiler |
431 } // namespace internal | 434 } // namespace internal |
432 } // namespace v8 | 435 } // namespace v8 |
433 | 436 |
434 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 437 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |