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

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

Issue 2064953004: [turbofan] Unify the PlainPrimitive as Number treatment. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
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*> IsNumberAtan(const Matcher<Node*>& value_matcher); 227 Matcher<Node*> IsNumberAtan(const Matcher<Node*>& value_matcher);
228 Matcher<Node*> IsNumberAtan2(const Matcher<Node*>& lhs_matcher, 228 Matcher<Node*> IsNumberAtan2(const Matcher<Node*>& lhs_matcher,
229 const Matcher<Node*>& rhs_matcher); 229 const Matcher<Node*>& rhs_matcher);
230 Matcher<Node*> IsNumberCeil(const Matcher<Node*>& value_matcher);
231 Matcher<Node*> IsNumberClz32(const Matcher<Node*>& value_matcher);
232 Matcher<Node*> IsNumberFloor(const Matcher<Node*>& value_matcher);
233 Matcher<Node*> IsNumberFround(const Matcher<Node*>& value_matcher);
230 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher); 234 Matcher<Node*> IsNumberLog(const Matcher<Node*>& value_matcher);
231 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher); 235 Matcher<Node*> IsNumberLog1p(const Matcher<Node*>& value_matcher);
236 Matcher<Node*> IsNumberRound(const Matcher<Node*>& value_matcher);
237 Matcher<Node*> IsNumberSqrt(const Matcher<Node*>& value_matcher);
238 Matcher<Node*> IsNumberTrunc(const Matcher<Node*>& value_matcher);
232 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); 239 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher);
233 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, 240 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher,
234 const Matcher<Node*>& effect_matcher, 241 const Matcher<Node*>& effect_matcher,
235 const Matcher<Node*>& control_matcher); 242 const Matcher<Node*>& control_matcher);
236 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, 243 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher,
237 const Matcher<Node*>& base_matcher, 244 const Matcher<Node*>& base_matcher,
238 const Matcher<Node*>& effect_matcher, 245 const Matcher<Node*>& effect_matcher,
239 const Matcher<Node*>& control_matcher); 246 const Matcher<Node*>& control_matcher);
240 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, 247 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher,
241 const Matcher<Node*>& base_matcher, 248 const Matcher<Node*>& base_matcher,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 Matcher<Node*> IsStackSlot(); 416 Matcher<Node*> IsStackSlot();
410 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, 417 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher,
411 const Matcher<Node*>& value_matcher, 418 const Matcher<Node*>& value_matcher,
412 const Matcher<Node*>& control_matcher); 419 const Matcher<Node*>& control_matcher);
413 420
414 } // namespace compiler 421 } // namespace compiler
415 } // namespace internal 422 } // namespace internal
416 } // namespace v8 423 } // namespace v8
417 424
418 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 425 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-builtin-reducer-unittest.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698