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

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

Issue 2624183002: [compiler] Allow for StackSlots of arbitrary size (Closed)
Patch Set: Address comments Created 3 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/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/machine-type.h" 10 #include "src/machine-type.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 const Matcher<Node*>& base_matcher, 326 const Matcher<Node*>& base_matcher,
327 const Matcher<Node*>& index_matcher, 327 const Matcher<Node*>& index_matcher,
328 const Matcher<Node*>& value_matcher, 328 const Matcher<Node*>& value_matcher,
329 const Matcher<Node*>& effect_matcher, 329 const Matcher<Node*>& effect_matcher,
330 const Matcher<Node*>& control_matcher); 330 const Matcher<Node*>& control_matcher);
331 Matcher<Node*> IsUnalignedStore( 331 Matcher<Node*> IsUnalignedStore(
332 const Matcher<UnalignedStoreRepresentation>& rep_matcher, 332 const Matcher<UnalignedStoreRepresentation>& rep_matcher,
333 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher, 333 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher,
334 const Matcher<Node*>& value_matcher, const Matcher<Node*>& effect_matcher, 334 const Matcher<Node*>& value_matcher, const Matcher<Node*>& effect_matcher,
335 const Matcher<Node*>& control_matcher); 335 const Matcher<Node*>& control_matcher);
336 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); 336 Matcher<Node*> IsStackSlot(const Matcher<int>& size_matcher);
337 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, 337 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher,
338 const Matcher<Node*>& rhs_matcher); 338 const Matcher<Node*>& rhs_matcher);
339 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, 339 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher,
340 const Matcher<Node*>& rhs_matcher); 340 const Matcher<Node*>& rhs_matcher);
341 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, 341 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher,
342 const Matcher<Node*>& rhs_matcher); 342 const Matcher<Node*>& rhs_matcher);
343 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, 343 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher,
344 const Matcher<Node*>& rhs_matcher); 344 const Matcher<Node*>& rhs_matcher);
345 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, 345 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher,
346 const Matcher<Node*>& rhs_matcher); 346 const Matcher<Node*>& rhs_matcher);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 const Matcher<Node*>& rhs_matcher); 470 const Matcher<Node*>& rhs_matcher);
471 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher); 471 Matcher<Node*> IsWord32ReverseBytes(const Matcher<Node*>& value_matcher);
472 472
473 Matcher<Node*> IsStackSlot(); 473 Matcher<Node*> IsStackSlot();
474 474
475 } // namespace compiler 475 } // namespace compiler
476 } // namespace internal 476 } // namespace internal
477 } // namespace v8 477 } // namespace v8
478 478
479 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 479 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/int64-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