Home
last modified time | relevance | path

Searched refs:ElementsKind (Results 1 – 25 of 100) sorted by relevance

1234

/external/v8/src/
Delements-kind.h14 enum ElementsKind { enum
65 int ElementsKindToShiftSize(ElementsKind elements_kind);
66 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind);
67 const char* ElementsKindToString(ElementsKind kind);
69 inline ElementsKind GetInitialFastElementsKind() { return FAST_SMI_ELEMENTS; } in GetInitialFastElementsKind()
71 ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number);
72 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind);
74 ElementsKind GetNextTransitionElementsKind(ElementsKind elements_kind);
76 inline bool IsDictionaryElementsKind(ElementsKind kind) { in IsDictionaryElementsKind()
81 inline bool IsSloppyArgumentsElements(ElementsKind kind) { in IsSloppyArgumentsElements()
[all …]
Delements-kind.cc16 int ElementsKindToShiftSize(ElementsKind elements_kind) { in ElementsKindToShiftSize()
47 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind) { in GetDefaultHeaderSizeForElementsKind()
58 const char* ElementsKindToString(ElementsKind kind) { in ElementsKindToString()
66 ElementsKind** fast_elements_kind_sequence_ptr) { in Construct()
67 ElementsKind* fast_elements_kind_sequence = in Construct()
68 new ElementsKind[kFastElementsKindCount]; in Construct()
89 static base::LazyInstance<ElementsKind*,
94 ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number) { in GetFastElementsKindFromSequenceIndex()
101 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind) { in GetSequenceIndexFromFastElementsKind()
112 ElementsKind GetNextTransitionElementsKind(ElementsKind kind) { in GetNextTransitionElementsKind()
[all …]
Dcode-stubs.h800 GrowArrayElementsStub(Isolate* isolate, bool is_js_array, ElementsKind kind) in GrowArrayElementsStub()
806 ElementsKind elements_kind() const { in elements_kind()
813 class ElementsKindBits : public BitField<ElementsKind, 0, 8> {};
868 void GenerateCase(MacroAssembler* masm, ElementsKind kind);
2429 ElementsKind elements_kind,
2445 ElementsKind elements_kind() const { in elements_kind()
2450 class ElementsKindBits: public BitField<ElementsKind, 0, 8> {};
2461 ElementsKind elements_kind, KeyedAccessStoreMode mode) in StoreFastElementStub()
2472 ElementsKind elements_kind() const { in elements_kind()
2487 class ElementsKindBits : public BitField<ElementsKind, 3, 8> {};
[all …]
Delements.h27 static ElementsAccessor* ForKind(ElementsKind elements_kind) { in ForKind()
91 ElementsKind source_kind,
103 ElementsKind source_kind,
111 ElementsKind from_kind) { in CopyElements()
Delements.cc87 template<ElementsKind Kind> class ElementsKindTraits {
95 static const ElementsKind Kind = KindParam; \
110 ElementsKind from_kind, uint32_t from_start, in CopyObjectToObjectElements()
111 FixedArrayBase* to_base, ElementsKind to_kind, in CopyObjectToObjectElements()
153 ElementsKind to_kind, uint32_t to_start, int raw_copy_size) { in CopyDictionaryToObjectElements()
470 static ElementsKind kind() { return ElementsTraits::Kind; } in kind()
524 ElementsKind packed_kind = GetPackedElementsKind(kind()); in TryTransitionResultArrayToPacked()
693 ElementsKind kind = array->GetElementsKind(); in SetLengthImpl()
731 ElementsKind from_kind, uint32_t capacity) { in ConvertElementsWithCapacity()
739 ElementsKind from_kind, uint32_t capacity, int copy_size) { in ConvertElementsWithCapacity()
[all …]
Dfactory.h306 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND);
399 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
406 ElementsKind elements_kind, int length, int capacity,
412 int capacity, ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
424 ElementsKind elements_kind, int length,
430 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
452 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
462 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
Dcode-stubs-hydrogen.cc90 HValue* BuildArrayConstructor(ElementsKind kind,
93 HValue* BuildInternalArrayConstructor(ElementsKind kind,
122 ElementsKind kind);
781 ElementsKind kind = casted_stub()->elements_kind(); in BuildCodeStub()
1107 ElementsKind kind = FAST_ELEMENTS; in BuildCodeStub()
1226 ElementsKind kind, in BuildArrayConstructor()
1254 ElementsKind kind, ArgumentClass argument_class) { in BuildInternalArrayConstructor()
1293 JSArrayBuilder* array_builder, ElementsKind kind) { in BuildArrayNArgumentsConstructor()
1339 ElementsKind kind = casted_stub()->elements_kind(); in BuildCodeStub()
1353 ElementsKind kind = casted_stub()->elements_kind(); in BuildCodeStub()
[all …]
Dfactory.cc1003 ElementsKind elements_kind) { in NewMap()
1281 ElementsKind elements_kind = in NewFunction()
1599 Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, in NewJSArray()
1613 Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, int length, in NewJSArray()
1624 ElementsKind elements_kind, in NewJSArrayWithElements()
1651 ElementsKind elements_kind = array->GetElementsKind(); in NewJSArrayStorage()
1753 ElementsKind GetExternalArrayElementsKind(ExternalArrayType type) { in GetExternalArrayElementsKind()
1780 size_t GetFixedTypedArraysElementSize(ElementsKind kind) { in GetFixedTypedArraysElementSize()
1794 ExternalArrayType GetArrayTypeFromElementsKind(ElementsKind kind) { in GetArrayTypeFromElementsKind()
1825 JSFunction* GetTypedArrayFun(ElementsKind elements_kind, Isolate* isolate) { in GetTypedArrayFun()
[all …]
Dcompilation-dependencies.cc144 ElementsKind kind = in AssumeTransitionStable()
Dobjects.h1097 inline ElementsKind OptimalElementsKind();
2023 inline ElementsKind GetElementsKind();
2267 ElementsKind to_kind);
2316 ElementsKind to_kind);
2318 ElementsKind to_kind);
2420 ElementsKind from_kind, Handle<FixedArrayBase> from_elements,
2421 ElementsKind to_kind, Handle<FixedArrayBase> to_elements);
2530 ElementsKind kind,
5597 inline void set_elements_kind(ElementsKind elements_kind);
5598 inline ElementsKind elements_kind();
[all …]
Dlookup.cc165 ElementsKind kind = holder_map_->elements_kind(); in PrepareForDataProperty()
166 ElementsKind to = value->OptimalElementsKind(); in PrepareForDataProperty()
/external/v8/src/compiler/
Daccess-info.h39 ElementAccessInfo(Type* receiver_type, ElementsKind elements_kind,
43 ElementsKind elements_kind() const { return elements_kind_; } in elements_kind()
49 ElementsKind elements_kind_;
Daccess-builder.h44 static FieldAccess ForJSArrayLength(ElementsKind elements_kind);
Daccess-info.cc25 ElementsKind const elements_kind = map->elements_kind(); in CanInlineElementAccess()
89 ElementsKind elements_kind, in ElementAccessInfo()
148 ElementsKind const elements_kind = map->elements_kind(); in ComputeElementAccessInfo()
Djs-typed-lowering.h104 ElementsKind elements_kind, int capacity,
/external/v8/src/crankshaft/
Dhydrogen.h1304 ElementsKind kind,
1311 ElementsKind kind, HValue* length,
1316 ElementsKind kind,
1321 ElementsKind from_kind,
1322 ElementsKind to_kind,
1400 ElementsKind elements_kind,
1407 HValue* backing_store_owner, ElementsKind elements_kind,
1439 ElementsKind kind,
1712 ElementsKind kind,
1718 ElementsKind kind,
[all …]
Dhydrogen-instructions.h175 V(ElementsKind) \
2437 ElementsKind,
2445 ElementsKind elements_kind() const { return elements_kind_; } in elements_kind()
2452 ElementsKind elements_kind, Handle<AllocationSite> site) in DECLARE_CONCRETE_INSTRUCTION()
2457 ElementsKind elements_kind_;
5898 static HObjectAccess ForArrayLength(ElementsKind elements_kind) { in ForArrayLength()
6483 virtual ElementsKind elements_kind() const = 0;
6510 ElementsKind);
6512 ElementsKind, LoadKeyedHoleMode);
6514 ElementsKind, LoadKeyedHoleMode, int);
[all …]
Dhydrogen.cc1316 HValue* object, HValue* elements, ElementsKind kind, HValue* length, in BuildCheckAndGrowElementsCapacity()
1332 ElementsKind kind, in BuildCheckForCapacityGrow()
1391 ElementsKind kind, in BuildCopyElementsOnWrite()
1419 ElementsKind from_kind, in BuildTransitionElementsKind()
1420 ElementsKind to_kind, in BuildTransitionElementsKind()
1855 ElementsKind elements_kind = FAST_ELEMENTS; in BuildRegExpConstructResult()
2536 ElementsKind elements_kind, in BuildUncheckedMonomorphicElementAccess()
2696 HValue* HGraphBuilder::BuildCalculateElementsSize(ElementsKind kind, in BuildCalculateElementsSize()
2730 ElementsKind kind, in EstablishElementsAllocationSize()
2740 HAllocate* HGraphBuilder::BuildAllocateElements(ElementsKind kind, in BuildAllocateElements()
[all …]
/external/v8/src/runtime/
Druntime-literals.cc153 ElementsKind constant_elements_kind = in CreateArrayLiteralBoilerplate()
154 static_cast<ElementsKind>(Smi::cast(elements->get(0))->value()); in CreateArrayLiteralBoilerplate()
422 ElementsKind elements_kind = object->GetElementsKind(); in RUNTIME_FUNCTION()
429 ElementsKind transitioned_kind = IsFastHoleyElementsKind(elements_kind) in RUNTIME_FUNCTION()
443 ElementsKind transitioned_kind = IsFastHoleyElementsKind(elements_kind) in RUNTIME_FUNCTION()
Druntime-array.cc139 ElementsKind from_kind = from->GetElementsKind(); in RUNTIME_FUNCTION()
167 ElementsKind kind = array->GetElementsKind(); in RUNTIME_FUNCTION()
280 ElementsKind to_kind = can_use_type_feedback ? site->GetElementsKind() in ArrayConstructorCommon()
307 ElementsKind old_kind = array->GetElementsKind(); in ArrayConstructorCommon()
Druntime-typedarray.cc71 ElementsKind* fixed_elements_kind, in ArrayIdToTypeAndSize()
105 ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus initialization. in RUNTIME_FUNCTION()
186 ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus initialization. in RUNTIME_FUNCTION()
/external/v8/test/cctest/
Dtest-elements-kind.cc205 factory->NewJSArray(ElementsKind::FAST_SMI_ELEMENTS, 0, 0); in TEST()
237 factory->NewJSArray(ElementsKind::FAST_SMI_ELEMENTS, 0, 0); in TEST()
297 factory->NewJSArray(ElementsKind::FAST_SMI_ELEMENTS, 0, 0); in TEST()
370 factory->NewJSArray(ElementsKind::FAST_ELEMENTS, 0, 0); in TEST()
420 factory->NewJSArray(ElementsKind::FAST_SMI_ELEMENTS, 0, 0); in TEST()
/external/v8/src/ic/
Dic-compiler.cc40 ElementsKind elements_kind = receiver_map->elements_kind(); in ComputeKeyedLoadMonomorphicHandler()
248 ElementsKind elements_kind = receiver_map->elements_kind(); in CompileKeyedStorePolymorphicHandlers()
283 ElementsKind elements_kind = receiver_map->elements_kind(); in CompileKeyedStoreMonomorphicHandler()
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.h243 ElementsKind elements_kind,
249 ElementsKind elements_kind,
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.h226 ElementsKind elements_kind,

1234