Lines Matching refs:Add

157       param = Add<HParameter>(i - register_param_count,
160 param = Add<HParameter>(i, HParameter::REGISTER_PARAMETER, r);
174 Add<HConstant>(param_count - register_param_count - 1);
179 context_ = Add<HContext>();
182 Add<HSimulate>(BailoutId::StubEntry());
201 stack_pop_count = Add<HConstant>(count);
330 HConstant* number_string = Add<HConstant>(factory->number_string());
346 HValue* instance_type = Add<HLoadNamedField>(
350 instance_type, Add<HConstant>(FIRST_NONSTRING_TYPE), Token::LT);
352 { Push(Add<HConstant>(factory->string_string())); }
355 HConstant* object_string = Add<HConstant>(factory->object_string());
358 instance_type, Add<HConstant>(ODDBALL_TYPE), Token::EQ);
361 Push(Add<HLoadNamedField>(object, nullptr,
368 instance_type, Add<HConstant>(SYMBOL_TYPE), Token::EQ);
370 { Push(Add<HConstant>(factory->symbol_string())); }
373 HValue* bit_field = Add<HLoadNamedField>(
377 Add<HConstant>((1 << Map::kIsCallable) |
381 bit_field_masked, Add<HConstant>(1 << Map::kIsCallable),
384 { Push(Add<HConstant>(factory->function_string())); }
390 map, Add<HConstant>(factory->type##_map())); \
392 { Push(Add<HConstant>(factory->type##_string())); } \
403 Push(Add<HConstant>(factory->undefined_string()));
443 HValue* literals_array = Add<HLoadNamedField>(
445 HInstruction* boilerplate = Add<HLoadKeyed>(
457 Add<HAllocate>(Add<HConstant>(result_size), HType::JSObject(),
459 Add<HStoreNamedField>(
461 Add<HLoadNamedField>(boilerplate, nullptr, HObjectAccess::ForMap()));
462 Add<HStoreNamedField>(
464 Add<HLoadNamedField>(boilerplate, nullptr,
466 Add<HStoreNamedField>(
468 Add<HLoadNamedField>(boilerplate, nullptr,
473 Add<HStoreNamedField>(result, access,
474 Add<HLoadNamedField>(boilerplate, nullptr, access));
502 HValue* literals_array = Add<HLoadNamedField>(
505 HInstruction* allocation_site = Add<HLoadKeyed>(
516 Add<HLoadNamedField>(allocation_site, nullptr, access);
570 HValue* literals_array = Add<HLoadNamedField>(
573 HInstruction* allocation_site = Add<HLoadKeyed>(
585 Add<HLoadNamedField>(allocation_site, nullptr, access);
599 Add<HLoadNamedField>(boilerplate, nullptr, HObjectAccess::ForMap());
600 HValue* boilerplate_size = Add<HLoadNamedField>(
602 HValue* size_in_words = Add<HConstant>(object_size >> kPointerSizeLog2);
607 HValue* size_in_bytes = Add<HConstant>(size);
609 HInstruction* object = Add<HAllocate>(size_in_bytes, HType::JSObject(),
614 Add<HStoreNamedField>(object, access,
615 Add<HLoadNamedField>(boilerplate, nullptr, access));
621 object, Add<HConstant>(object_size), allocation_site);
643 HValue* size = Add<HConstant>(AllocationSite::kSize);
644 HInstruction* object = Add<HAllocate>(size, HType::JSObject(), TENURED,
652 HValue* initial_elements_kind = Add<HConstant>(GetInitialFastElementsKind());
653 Add<HStoreNamedField>(object,
659 Add<HStoreNamedField>(object,
665 Add<HStoreNamedField>(object,
671 Add<HStoreNamedField>(object,
678 Add<HConstant>(isolate()->factory()->empty_fixed_array());
679 Add<HStoreNamedField>(
686 HValue* site_list = Add<HConstant>(
688 HValue* site = Add<HLoadNamedField>(site_list, nullptr,
695 Add<HStoreNamedField>(
699 Add<HStoreNamedField>(site_list, HObjectAccess::ForAllocationSiteList(),
704 Add<HStoreKeyed>(feedback_vector, slot, object, nullptr, FAST_ELEMENTS,
721 HValue* size = Add<HConstant>(WeakCell::kSize);
723 Add<HAllocate>(size, HType::JSObject(), TENURED, JS_OBJECT_TYPE);
729 Add<HStoreNamedField>(object, HObjectAccess::ForWeakCellValue(), value);
730 Add<HStoreNamedField>(object, HObjectAccess::ForWeakCellNext(),
736 Add<HStoreKeyed>(feedback_vector, slot, object, nullptr, FAST_ELEMENTS,
751 return Add<HLoadNamedField>(script_context, nullptr,
767 Add<HStoreNamedField>(script_context,
790 HValue* current_capacity = Add<HLoadNamedField>(
795 ? Add<HLoadNamedField>(object, static_cast<HValue*>(NULL),
841 object = Add<HLoadNamedField>(
846 return Add<HLoadNamedField>(object, nullptr, access);
878 HValue* descriptors = Add<HLoadNamedField>(map, nullptr, descriptors_access);
881 return Add<HLoadNamedField>(descriptors, nullptr, value_access);
892 Add<HLoadKeyed>(elements, graph()->GetConstant1(), nullptr, nullptr,
894 Add<HCheckMaps>(backing_store, isolate()->factory()->fixed_array_map());
895 HValue* backing_store_length = Add<HLoadNamedField>(
903 result = Add<HLoadKeyed>(backing_store, key, nullptr, nullptr,
906 Add<HStoreKeyed>(backing_store, key, value, nullptr, FAST_HOLEY_ELEMENTS);
953 HValue* constant_two = Add<HConstant>(2);
955 HValue* elements_length = Add<HLoadNamedField>(
964 Add<HLoadKeyed>(elements, index, nullptr, nullptr, FAST_HOLEY_ELEMENTS,
975 HValue* the_context = Add<HLoadKeyed>(elements, graph()->GetConstant0(),
980 Add<HLoadKeyed>(the_context, mapped_index, nullptr, nullptr,
985 Add<HStoreKeyed>(the_context, mapped_index, value, nullptr,
1054 HInstruction* heap_number_size = Add<HConstant>(HeapNumber::kSize);
1058 Add<HAllocate>(heap_number_size, HType::HeapObject(), NOT_TENURED,
1062 Add<HStoreNamedField>(heap_number, HObjectAccess::ForHeapNumberValue(),
1069 object = Add<HLoadNamedField>(object, nullptr, heap_number_access);
1078 Add<HStoreNamedField>(object, access, value, INITIALIZING_STORE);
1099 HValue* properties = Add<HLoadNamedField>(
1103 Add<HConstant>(static_cast<int32_t>(JSObject::kFieldsAdded));
1108 Add<HBoundsCheck>(new_capacity,
1109 Add<HConstant>((Page::kMaxRegularHeapObjectSize -
1119 Add<HStoreNamedField>(object, HObjectAccess::ForPropertiesPointer(),
1132 Add<HStoreNamedField>(object, HObjectAccess::ForMap(),
1185 Add<HAllocate>(Add<HConstant>(HeapNumber::kSize), HType::HeapNumber(),
1200 Add<HAllocate>(Add<HConstant>(HeapNumber::kSize), HType::HeapObject(),
1214 HValue* result = Add<HAllocate>(GetParameter(0), HType::Tagged(), NOT_TENURED,
1284 HInstruction* elements = Add<HArgumentsElements>(false);
1285 HInstruction* argument = Add<HAccessArgumentsAt>(
1300 Add<HConstant>(JSArray::kInitialMaxFastElementArray);
1301 HValue* checked_length = Add<HBoundsCheck>(length, max_alloc_length);
1327 HInstruction* argument_elements = Add<HArgumentsElements>(false);
1328 HInstruction* argument = Add<HAccessArgumentsAt>(
1331 Add<HStoreKeyed>(elements, key, argument, nullptr, kind);
1557 Add<HLoadNamedField>(input, inputissmi, HObjectAccess::ForMap());
1558 HValue* input_instance_type = Add<HLoadNamedField>(
1562 input_instance_type, Add<HConstant>(FIRST_NONSTRING_TYPE), Token::LT);
1575 input_instance_type, Add<HConstant>(LAST_PRIMITIVE_TYPE), Token::LTE);
1592 Add<HConstant>(stub.GetCode()), 0, descriptor,
1609 Add<HLoadNamedField>(native_context, nullptr,
1615 Add<HLoadNamedField>(native_context, nullptr,
1620 HValue* string_function = Add<HLoadNamedField>(
1623 HValue* string_function_initial_map = Add<HLoadNamedField>(
1628 Add<HLoadNamedField>(input_map, nullptr, HObjectAccess::ForPrototype());
1630 Add<HLoadNamedField>(input_prototype, nullptr, HObjectAccess::ForMap());
1658 Add<HLoadNamedField>(Add<HLoadNamedField>(input_prototype_map, nullptr,
1669 // TODO(bmeurer): Add support for fast ToPrimitive conversion using
1671 Add<HPushArguments>(input);
1672 Push(Add<HCallRuntime>(Runtime::FunctionForId(Runtime::kToPrimitive), 1));
1734 Add<HLoadNamedField>(proxy, nullptr, HObjectAccess::ForMap());
1736 Add<HLoadNamedField>(proxy_map, nullptr, HObjectAccess::ForPrototype());
1737 HValue* map_cell = Add<HConstant>(isolate()->factory()->NewWeakCell(
1739 HValue* expected_map = Add<HLoadNamedField>(
1742 Add<HLoadNamedField>(global, nullptr, HObjectAccess::ForMap());
1749 HValue* weak_cell = Add<HConstant>(isolate()->factory()->NewWeakCell(
1751 HValue* cell = Add<HLoadNamedField>(weak_cell, nullptr,
1753 Add<HCheckHeapObject>(cell);
1758 HValue* cell_contents = Add<HLoadNamedField>(cell, nullptr, access);
1790 Add<HCheckHeapObject>(value);
1791 Add<HCheckHeapObject>(cell_contents);
1792 HValue* expected_map = Add<HLoadNamedField>(cell_contents, nullptr,
1795 Add<HLoadNamedField>(value, nullptr, HObjectAccess::ForMap());
1805 Add<HStoreNamedField>(cell, access, value);
1827 Add<HDeoptimize>(Deoptimizer::kTracingElementsTransitions,
1869 HValue* osr_ast_id_none = Add<HConstant>(BailoutId::None().ToInt());
1872 context_slot = Add<HLoadNamedField>(context_slot, nullptr,
1878 code_object = Add<HLoadNamedField>(code_object, nullptr,
1889 literals = Add<HLoadNamedField>(literals, nullptr,
1912 Add<HStoreCodeEntry>(js_function, code_object);
1913 Add<HStoreNamedField>(js_function, HObjectAccess::ForLiteralsPointer(),
1917 HValue* optimized_functions_list = Add<HLoadNamedField>(
1920 Add<HStoreNamedField>(js_function,
1925 Add<HStoreNamedField>(native_context,
1933 Add<HStoreNamedField>(js_function,
1936 HValue* code_object = Add<HLoadNamedField>(shared_info, nullptr,
1938 Add<HStoreCodeEntry>(js_function, code_object);
1951 HValue* field_offset_value = Add<HConstant>(field_offset);
1954 HInstruction* field_entry = Add<HLoadKeyed>(optimized_map, field_slot,
1967 HInstruction* optimized_map = Add<HLoadNamedField>(
1969 HValue* null_constant = Add<HConstant>(0);
1986 Add<HConstant>(SharedFunctionInfo::kEntriesStart);
1988 Add<HConstant>(SharedFunctionInfo::kEntryLength);
1991 HValue* array_length = Add<HLoadNamedField>(
2016 Add<HLoadNamedField>(optimized_map, nullptr,
2018 shared_code = Add<HLoadNamedField>(shared_code, nullptr,
2025 HValue* literals = Add<HConstant>(factory->empty_fixed_array());
2044 Add<HConstant>(factory->empty_fixed_array());
2050 HValue* size = Add<HConstant>(JSFunction::kSize);
2052 Add<HAllocate>(size, HType::JSObject(), NOT_TENURED, JS_FUNCTION_TYPE);
2060 HInstruction* map_slot_value = Add<HLoadNamedField>(
2062 Add<HStoreNamedField>(js_function, HObjectAccess::ForMap(), map_slot_value);
2065 Add<HStoreNamedField>(js_function, HObjectAccess::ForPropertiesPointer(),
2067 Add<HStoreNamedField>(js_function, HObjectAccess::ForElementsPointer(),
2069 Add<HStoreNamedField>(js_function, HObjectAccess::ForLiteralsPointer(),
2071 Add<HStoreNamedField>(js_function, HObjectAccess::ForPrototypeOrInitialMap(),
2073 Add<HStoreNamedField>(
2075 Add<HStoreNamedField>(js_function, HObjectAccess::ForFunctionContextPointer(),
2100 HAllocate* function_context = Add<HAllocate>(
2101 Add<HConstant>(length * kPointerSize + FixedArray::kHeaderSize),
2107 Add<HStoreNamedField>(function_context,
2109 Add<HConstant>(length));
2112 Add<HStoreNamedField>(function_context,
2115 Add<HStoreNamedField>(function_context,
2118 Add<HStoreNamedField>(function_context,
2123 HValue* native_context = Add<HLoadNamedField>(
2126 Add<HStoreNamedField>(function_context, HObjectAccess::ForContextSlot(
2132 Add<HStoreNamedField>(function_context,
2151 Add<HCheckSmi>(key);
2216 HValue* kind_limit = Add<HConstant>(
2231 instance_type, Add<HConstant>(JS_ARRAY_TYPE), Token::EQ);
2266 Add<HLoadNamedField>(receiver, nullptr, HObjectAccess::ForMap());
2269 Add<HLoadNamedField>(map, nullptr, HObjectAccess::ForMapInstanceType());
2272 Add<HLoadNamedField>(map, nullptr, HObjectAccess::ForMapBitField2());
2303 Add<HDeoptimize>(Deoptimizer::kNonStrictElementsInKeyedLoadGenericStub,
2329 HValue* properties = Add<HLoadNamedField>(
2333 Add<HLoadNamedField>(key, nullptr, HObjectAccess::ForNameHashField());
2335 hash = AddUncasted<HShr>(hash, Add<HConstant>(Name::kHashShift));
2351 HValue* cache_keys = Add<HConstant>(cache_keys_ref);
2354 Add<HLoadNamedField>(receiver, nullptr, HObjectAccess::ForMap());
2355 HValue* base_index = AddUncasted<HMul>(hash, Add<HConstant>(2));
2369 Add<HConstant>(probe_base + KeyedLookupCache::kMapIndex));
2373 Add<HConstant>(probe_base + KeyedLookupCache::kKeyIndex));
2376 Add<HLoadKeyed>(cache_keys, map_index, nullptr, nullptr,
2381 Add<HLoadKeyed>(cache_keys, key_index, nullptr, nullptr,
2389 Add<HConstant>(cache_field_offsets_ref);
2390 HValue* index = AddUncasted<HAdd>(hash, Add<HConstant>(probe));
2393 Add<HLoadKeyed>(cache_field_offsets, index, nullptr, cache_keys,
2408 Push(Add<HLoadFieldByIndex>(receiver, Pop()));
2413 Add<HPushArguments>(receiver, key);
2414 Push(Add<HCallRuntime>(