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

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

Issue 1448913002: [Interpreter] Add support for keyed load / store ICs and named store IC to (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@graph_builder_load
Patch Set: Made the binding of return value of the store explicit. Created 5 years, 1 month 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher, 351 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher,
352 const Matcher<Node*>& context_matcher, 352 const Matcher<Node*>& context_matcher,
353 const Matcher<Node*>& effect_matcher, 353 const Matcher<Node*>& effect_matcher,
354 const Matcher<Node*>& control_matcher); 354 const Matcher<Node*>& control_matcher);
355 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, 355 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher,
356 const Matcher<Node*>& context_matcher); 356 const Matcher<Node*>& context_matcher);
357 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 357 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
358 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 358 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
359 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 359 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
360 Matcher<Node*> IsLoadFramePointer(); 360 Matcher<Node*> IsLoadFramePointer();
361 Matcher<Node*> IsJSLoadNamed(const Handle<Name> name,
362 const Matcher<Node*>& object_value_matcher,
363 const Matcher<Node*>& feedback_vector_matcher,
364 const Matcher<Node*>& effect_matcher,
365 const Matcher<Node*>& control_matcher);
366 Matcher<Node*> IsJSLoadGlobal(const Handle<Name> name, 361 Matcher<Node*> IsJSLoadGlobal(const Handle<Name> name,
367 const TypeofMode typeof_mode, 362 const TypeofMode typeof_mode,
368 const Matcher<Node*>& feedback_vector_matcher, 363 const Matcher<Node*>& feedback_vector_matcher,
369 const Matcher<Node*>& effect_matcher, 364 const Matcher<Node*>& effect_matcher,
370 const Matcher<Node*>& control_matcher); 365 const Matcher<Node*>& control_matcher);
371 Matcher<Node*> IsJSStoreGlobal(const Handle<Name> name, 366 Matcher<Node*> IsJSStoreGlobal(const Handle<Name> name,
372 const Matcher<Node*>& value, 367 const Matcher<Node*>& value,
373 const Matcher<Node*>& feedback_vector_matcher, 368 const Matcher<Node*>& feedback_vector_matcher,
374 const Matcher<Node*>& effect_matcher, 369 const Matcher<Node*>& effect_matcher,
375 const Matcher<Node*>& control_matcher); 370 const Matcher<Node*>& control_matcher);
371 Matcher<Node*> IsJSLoadNamed(const Handle<Name> name,
372 const Matcher<Node*>& object_value_matcher,
373 const Matcher<Node*>& feedback_vector_matcher,
374 const Matcher<Node*>& effect_matcher,
375 const Matcher<Node*>& control_matcher);
376 Matcher<Node*> IsJSLoadProperty(const Matcher<Node*>& object_matcher,
377 const Matcher<Node*>& key_matcher,
378 const Matcher<Node*>& feedback_vector_matcher,
379 const Matcher<Node*>& effect_matcher,
380 const Matcher<Node*>& control_matcher);
381 Matcher<Node*> IsJSStoreNamed(const Handle<Name> name,
382 const Matcher<Node*>& object_matcher,
383 const Matcher<Node*>& value_matcher,
384 const Matcher<Node*>& feedback_vector_matcher,
385 const Matcher<Node*>& effect_matcher,
386 const Matcher<Node*>& control_matcher);
387 Matcher<Node*> IsJSStoreProperty(const Matcher<Node*>& object_matcher,
388 const Matcher<Node*>& key_matcher,
389 const Matcher<Node*>& value_matcher,
390 const Matcher<Node*>& feedback_vector_matcher,
391 const Matcher<Node*>& effect_matcher,
392 const Matcher<Node*>& control_matcher);
376 Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers, 393 Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers,
377 const Matcher<Node*>& effect_matcher, 394 const Matcher<Node*>& effect_matcher,
378 const Matcher<Node*>& control_matcher); 395 const Matcher<Node*>& control_matcher);
379 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); 396 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher);
380 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); 397 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher);
381 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, 398 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher,
382 const Matcher<Node*>& key_matcher, 399 const Matcher<Node*>& key_matcher,
383 const Matcher<Node*>& effect_matcher, 400 const Matcher<Node*>& effect_matcher,
384 const Matcher<Node*>& control_matcher); 401 const Matcher<Node*>& control_matcher);
385 402
386 } // namespace compiler 403 } // namespace compiler
387 } // namespace internal 404 } // namespace internal
388 } // namespace v8 405 } // namespace v8
389 406
390 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 407 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/bytecode-graph-builder-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