Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Side by Side Diff: test/unittests/compiler/node-test-utils.h

Issue 2116753002: [builtins] Unify most of the remaining Math builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2102223005
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 const Matcher<Node*>& rhs_matcher); 218 const Matcher<Node*>& rhs_matcher);
219 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, 219 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher,
220 const Matcher<Node*>& rhs_matcher); 220 const Matcher<Node*>& rhs_matcher);
221 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, 221 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher,
222 const Matcher<Node*>& rhs_matcher); 222 const Matcher<Node*>& rhs_matcher);
223 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, 223 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher,
224 const Matcher<Node*>& rhs_matcher); 224 const Matcher<Node*>& rhs_matcher);
225 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher, 225 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher,
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*> IsNumberAcos(const Matcher<Node*>& value_matcher);
229 Matcher<Node*> IsNumberAcosh(const Matcher<Node*>& value_matcher);
230 Matcher<Node*> IsNumberAsin(const Matcher<Node*>& value_matcher);
231 Matcher<Node*> IsNumberAsinh(const Matcher<Node*>& value_matcher);
228 Matcher<Node*> IsNumberAtan(const Matcher<Node*>& value_matcher); 232 Matcher<Node*> IsNumberAtan(const Matcher<Node*>& value_matcher);
233 Matcher<Node*> IsNumberAtanh(const Matcher<Node*>& value_matcher);
229 Matcher<Node*> IsNumberAtan2(const Matcher<Node*>& lhs_matcher, 234 Matcher<Node*> IsNumberAtan2(const Matcher<Node*>& lhs_matcher,
230 const Matcher<Node*>& rhs_matcher); 235 const Matcher<Node*>& rhs_matcher);
231 Matcher<Node*> IsNumberAtanh(const Matcher<Node*>& value_matcher);
232 Matcher<Node*> IsNumberCbrt(const Matcher<Node*>& value_matcher); 236 Matcher<Node*> IsNumberCbrt(const Matcher<Node*>& value_matcher);
233 Matcher<Node*> IsNumberCeil(const Matcher<Node*>& value_matcher); 237 Matcher<Node*> IsNumberCeil(const Matcher<Node*>& value_matcher);
234 Matcher<Node*> IsNumberClz32(const Matcher<Node*>& value_matcher); 238 Matcher<Node*> IsNumberClz32(const Matcher<Node*>& value_matcher);
235 Matcher<Node*> IsNumberCos(const Matcher<Node*>& value_matcher); 239 Matcher<Node*> IsNumberCos(const Matcher<Node*>& value_matcher);
236 Matcher<Node*> IsNumberCosh(const Matcher<Node*>& value_matcher); 240 Matcher<Node*> IsNumberCosh(const Matcher<Node*>& value_matcher);
237 Matcher<Node*> IsNumberExp(const Matcher<Node*>& value_matcher); 241 Matcher<Node*> IsNumberExp(const Matcher<Node*>& value_matcher);
238 Matcher<Node*> IsNumberExpm1(const Matcher<Node*>& value_matcher); 242 Matcher<Node*> IsNumberExpm1(const Matcher<Node*>& value_matcher);
239 Matcher<Node*> IsNumberFloor(const Matcher<Node*>& value_matcher); 243 Matcher<Node*> IsNumberFloor(const Matcher<Node*>& value_matcher);
240 Matcher<Node*> IsNumberFround(const Matcher<Node*>& value_matcher); 244 Matcher<Node*> IsNumberFround(const Matcher<Node*>& value_matcher);
241 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher); 245 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher);
242 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher); 246 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher);
243 Matcher<Node*> IsNumberLog10(const Matcher<Node*>& value_matcher); 247 Matcher<Node*> IsNumberLog10(const Matcher<Node*>& value_matcher);
244 Matcher<Node*> IsNumberLog2(const Matcher<Node*>& value_matcher); 248 Matcher<Node*> IsNumberLog2(const Matcher<Node*>& value_matcher);
245 Matcher<Node*> IsNumberRound(const Matcher<Node*>& value_matcher); 249 Matcher<Node*> IsNumberRound(const Matcher<Node*>& value_matcher);
246 Matcher<Node*> IsNumberPow(const Matcher<Node*>& lhs_matcher, 250 Matcher<Node*> IsNumberPow(const Matcher<Node*>& lhs_matcher,
247 const Matcher<Node*>& rhs_matcher); 251 const Matcher<Node*>& rhs_matcher);
252 Matcher<Node*> IsNumberSign(const Matcher<Node*>& value_matcher);
248 Matcher<Node*> IsNumberSin(const Matcher<Node*>& value_matcher); 253 Matcher<Node*> IsNumberSin(const Matcher<Node*>& value_matcher);
249 Matcher<Node*> IsNumberSinh(const Matcher<Node*>& value_matcher); 254 Matcher<Node*> IsNumberSinh(const Matcher<Node*>& value_matcher);
250 Matcher<Node*> IsNumberSqrt(const Matcher<Node*>& value_matcher); 255 Matcher<Node*> IsNumberSqrt(const Matcher<Node*>& value_matcher);
251 Matcher<Node*> IsNumberTan(const Matcher<Node*>& value_matcher); 256 Matcher<Node*> IsNumberTan(const Matcher<Node*>& value_matcher);
252 Matcher<Node*> IsNumberTanh(const Matcher<Node*>& value_matcher); 257 Matcher<Node*> IsNumberTanh(const Matcher<Node*>& value_matcher);
253 Matcher<Node*> IsNumberTrunc(const Matcher<Node*>& value_matcher); 258 Matcher<Node*> IsNumberTrunc(const Matcher<Node*>& value_matcher);
254 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); 259 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher);
255 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, 260 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher,
256 const Matcher<Node*>& effect_matcher, 261 const Matcher<Node*>& effect_matcher,
257 const Matcher<Node*>& control_matcher); 262 const Matcher<Node*>& control_matcher);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 const Matcher<Node*>& mid_matcher, 433 const Matcher<Node*>& mid_matcher,
429 const Matcher<Node*>& rhs_matcher); 434 const Matcher<Node*>& rhs_matcher);
430 435
431 Matcher<Node*> IsStackSlot(); 436 Matcher<Node*> IsStackSlot();
432 437
433 } // namespace compiler 438 } // namespace compiler
434 } // namespace internal 439 } // namespace internal
435 } // namespace v8 440 } // namespace v8
436 441
437 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 442 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698