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

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

Issue 1066393002: [turbofan] Add new Float32Abs and Float64Abs operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years, 8 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 const Matcher<Node*>& rhs_matcher); 196 const Matcher<Node*>& rhs_matcher);
197 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); 197 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
198 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); 198 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher);
199 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 199 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
200 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); 200 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher);
201 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); 201 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
202 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); 202 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
203 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 203 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
204 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); 204 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
205 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 205 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
206 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher,
207 const Matcher<Node*>& rhs_matcher);
208 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher,
209 const Matcher<Node*>& rhs_matcher);
210 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher);
206 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, 211 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher,
207 const Matcher<Node*>& rhs_matcher); 212 const Matcher<Node*>& rhs_matcher);
208 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, 213 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher,
209 const Matcher<Node*>& rhs_matcher); 214 const Matcher<Node*>& rhs_matcher);
210 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, 215 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher,
211 const Matcher<Node*>& rhs_matcher); 216 const Matcher<Node*>& rhs_matcher);
217 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher);
212 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); 218 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
213 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); 219 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher);
214 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); 220 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher);
215 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); 221 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher);
216 Matcher<Node*> IsFloat64ExtractLowWord32(const Matcher<Node*>& input_matcher); 222 Matcher<Node*> IsFloat64ExtractLowWord32(const Matcher<Node*>& input_matcher);
217 Matcher<Node*> IsFloat64ExtractHighWord32(const Matcher<Node*>& input_matcher); 223 Matcher<Node*> IsFloat64ExtractHighWord32(const Matcher<Node*>& input_matcher);
218 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher, 224 Matcher<Node*> IsFloat64InsertLowWord32(const Matcher<Node*>& lhs_matcher,
219 const Matcher<Node*>& rhs_matcher); 225 const Matcher<Node*>& rhs_matcher);
220 Matcher<Node*> IsFloat64InsertHighWord32(const Matcher<Node*>& lhs_matcher, 226 Matcher<Node*> IsFloat64InsertHighWord32(const Matcher<Node*>& lhs_matcher,
221 const Matcher<Node*>& rhs_matcher); 227 const Matcher<Node*>& rhs_matcher);
222 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher, 228 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher,
223 const Matcher<Node*>& context_matcher, 229 const Matcher<Node*>& context_matcher,
224 const Matcher<Node*>& effect_matcher, 230 const Matcher<Node*>& effect_matcher,
225 const Matcher<Node*>& control_matcher); 231 const Matcher<Node*>& control_matcher);
226 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 232 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
227 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 233 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
228 234
229 } // namespace compiler 235 } // namespace compiler
230 } // namespace internal 236 } // namespace internal
231 } // namespace v8 237 } // namespace v8
232 238
233 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 239 #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