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

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

Issue 872363002: [turbofan] Add new JSIntrinsicsLowering reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 const Matcher<Node*>& base_matcher, 124 const Matcher<Node*>& base_matcher,
125 const Matcher<Node*>& index_matcher, 125 const Matcher<Node*>& index_matcher,
126 const Matcher<Node*>& control_matcher, 126 const Matcher<Node*>& control_matcher,
127 const Matcher<Node*>& effect_matcher); 127 const Matcher<Node*>& effect_matcher);
128 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, 128 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher,
129 const Matcher<Node*>& base_matcher, 129 const Matcher<Node*>& base_matcher,
130 const Matcher<Node*>& index_matcher, 130 const Matcher<Node*>& index_matcher,
131 const Matcher<Node*>& value_matcher, 131 const Matcher<Node*>& value_matcher,
132 const Matcher<Node*>& effect_matcher, 132 const Matcher<Node*>& effect_matcher,
133 const Matcher<Node*>& control_matcher); 133 const Matcher<Node*>& control_matcher);
134 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher);
135 Matcher<Node*> IsObjectIsNonNegativeSmi(const Matcher<Node*>& value_matcher);
134 136
135 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, 137 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher,
136 const Matcher<Node*>& base_matcher, 138 const Matcher<Node*>& base_matcher,
137 const Matcher<Node*>& index_matcher, 139 const Matcher<Node*>& index_matcher,
138 const Matcher<Node*>& effect_matcher, 140 const Matcher<Node*>& effect_matcher,
139 const Matcher<Node*>& control_matcher); 141 const Matcher<Node*>& control_matcher);
140 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, 142 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher,
141 const Matcher<Node*>& base_matcher, 143 const Matcher<Node*>& base_matcher,
142 const Matcher<Node*>& index_matcher, 144 const Matcher<Node*>& index_matcher,
143 const Matcher<Node*>& value_matcher, 145 const Matcher<Node*>& value_matcher,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const Matcher<Node*>& effect_matcher, 202 const Matcher<Node*>& effect_matcher,
201 const Matcher<Node*>& control_matcher); 203 const Matcher<Node*>& control_matcher);
202 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 204 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
203 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 205 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
204 206
205 } // namespace compiler 207 } // namespace compiler
206 } // namespace internal 208 } // namespace internal
207 } // namespace v8 209 } // namespace v8
208 210
209 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 211 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-intrinsic-lowering-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