/external/v8/src/ |
D | elements-kind.h | 14 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 …]
|
D | elements-kind.cc | 16 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 …]
|
D | code-stubs.h | 800 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 …]
|
D | elements.h | 27 static ElementsAccessor* ForKind(ElementsKind elements_kind) { in ForKind() 91 ElementsKind source_kind, 103 ElementsKind source_kind, 111 ElementsKind from_kind) { in CopyElements()
|
D | elements.cc | 87 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 …]
|
D | factory.h | 306 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,
|
D | code-stubs-hydrogen.cc | 90 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 …]
|
D | factory.cc | 1003 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 …]
|
D | compilation-dependencies.cc | 144 ElementsKind kind = in AssumeTransitionStable()
|
D | objects.h | 1097 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 …]
|
D | lookup.cc | 165 ElementsKind kind = holder_map_->elements_kind(); in PrepareForDataProperty() 166 ElementsKind to = value->OptimalElementsKind(); in PrepareForDataProperty()
|
/external/v8/src/compiler/ |
D | access-info.h | 39 ElementAccessInfo(Type* receiver_type, ElementsKind elements_kind, 43 ElementsKind elements_kind() const { return elements_kind_; } in elements_kind() 49 ElementsKind elements_kind_;
|
D | access-builder.h | 44 static FieldAccess ForJSArrayLength(ElementsKind elements_kind);
|
D | access-info.cc | 25 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()
|
D | js-typed-lowering.h | 104 ElementsKind elements_kind, int capacity,
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 1304 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 …]
|
D | hydrogen-instructions.h | 175 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 …]
|
D | hydrogen.cc | 1316 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/ |
D | runtime-literals.cc | 153 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()
|
D | runtime-array.cc | 139 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()
|
D | runtime-typedarray.cc | 71 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/ |
D | test-elements-kind.cc | 205 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/ |
D | ic-compiler.cc | 40 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/ |
D | lithium-codegen-arm64.h | 243 ElementsKind elements_kind, 249 ElementsKind elements_kind,
|
/external/v8/src/crankshaft/x64/ |
D | lithium-codegen-x64.h | 226 ElementsKind elements_kind,
|