Home | History | Annotate | Download | only in compiler

Lines Matching refs:Node

9 #include "src/compiler/node.h"
13 #include "test/unittests/compiler/node-test-utils.h"
28 Matcher<Node*> IsIntPtrConstant(const intptr_t value) {
34 Matcher<Node*> IsIntPtrAdd(const Matcher<Node*>& lhs_matcher,
35 const Matcher<Node*>& rhs_matcher) {
41 Matcher<Node*> IsIntPtrSub(const Matcher<Node*>& lhs_matcher,
42 const Matcher<Node*>& rhs_matcher) {
48 Matcher<Node*> IsWordShl(const Matcher<Node*>& lhs_matcher,
49 const Matcher<Node*>& rhs_matcher) {
55 Matcher<Node*> IsWordSar(const Matcher<Node*>& lhs_matcher,
56 const Matcher<Node*>& rhs_matcher) {
62 Matcher<Node*> IsWordOr(const Matcher<Node*>& lhs_matcher,
63 const Matcher<Node*>& rhs_matcher) {
69 Matcher<Node*> InterpreterAssemblerTest::InterpreterAssemblerForTest::IsLoad(
71 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher) {
76 Matcher<Node*> InterpreterAssemblerTest::InterpreterAssemblerForTest::IsStore(
78 const Matcher<Node*>& base_matcher, const Matcher<Node*>& index_matcher,
79 const Matcher<Node*>& value_matcher) {
85 Matcher<Node*>
96 Matcher<Node*> InterpreterAssemblerTest::InterpreterAssemblerForTest::
98 Matcher<Node*> load_matcher = IsLoad(
110 Matcher<Node*>
120 Matcher<Node*> first_byte = IsLoad(
125 Matcher<Node*> second_byte = IsLoad(
143 Matcher<Node*> InterpreterAssemblerTest::InterpreterAssemblerForTest::
145 Matcher<Node*> load_matcher;
163 Matcher<Node*> hi_byte = IsLoad(
169 Matcher<Node*> lo_byte = IsLoad(
190 Node* end = graph->end();
192 Node* tail_call_node = end->InputAt(0);
194 Matcher<Node*> next_bytecode_offset_matcher =
197 Matcher<Node*> target_bytecode_matcher =
201 Matcher<Node*> code_target_matcher =
229 Node* end = graph->end();
231 Node* tail_call_node = end->InputAt(0);
233 Matcher<Node*> next_bytecode_offset_matcher =
236 Matcher<Node*> target_bytecode_matcher =
240 Matcher<Node*> code_target_matcher =
269 Node* lhs = m.IntPtrConstant(0);
270 Node* rhs = m.IntPtrConstant(1);
273 Node* end = graph->end();
279 Matcher<Node*> next_bytecode_offset_matcher =
282 Matcher<Node*> target_bytecode_matcher =
286 Matcher<Node*> code_target_matcher =
313 Node* end = graph->end();
315 Node* tail_call_node = end->InputAt(0);
386 Node* accumulator_value_1 = m.Int32Constant(0xdeadbeef);
389 Node* accumulator_value_2 = m.Int32Constant(42);
397 Node* end = graph->end();
399 Node* tail_call_node = end->InputAt(0);
411 Node* reg_index_node = m.Int32Constant(44);
412 Node
425 Node* reg_index_node = m.Int32Constant(44);
426 Node* load_reg_node = m.LoadRegister(reg_index_node);
439 Node* store_value = m.Int32Constant(0xdeadbeef);
440 Node* reg_index_node = m.Int32Constant(44);
441 Node* store_reg_node = m.StoreRegister(store_value, reg_index_node);
456 Node* value = m.Int32Constant(44);
468 Node* a = m.Int32Constant(0);
469 Node* b = m.Int32Constant(1);
470 Node* add = m.IntPtrAdd(a, b);
479 Node* a = m.Int32Constant(0);
480 Node* b = m.Int32Constant(1);
481 Node* add = m.IntPtrSub(a, b);
490 Node* a = m.Int32Constant(0);
491 Node* add = m.WordShl(a, 10);
500 Node* index = m.Int32Constant(2);
501 Node* load_constant = m.LoadConstantPoolEntry(index);
502 Matcher<Node*> constant_pool_matcher = m.IsLoad(
520 Node* fixed_array = m.IntPtrConstant(0xdeadbeef);
521 Node* load_element = m.LoadFixedArrayElement(fixed_array, index);
536 Node* object = m.IntPtrConstant(0xdeadbeef);
538 Node* load_field = m.LoadObjectField(object, offset);
549 Node* context = m.Int32Constant(1);
550 Node* slot_index = m.Int32Constant(22);
551 Node* load_context_slot = m.LoadContextSlot(context, slot_index);
553 Matcher<Node*> offset =
565 Node* context = m.Int32Constant(1);
566 Node* slot_index = m.Int32Constant(22);
567 Node* value = m.Int32Constant(100);
568 Node* store_context_slot = m.StoreContextSlot(context, slot_index, value);
570 Matcher<Node*> offset =
584 Node* arg1 = m.Int32Constant(2);
585 Node* arg2 = m.Int32Constant(3);
586 Node* call_runtime = m.CallRuntime(Runtime::kAdd, arg1, arg2);
602 Node* function_id = m.Int32Constant(0);
603 Node* first_arg = m.Int32Constant(1);
604 Node* arg_count = m.Int32Constant(2);
606 Matcher<Node*> function_table = IsExternalConstant(
608 Matcher<Node*> function = IsIntPtrAdd(
611 Matcher<Node*> function_entry =
615 Node* call_runtime =
631 Node* target = m.Int32Constant(1);
632 Node* arg1 = m.Int32Constant(2);
633 Node* arg2 = m.Int32Constant(3);
634 Node* arg3 = m.Int32Constant(4);
635 Node* arg4 = m.Int32Constant(5);
636 Node* call_ic = m.CallIC(descriptor, target, arg1, arg2, arg3, arg4);
649 Node* function = m.Int32Constant(0);
650 Node* first_arg = m.Int32Constant(1);
651 Node* arg_count = m.Int32Constant(2);
652 Node* call_js = m.CallJS(function, first_arg, arg_count);
665 Node* feedback_vector = m.LoadTypeFeedbackVector();
667 Matcher<Node*> load_function_matcher =
672 Matcher<Node*> load_shared_function_info_matcher =