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

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

Issue 1235663002: [turbofan] Reduce Float64 comparison to Float32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); 247 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
248 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); 248 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
249 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 249 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
250 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); 250 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
251 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 251 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
252 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, 252 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher,
253 const Matcher<Node*>& rhs_matcher); 253 const Matcher<Node*>& rhs_matcher);
254 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher, 254 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher,
255 const Matcher<Node*>& rhs_matcher); 255 const Matcher<Node*>& rhs_matcher);
256 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); 256 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher);
257 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher,
258 const Matcher<Node*>& rhs_matcher);
259 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher,
260 const Matcher<Node*>& rhs_matcher);
261 Matcher<Node*> IsFloat32LessThanOrEqual(const Matcher<Node*>& lhs_matcher,
262 const Matcher<Node*>& rhs_matcher);
257 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher, 263 Matcher<Node*> IsFloat64Max(const Matcher<Node*>& lhs_matcher,
258 const Matcher<Node*>& rhs_matcher); 264 const Matcher<Node*>& rhs_matcher);
259 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher, 265 Matcher<Node*> IsFloat64Min(const Matcher<Node*>& lhs_matcher,
260 const Matcher<Node*>& rhs_matcher); 266 const Matcher<Node*>& rhs_matcher);
261 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher, 267 Matcher<Node*> IsFloat64Sub(const Matcher<Node*>& lhs_matcher,
262 const Matcher<Node*>& rhs_matcher); 268 const Matcher<Node*>& rhs_matcher);
263 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher); 269 Matcher<Node*> IsFloat64Abs(const Matcher<Node*>& input_matcher);
264 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); 270 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
265 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher); 271 Matcher<Node*> IsFloat64RoundDown(const Matcher<Node*>& input_matcher);
266 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); 272 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher);
(...skipping 11 matching lines...) Expand all
278 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, 284 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher,
279 const Matcher<Node*>& context_matcher); 285 const Matcher<Node*>& context_matcher);
280 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 286 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
281 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 287 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
282 288
283 } // namespace compiler 289 } // namespace compiler
284 } // namespace internal 290 } // namespace internal
285 } // namespace v8 291 } // namespace v8
286 292
287 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 293 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/machine-operator-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