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

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

Issue 1919513002: [turbofan] Introduce TruncateTaggedToWord32 simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, 306 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher,
307 const Matcher<Node*>& rhs_matcher); 307 const Matcher<Node*>& rhs_matcher);
308 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, 308 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher,
309 const Matcher<Node*>& rhs_matcher); 309 const Matcher<Node*>& rhs_matcher);
310 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher, 310 Matcher<Node*> IsInt64Add(const Matcher<Node*>& lhs_matcher,
311 const Matcher<Node*>& rhs_matcher); 311 const Matcher<Node*>& rhs_matcher);
312 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher, 312 Matcher<Node*> IsInt64Sub(const Matcher<Node*>& lhs_matcher,
313 const Matcher<Node*>& rhs_matcher); 313 const Matcher<Node*>& rhs_matcher);
314 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher, 314 Matcher<Node*> IsJSAdd(const Matcher<Node*>& lhs_matcher,
315 const Matcher<Node*>& rhs_matcher); 315 const Matcher<Node*>& rhs_matcher);
316 Matcher<Node*> IsTruncateFloat64ToWord32(const Matcher<Node*>& input_matcher);
316 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); 317 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
317 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); 318 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher);
318 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 319 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
319 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); 320 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher);
320 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); 321 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
321 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); 322 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
322 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 323 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
323 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
324 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 324 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
325 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher, 325 Matcher<Node*> IsFloat32Max(const Matcher<Node*>& lhs_matcher,
326 const Matcher<Node*>& rhs_matcher); 326 const Matcher<Node*>& rhs_matcher);
327 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher, 327 Matcher<Node*> IsFloat32Min(const Matcher<Node*>& lhs_matcher,
328 const Matcher<Node*>& rhs_matcher); 328 const Matcher<Node*>& rhs_matcher);
329 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher); 329 Matcher<Node*> IsFloat32Abs(const Matcher<Node*>& input_matcher);
330 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher, 330 Matcher<Node*> IsFloat32Equal(const Matcher<Node*>& lhs_matcher,
331 const Matcher<Node*>& rhs_matcher); 331 const Matcher<Node*>& rhs_matcher);
332 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher, 332 Matcher<Node*> IsFloat32LessThan(const Matcher<Node*>& lhs_matcher,
333 const Matcher<Node*>& rhs_matcher); 333 const Matcher<Node*>& rhs_matcher);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 Matcher<Node*> IsStackSlot(); 389 Matcher<Node*> IsStackSlot();
390 Matcher<Node*> IsGuard(const Matcher<Type*>& type_matcher, 390 Matcher<Node*> IsGuard(const Matcher<Type*>& type_matcher,
391 const Matcher<Node*>& value_matcher, 391 const Matcher<Node*>& value_matcher,
392 const Matcher<Node*>& control_matcher); 392 const Matcher<Node*>& control_matcher);
393 393
394 } // namespace compiler 394 } // namespace compiler
395 } // namespace internal 395 } // namespace internal
396 } // namespace v8 396 } // namespace v8
397 397
398 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 398 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698