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

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

Issue 1971163002: [turbofan] Fix optimized lowering of Math.imul. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix unittests. Reorder as pointed out by Michi. Created 4 years, 7 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/machine-type.h" 9 #include "src/machine-type.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, 202 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
203 const Matcher<Node*>& rhs_matcher); 203 const Matcher<Node*>& rhs_matcher);
204 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, 204 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher,
205 const Matcher<Node*>& rhs_matcher); 205 const Matcher<Node*>& rhs_matcher);
206 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, 206 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher,
207 const Matcher<Node*>& rhs_matcher); 207 const Matcher<Node*>& rhs_matcher);
208 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, 208 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher,
209 const Matcher<Node*>& rhs_matcher); 209 const Matcher<Node*>& rhs_matcher);
210 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, 210 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher,
211 const Matcher<Node*>& rhs_matcher); 211 const Matcher<Node*>& rhs_matcher);
212 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher,
213 const Matcher<Node*>& rhs_matcher);
212 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, 214 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher,
213 const Matcher<Node*>& effect_matcher, 215 const Matcher<Node*>& effect_matcher,
214 const Matcher<Node*>& control_matcher); 216 const Matcher<Node*>& control_matcher);
215 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, 217 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher,
216 const Matcher<Node*>& base_matcher, 218 const Matcher<Node*>& base_matcher,
217 const Matcher<Node*>& effect_matcher, 219 const Matcher<Node*>& effect_matcher,
218 const Matcher<Node*>& control_matcher); 220 const Matcher<Node*>& control_matcher);
219 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, 221 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher,
220 const Matcher<Node*>& base_matcher, 222 const Matcher<Node*>& base_matcher,
221 const Matcher<Node*>& value_matcher, 223 const Matcher<Node*>& value_matcher,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 Matcher<Node*> IsStackSlot(); 389 Matcher<Node*> IsStackSlot();
388 Matcher<Node*> IsGuard(const Matcher<Type*>& type_matcher, 390 Matcher<Node*> IsGuard(const Matcher<Type*>& type_matcher,
389 const Matcher<Node*>& value_matcher, 391 const Matcher<Node*>& value_matcher,
390 const Matcher<Node*>& control_matcher); 392 const Matcher<Node*>& control_matcher);
391 393
392 } // namespace compiler 394 } // namespace compiler
393 } // namespace internal 395 } // namespace internal
394 } // namespace v8 396 } // namespace v8
395 397
396 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 398 #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