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

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

Issue 1021183002: [turbofan] Turn Math.clz32 into an inlinable builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, 162 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher,
163 const Matcher<Node*>& rhs_matcher); 163 const Matcher<Node*>& rhs_matcher);
164 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, 164 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher,
165 const Matcher<Node*>& rhs_matcher); 165 const Matcher<Node*>& rhs_matcher);
166 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher, 166 Matcher<Node*> IsWord32Shr(const Matcher<Node*>& lhs_matcher,
167 const Matcher<Node*>& rhs_matcher); 167 const Matcher<Node*>& rhs_matcher);
168 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher, 168 Matcher<Node*> IsWord32Ror(const Matcher<Node*>& lhs_matcher,
169 const Matcher<Node*>& rhs_matcher); 169 const Matcher<Node*>& rhs_matcher);
170 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher, 170 Matcher<Node*> IsWord32Equal(const Matcher<Node*>& lhs_matcher,
171 const Matcher<Node*>& rhs_matcher); 171 const Matcher<Node*>& rhs_matcher);
172 Matcher<Node*> IsWord32Clz(const Matcher<Node*>& value_matcher);
172 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, 173 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher,
173 const Matcher<Node*>& rhs_matcher); 174 const Matcher<Node*>& rhs_matcher);
174 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, 175 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher,
175 const Matcher<Node*>& rhs_matcher); 176 const Matcher<Node*>& rhs_matcher);
176 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, 177 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher,
177 const Matcher<Node*>& rhs_matcher); 178 const Matcher<Node*>& rhs_matcher);
178 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, 179 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher,
179 const Matcher<Node*>& rhs_matcher); 180 const Matcher<Node*>& rhs_matcher);
180 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, 181 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher,
181 const Matcher<Node*>& rhs_matcher); 182 const Matcher<Node*>& rhs_matcher);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 const Matcher<Node*>& effect_matcher, 224 const Matcher<Node*>& effect_matcher,
224 const Matcher<Node*>& control_matcher); 225 const Matcher<Node*>& control_matcher);
225 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 226 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
226 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 227 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
227 228
228 } // namespace compiler 229 } // namespace compiler
229 } // namespace internal 230 } // namespace internal
230 } // namespace v8 231 } // namespace v8
231 232
232 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 233 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/machine-operator-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