Lines Matching refs:elements_kind

1855   ElementsKind elements_kind = FAST_ELEMENTS;  in BuildRegExpConstructResult()  local
1856 HValue* size = BuildCalculateElementsSize(elements_kind, length); in BuildRegExpConstructResult()
1892 HAllocate* elements = BuildAllocateElements(elements_kind, size); in BuildRegExpConstructResult()
1893 BuildInitializeElementsHeader(elements, elements_kind, length); in BuildRegExpConstructResult()
1897 elements_kind, max_length->Integer32Value()); in BuildRegExpConstructResult()
1907 elements, elements_kind, graph()->GetConstant0(), length, in BuildRegExpConstructResult()
2536 ElementsKind elements_kind, in BuildUncheckedMonomorphicElementAccess() argument
2542 DCHECK(!IsFixedTypedArrayElementsKind(elements_kind) || !is_js_array); in BuildUncheckedMonomorphicElementAccess()
2549 if ((elements_kind == FAST_HOLEY_ELEMENTS) || in BuildUncheckedMonomorphicElementAccess()
2550 (elements_kind == FAST_ELEMENTS && access_type == STORE)) { in BuildUncheckedMonomorphicElementAccess()
2554 bool fast_smi_only_elements = IsFastSmiElementsKind(elements_kind); in BuildUncheckedMonomorphicElementAccess()
2555 bool fast_elements = IsFastObjectElementsKind(elements_kind); in BuildUncheckedMonomorphicElementAccess()
2567 HObjectAccess::ForArrayLength(elements_kind)); in BuildUncheckedMonomorphicElementAccess()
2573 if (IsFixedTypedArrayElementsKind(elements_kind)) { in BuildUncheckedMonomorphicElementAccess()
2595 elements_kind, access_type); in BuildUncheckedMonomorphicElementAccess()
2604 checked_object->ActualValue(), elements_kind, in BuildUncheckedMonomorphicElementAccess()
2610 IsFastDoubleElementsKind(elements_kind)); in BuildUncheckedMonomorphicElementAccess()
2615 if (access_type == STORE && IsFastSmiElementsKind(elements_kind) && in BuildUncheckedMonomorphicElementAccess()
2623 elements_kind, STORE_TO_INITIALIZED_ENTRY); in BuildUncheckedMonomorphicElementAccess()
2626 elements_kind, length, key, in BuildUncheckedMonomorphicElementAccess()
2636 elements_kind, length); in BuildUncheckedMonomorphicElementAccess()
2645 elements_kind, access_type, load_mode); in BuildUncheckedMonomorphicElementAccess()
2781 ElementsKind elements_kind, in BuildJSArrayHeader() argument
2797 array, HObjectAccess::ForArrayLength(elements_kind), length_field); in BuildJSArrayHeader()
2808 HValue* backing_store_owner, ElementsKind elements_kind, in AddElementAccess() argument
2812 if (elements_kind == UINT8_CLAMPED_ELEMENTS) { in AddElementAccess()
2816 elements_kind, STORE_TO_INITIALIZED_ENTRY); in AddElementAccess()
2823 elements_kind, load_mode); in AddElementAccess()
2824 if (elements_kind == UINT32_ELEMENTS) { in AddElementAccess()
2900 ElementsKind elements_kind, in BuildFillElementsWithValue() argument
2924 Add<HStoreKeyed>(elements, key, value, nullptr, elements_kind); in BuildFillElementsWithValue()
2938 Add<HStoreKeyed>(elements, adjusted_key, value, nullptr, elements_kind); in BuildFillElementsWithValue()
2946 ElementsKind elements_kind, in BuildFillElementsWithHole() argument
2952 HValue* hole = IsFastSmiOrObjectElementsKind(elements_kind) in BuildFillElementsWithHole()
2958 if (IsFastSmiOrObjectElementsKind(elements_kind)) { in BuildFillElementsWithHole()
2959 elements_kind = FAST_HOLEY_ELEMENTS; in BuildFillElementsWithHole()
2962 BuildFillElementsWithValue(elements, elements_kind, from, to, hole); in BuildFillElementsWithHole()
7367 map->elements_kind(), access_type, in BuildMonomorphicElementAccess()
7417 if (IsHoleyElementsKind(map->elements_kind())) { in TryBuildConsolidatedElementLoad()
7423 most_general_consolidated_map->elements_kind(), in TryBuildConsolidatedElementLoad()
7424 map->elements_kind())) { in TryBuildConsolidatedElementLoad()
7434 ? GetHoleyElementsKind(most_general_consolidated_map->elements_kind()) in TryBuildConsolidatedElementLoad()
7435 : most_general_consolidated_map->elements_kind(); in TryBuildConsolidatedElementLoad()
7504 ElementsKind elements_kind = map->elements_kind(); in HandlePolymorphicElementAccess() local
7505 if (CanInlineElementAccess(map) && IsFastElementsKind(elements_kind) && in HandlePolymorphicElementAccess()
7506 elements_kind != GetInitialFastElementsKind()) { in HandlePolymorphicElementAccess()
7509 if (IsSloppyArgumentsElements(elements_kind)) { in HandlePolymorphicElementAccess()
7531 map->elements_kind(), in HandlePolymorphicElementAccess()
7532 transition_target.at(i)->elements_kind())); in HandlePolymorphicElementAccess()
7562 ElementsKind elements_kind = map->elements_kind(); in HandlePolymorphicElementAccess() local
7575 DCHECK(IsFastElementsKind(elements_kind) || in HandlePolymorphicElementAccess()
7576 IsFixedTypedArrayElementsKind(elements_kind)); in HandlePolymorphicElementAccess()
7582 elements_kind, access_type, in HandlePolymorphicElementAccess()
8708 IsFastElementsKind(receiver_map->elements_kind()) && in CanInlineArrayResizeOperation()
8836 ElementsKind elements_kind = receiver_map->elements_kind(); in TryInlineBuiltinMethodCall() local
8846 HObjectAccess::ForArrayLength(elements_kind)); in TryInlineBuiltinMethodCall()
8862 if (IsFastSmiOrObjectElementsKind(elements_kind)) { in TryInlineBuiltinMethodCall()
8864 elements_kind, length); in TryInlineBuiltinMethodCall()
8868 bounds_check, nullptr, elements_kind, LOAD); in TryInlineBuiltinMethodCall()
8869 HValue* hole = IsFastSmiOrObjectElementsKind(elements_kind) in TryInlineBuiltinMethodCall()
8872 if (IsFastSmiOrObjectElementsKind(elements_kind)) { in TryInlineBuiltinMethodCall()
8873 elements_kind = FAST_HOLEY_ELEMENTS; in TryInlineBuiltinMethodCall()
8876 elements_kind, STORE); in TryInlineBuiltinMethodCall()
8878 checked_object, HObjectAccess::ForArrayLength(elements_kind), in TryInlineBuiltinMethodCall()
8894 ElementsKind elements_kind = receiver_map->elements_kind(); in TryInlineBuiltinMethodCall() local
8928 array, nullptr, HObjectAccess::ForArrayLength(elements_kind)); in TryInlineBuiltinMethodCall()
8935 checked_array, length, value_to_push, is_array, elements_kind, in TryInlineBuiltinMethodCall()
8948 ElementsKind kind = receiver_map->elements_kind(); in TryInlineBuiltinMethodCall()
9061 ElementsKind kind = receiver_map->elements_kind(); in TryInlineBuiltinMethodCall()
11953 ElementsKind kind = boilerplate_object->map()->elements_kind(); in BuildEmitElements()
12359 HValue* elements_kind = BuildGetElementsKind(object); in GenerateHasFastPackedElements() local
12361 elements_kind, Add<HConstant>(FAST_SMI_ELEMENTS), Token::EQ); in GenerateHasFastPackedElements()
12364 elements_kind, Add<HConstant>(FAST_ELEMENTS), Token::EQ); in GenerateHasFastPackedElements()
12367 elements_kind, Add<HConstant>(FAST_DOUBLE_ELEMENTS), Token::EQ); in GenerateHasFastPackedElements()