/external/v8/src/ |
D | elements-kind.cc | 36 case PACKED_ELEMENTS: in ElementsKindToShiftSize() 84 fast_elements_kind_sequence[4] = PACKED_ELEMENTS; in Construct() 92 STATIC_ASSERT(PACKED_ELEMENTS + kFastElementsKindPackedToHoley == in Construct() 146 return to_kind == PACKED_ELEMENTS || to_kind == HOLEY_ELEMENTS; in IsMoreGeneralElementsKindTransition() 147 case PACKED_ELEMENTS: in IsMoreGeneralElementsKindTransition() 160 static_assert(HOLEY_SMI_ELEMENTS < PACKED_ELEMENTS, in UnionElementsKindUptoSize() 162 static_assert(PACKED_ELEMENTS < HOLEY_ELEMENTS, in UnionElementsKindUptoSize() 172 case PACKED_ELEMENTS: in UnionElementsKindUptoSize() 185 case PACKED_ELEMENTS: in UnionElementsKindUptoSize() 192 case PACKED_ELEMENTS: in UnionElementsKindUptoSize() [all …]
|
D | elements-kind.h | 37 PACKED_ELEMENTS, enumerator 145 kind == PACKED_ELEMENTS || kind == HOLEY_ELEMENTS; in IsSmiOrObjectElementsKind() 157 return kind == PACKED_ELEMENTS || kind == HOLEY_ELEMENTS; in IsObjectElementsKind() 172 kind == PACKED_ELEMENTS; in IsFastPackedElementsKind() 184 return PACKED_ELEMENTS; in GetPackedElementsKind() 197 if (packed_kind == PACKED_ELEMENTS) { in GetHoleyElementsKind() 208 static_assert(PACKED_ELEMENTS < HOLEY_ELEMENTS, in UnionElementsKindUptoPackedness() 221 case PACKED_ELEMENTS: in UnionElementsKindUptoPackedness() 223 if (b == PACKED_ELEMENTS || b == HOLEY_ELEMENTS) { in UnionElementsKindUptoPackedness() 245 return (from_kind == PACKED_SMI_ELEMENTS) ? PACKED_ELEMENTS : HOLEY_ELEMENTS; in FastSmiToObjectElementsKind()
|
D | code-factory.cc | 359 CASE(PACKED_ELEMENTS, Packed, DisableAllocationSites); in ArrayNoArgumentConstructor() 395 CASE(PACKED_ELEMENTS, Packed, DisableAllocationSites); in ArraySingleArgumentConstructor() 410 case PACKED_ELEMENTS: in InternalArrayNoArgumentConstructor() 427 case PACKED_ELEMENTS: in InternalArraySingleArgumentConstructor()
|
D | json-parser.cc | 562 return PACKED_ELEMENTS; in GetElementsKind() 565 return PACKED_ELEMENTS; in GetElementsKind() 603 case PACKED_ELEMENTS: in ParseJsonArray()
|
D | json-stringifier.cc | 564 case PACKED_ELEMENTS: { in SerializeJSArray() 568 object->GetElementsKind() != PACKED_ELEMENTS) { in SerializeJSArray()
|
D | elements.cc | 76 V(FastPackedObjectElementsAccessor, PACKED_ELEMENTS, FixedArray) \ 1263 CopyObjectToObjectElements(isolate, *keys, PACKED_ELEMENTS, 0, in PrependElementIndicesImpl() 1264 *combined_keys, PACKED_ELEMENTS, nof_indices, in PrependElementIndicesImpl() 2179 } else if (KindTraits::Kind == PACKED_ELEMENTS || in ValidateContents() 2670 case PACKED_ELEMENTS: in CopyElementsImpl() 2787 ElementsKindTraits<PACKED_ELEMENTS>> { 2791 ElementsKindTraits<PACKED_ELEMENTS>>( in FastPackedObjectElementsAccessor() 2850 case PACKED_ELEMENTS: in CopyElementsImpl() 4539 case PACKED_ELEMENTS: { in ArrayConstructInitializeElements()
|
/external/v8/src/objects/ |
D | template-objects.cc | 21 raw_strings, PACKED_ELEMENTS, raw_strings->length(), TENURED); in CreateTemplateObject() 26 cooked_strings, PACKED_ELEMENTS, cooked_strings->length(), TENURED); in CreateTemplateObject()
|
/external/v8/src/builtins/ |
D | builtins-arguments-gen.cc | 87 : ElementOffsetFromIndex(element_count, PACKED_ELEMENTS, mode, in AllocateArgumentsObject() 108 arguments_count, PACKED_ELEMENTS, mode, FixedArray::kHeaderSize); in AllocateArgumentsObject() 176 LoadJSArrayElementsMap(PACKED_ELEMENTS, native_context); in EmitFastNewRestParameter() 313 ElementOffsetFromIndex(argument_count, PACKED_ELEMENTS, mode, in EmitFastNewSloppyArguments() 316 ElementOffsetFromIndex(mapped_count, PACKED_ELEMENTS, mode, in EmitFastNewSloppyArguments() 354 zero, PACKED_ELEMENTS, mode, FixedArray::kHeaderSize - kHeapObjectTag); in EmitFastNewSloppyArguments()
|
D | builtins-object-gen.cc | 227 Node* array_map = LoadJSArrayElementsMap(PACKED_ELEMENTS, native_context); in GetOwnValuesOrEntries() 228 Node* empty_array = AllocateJSArray(PACKED_ELEMENTS, array_map, in GetOwnValuesOrEntries() 272 LoadJSArrayElementsMap(PACKED_ELEMENTS, native_context); in FastGetOwnValuesOrEntries() 297 PACKED_ELEMENTS, object_enum_length, kAllowLargeObjectAllocation)); in FastGetOwnValuesOrEntries() 305 FillFixedArrayWithValue(PACKED_ELEMENTS, values_or_entries, in FastGetOwnValuesOrEntries() 362 PACKED_ELEMENTS, array_map, SmiConstant(2), nullptr, in FastGetOwnValuesOrEntries() 743 Node* array_map = LoadJSArrayElementsMap(PACKED_ELEMENTS, native_context); in TF_BUILTIN() 746 PACKED_ELEMENTS, array_map, array_length, nullptr, object_enum_length, in TF_BUILTIN() 748 CopyFixedArrayElements(PACKED_ELEMENTS, object_enum_keys, elements, in TF_BUILTIN() 774 Node* array_map = LoadJSArrayElementsMap(PACKED_ELEMENTS, native_context); in TF_BUILTIN() [all …]
|
D | builtins-intl-gen.cc | 193 PACKED_ELEMENTS, in AllocateEmptyJSArray() 194 LoadJSArrayElementsMap(PACKED_ELEMENTS, LoadNativeContext(context)), in AllocateEmptyJSArray()
|
D | builtins-array.cc | 122 target_kind = PACKED_ELEMENTS; in EnsureJSArrayWithWritableFastElements() 233 if (args->length() == 1 && array->GetElementsKind() != PACKED_ELEMENTS) { in TryFastArrayFill() 237 JSObject::TransitionElementsKind(array, PACKED_ELEMENTS); in TryFastArrayFill() 793 case PACKED_ELEMENTS: in EstimateElementCount() 857 case PACKED_ELEMENTS: in CollectElementIndices() 1027 case PACKED_ELEMENTS: in IterateElements() 1189 kind, obj->IsNumber() ? PACKED_DOUBLE_ELEMENTS : PACKED_ELEMENTS); in Slow_ArrayConcat() 1274 case PACKED_ELEMENTS: in Slow_ArrayConcat()
|
D | builtins-internal-gen.cc | 70 TryGrowElementsCapacity(object, elements, PACKED_ELEMENTS, key, &runtime); in TF_BUILTIN() 84 ElementsKind kind = PACKED_ELEMENTS; in TF_BUILTIN() 848 CAST(AllocateFixedArray(PACKED_ELEMENTS, new_queue_length)); in TF_BUILTIN() 849 CopyFixedArrayElements(PACKED_ELEMENTS, queue, new_queue, num_tasks, in TF_BUILTIN() 853 FillFixedArrayWithValue(PACKED_ELEMENTS, new_queue, new_num_tasks, in TF_BUILTIN() 863 PACKED_ELEMENTS, new_queue_length, INTPTR_PARAMETERS, in TF_BUILTIN() 865 CopyFixedArrayElements(PACKED_ELEMENTS, queue, new_queue, num_tasks); in TF_BUILTIN() 867 FillFixedArrayWithValue(PACKED_ELEMENTS, new_queue, new_num_tasks, in TF_BUILTIN()
|
D | growable-fixed-array-gen.cc | 37 const ElementsKind kind = PACKED_ELEMENTS; in ToJSArray()
|
D | builtins-call-gen.cc | 141 STATIC_ASSERT(PACKED_ELEMENTS == 2); in CallOrConstructWithArrayLike() 242 const ElementsKind new_kind = PACKED_ELEMENTS; in CallOrConstructDoubleVarargs()
|
D | builtins-function-gen.cc | 127 PACKED_ELEMENTS, elements_length, kAllowLargeObjectAllocation)); in TF_BUILTIN()
|
D | builtins-promise-gen.cc | 209 Node* const values_array = AllocateJSArray(PACKED_ELEMENTS, array_map, in CreatePromiseAllResolveElementContext() 1982 AllocateFixedArray(PACKED_ELEMENTS, new_capacity, SMI_PARAMETERS, in PerformPromiseAll() 1984 CopyFixedArrayElements(PACKED_ELEMENTS, old_elements, PACKED_ELEMENTS, in PerformPromiseAll() 2122 CAST(AllocateFixedArray(PACKED_ELEMENTS, new_elements_length, in TF_BUILTIN() 2124 CopyFixedArrayElements(PACKED_ELEMENTS, elements, PACKED_ELEMENTS, in TF_BUILTIN()
|
D | builtins-proxy-gen.cc | 80 Node* allocated_elements = AllocateFixedArray(PACKED_ELEMENTS, argc, mode, in AllocateJSArrayForCodeStubArguments() 116 Node* array_map = LoadJSArrayElementsMap(PACKED_ELEMENTS, native_context); in AllocateJSArrayForCodeStubArguments()
|
D | builtins-array-gen.cc | 748 DCHECK(kind == PACKED_ELEMENTS || kind == PACKED_DOUBLE_ELEMENTS); in VisitAllFastElementsOneKind() 749 int base_size = kind == PACKED_ELEMENTS in VisitAllFastElementsOneKind() 754 if (kind == PACKED_ELEMENTS) { in VisitAllFastElementsOneKind() 810 VisitAllFastElementsOneKind(PACKED_ELEMENTS, processor, slow, mode, in HandleFastElements() 1106 Node* new_length = BuildAppendJSArray(PACKED_ELEMENTS, array_receiver, in TF_BUILTIN() 3010 STATIC_ASSERT(PACKED_ELEMENTS == 2); in Generate() 4057 STATIC_ASSERT(PACKED_ELEMENTS == 2); in CreateArrayDispatchSingleArgument() 4318 GENERATE_ARRAY_CTOR(NoArgument, Packed, PACKED_ELEMENTS, DisableAllocationSites, 4336 GENERATE_ARRAY_CTOR(SingleArgument, Packed, PACKED_ELEMENTS, 4353 GENERATE_INTERNAL_ARRAY_CTOR(NoArgument, Packed, PACKED_ELEMENTS); [all …]
|
D | array-reverse.tq | 168 } else if (kind == PACKED_ELEMENTS) {
|
D | builtins-constructor-gen.cc | 233 Node* size = GetFixedArrayAllocationSize(length, PACKED_ELEMENTS, mode); in EmitFastNewFunctionContext() 270 function_context, PACKED_ELEMENTS, min_context_slots, length, in EmitFastNewFunctionContext()
|
D | builtins-string-gen.cc | 1842 PACKED_ELEMENTS, length, AllocationFlag::kAllowLargeObjectAllocation)); in StringToArray() 1870 TNode<Map> array_map = LoadJSArrayElementsMap(PACKED_ELEMENTS, context); in StringToArray() 1878 FillFixedArrayWithValue(PACKED_ELEMENTS, elements, IntPtrConstant(0), in StringToArray() 1947 const ElementsKind kind = PACKED_ELEMENTS; in TF_BUILTIN() 1985 const ElementsKind kind = PACKED_ELEMENTS; in TF_BUILTIN()
|
/external/v8/src/wasm/ |
D | wasm-module.cc | 136 Handle<JSArray> array_object = factory->NewJSArray(PACKED_ELEMENTS, 0, 0); in GetImports() 203 Handle<JSArray> array_object = factory->NewJSArray(PACKED_ELEMENTS, 0, 0); in GetExports() 288 Handle<JSArray> array_object = factory->NewJSArray(PACKED_ELEMENTS, 0, 0); in GetCustomSections()
|
/external/v8/src/ic/ |
D | keyed-store-generic.cc | 302 Node* offset = ElementOffsetFromIndex(intptr_index, PACKED_ELEMENTS, in StoreElementWithCapacity() 327 PACKED_SMI_ELEMENTS, PACKED_ELEMENTS, slow); in StoreElementWithCapacity() 346 PACKED_ELEMENTS, slow); in StoreElementWithCapacity() 388 : PACKED_ELEMENTS; in StoreElementWithCapacity() 450 : PACKED_ELEMENTS; in StoreElementWithCapacity() 456 intptr_index, PACKED_ELEMENTS, INTPTR_PARAMETERS, kHeaderSize); in StoreElementWithCapacity()
|
/external/v8/src/compiler/ |
D | js-create-lowering.cc | 270 a.Store(AccessBuilder::ForJSArrayLength(PACKED_ELEMENTS), rest_length); in ReduceJSCreateArguments() 393 a.Store(AccessBuilder::ForJSArrayLength(PACKED_ELEMENTS), in ReduceJSCreateArguments() 755 : PACKED_ELEMENTS); in ReduceJSCreateArray() 806 : PACKED_ELEMENTS); in ReduceJSCreateArray() 1079 aa.Store(AccessBuilder::ForFixedArrayElement(PACKED_ELEMENTS), in ReduceJSCreateKeyValueArray() 1081 aa.Store(AccessBuilder::ForFixedArrayElement(PACKED_ELEMENTS), in ReduceJSCreateKeyValueArray() 1090 a.Store(AccessBuilder::ForJSArrayLength(PACKED_ELEMENTS), length); in ReduceJSCreateKeyValueArray()
|
/external/v8/src/runtime/ |
D | runtime-debug.cc | 710 factory->NewJSArrayWithElements(ranges_array, PACKED_ELEMENTS); in RUNTIME_FUNCTION() 715 return *factory->NewJSArrayWithElements(scripts_array, PACKED_ELEMENTS); in RUNTIME_FUNCTION()
|