Lines Matching refs:elements_kind
980 IsFastElementsKind(receiver_map->elements_kind()) && in CanInlineArrayIteratingBuiltin()
1033 ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayForEach()
1038 ElementsKind next_kind = receiver_map->elements_kind(); in ReduceArrayForEach()
1221 ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayReduce()
1225 if (!UnionElementsKindUptoSize(&kind, receiver_map->elements_kind())) in ReduceArrayReduce()
1501 const ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayMap()
1508 if (receiver_map->elements_kind() != kind) return NoChange(); in ReduceArrayMap()
1713 const ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayFilter()
1723 if (receiver_map->elements_kind() != kind) return NoChange(); in ReduceArrayFilter()
1993 const ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayFind()
2000 if (receiver_map->elements_kind() != kind) return NoChange(); in ReduceArrayFind()
2314 const ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayEvery()
2321 if (receiver_map->elements_kind() != kind) return NoChange(); in ReduceArrayEvery()
2516 Callable GetCallableForArrayIndexOf(ElementsKind elements_kind, in GetCallableForArrayIndexOf() argument
2518 switch (elements_kind) { in GetCallableForArrayIndexOf()
2528 DCHECK_EQ(HOLEY_DOUBLE_ELEMENTS, elements_kind); in GetCallableForArrayIndexOf()
2536 Callable GetCallableForArrayIncludes(ElementsKind elements_kind, in GetCallableForArrayIncludes() argument
2538 switch (elements_kind) { in GetCallableForArrayIncludes()
2549 DCHECK_EQ(HOLEY_DOUBLE_ELEMENTS, elements_kind); in GetCallableForArrayIncludes()
2577 if (IsHoleyElementsKind(receiver_map->elements_kind())) { in ReduceArrayIndexOfIncludes()
2584 ? GetCallableForArrayIndexOf(receiver_map->elements_kind(), isolate()) in ReduceArrayIndexOfIncludes()
2585 : GetCallableForArrayIncludes(receiver_map->elements_kind(), in ReduceArrayIndexOfIncludes()
2604 AccessBuilder::ForJSArrayLength(receiver_map->elements_kind())), in ReduceArrayIndexOfIncludes()
2665 const ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArraySome()
2672 if (receiver_map->elements_kind() != kind) return NoChange(); in ReduceArraySome()
4336 IsFastElementsKind(receiver_map->elements_kind()) && in CanInlineArrayResizeOperation()
4367 ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayPrototypePush()
4372 if (!UnionElementsKindUptoPackedness(&kind, receiver_map->elements_kind())) in ReduceArrayPrototypePush()
4479 ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayPrototypePop()
4485 if (receiver_map->elements_kind() == HOLEY_DOUBLE_ELEMENTS) in ReduceArrayPrototypePop()
4487 if (!UnionElementsKindUptoSize(&kind, receiver_map->elements_kind())) in ReduceArrayPrototypePop()
4598 ElementsKind kind = receiver_maps[0]->elements_kind(); in ReduceArrayPrototypeShift()
4604 if (receiver_map->elements_kind() == HOLEY_DOUBLE_ELEMENTS) in ReduceArrayPrototypeShift()
4606 if (!UnionElementsKindUptoSize(&kind, receiver_map->elements_kind())) in ReduceArrayPrototypeShift()
4813 if (IsHoleyElementsKind(receiver_map->elements_kind())) can_be_holey = true; in ReduceArrayPrototypeSlice()
4946 ElementsKind elements_kind = iterated_object_maps[0]->elements_kind(); in ReduceArrayIteratorPrototypeNext() local
4947 if (IsFixedTypedArrayElementsKind(elements_kind)) { in ReduceArrayIteratorPrototypeNext()
4949 if (elements_kind == BIGUINT64_ELEMENTS || in ReduceArrayIteratorPrototypeNext()
4950 elements_kind == BIGINT64_ELEMENTS) { in ReduceArrayIteratorPrototypeNext()
4954 if (iterated_object_map->elements_kind() != elements_kind) { in ReduceArrayIteratorPrototypeNext()
4963 if (!UnionElementsKindUptoSize(&elements_kind, in ReduceArrayIteratorPrototypeNext()
4964 iterated_object_map->elements_kind())) { in ReduceArrayIteratorPrototypeNext()
4971 if (IsHoleyElementsKind(elements_kind)) { in ReduceArrayIteratorPrototypeNext()
4988 if (IsFixedTypedArrayElementsKind(elements_kind)) { in ReduceArrayIteratorPrototypeNext()
5017 if (IsFixedTypedArrayElementsKind(elements_kind)) { in ReduceArrayIteratorPrototypeNext()
5041 IsFixedTypedArrayElementsKind(elements_kind) in ReduceArrayIteratorPrototypeNext()
5043 : AccessBuilder::ForJSArrayLength(elements_kind); in ReduceArrayIteratorPrototypeNext()
5071 if (IsFixedTypedArrayElementsKind(elements_kind)) { in ReduceArrayIteratorPrototypeNext()
5082 switch (elements_kind) { in ReduceArrayIteratorPrototypeNext()
5104 AccessBuilder::ForFixedArrayElement(elements_kind)), in ReduceArrayIteratorPrototypeNext()
5108 if (elements_kind == HOLEY_ELEMENTS || in ReduceArrayIteratorPrototypeNext()
5109 elements_kind == HOLEY_SMI_ELEMENTS) { in ReduceArrayIteratorPrototypeNext()
5112 } else if (elements_kind == HOLEY_DOUBLE_ELEMENTS) { in ReduceArrayIteratorPrototypeNext()
5148 if (!IsFixedTypedArrayElementsKind(elements_kind)) { in ReduceArrayIteratorPrototypeNext()