/external/v8/src/ |
D | elements-kind.h | 14 enum ElementsKind { enum 74 int ElementsKindToShiftSize(ElementsKind elements_kind); 75 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind); 76 const char* ElementsKindToString(ElementsKind kind); 78 inline ElementsKind GetInitialFastElementsKind() { return FAST_SMI_ELEMENTS; } in GetInitialFastElementsKind() 80 ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number); 81 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind); 83 ElementsKind GetNextTransitionElementsKind(ElementsKind elements_kind); 85 inline bool IsDictionaryElementsKind(ElementsKind kind) { in IsDictionaryElementsKind() 90 inline bool IsSloppyArgumentsElements(ElementsKind kind) { in IsSloppyArgumentsElements() [all …]
|
D | elements-kind.cc | 16 int ElementsKindToShiftSize(ElementsKind elements_kind) { in ElementsKindToShiftSize() 52 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind) { in GetDefaultHeaderSizeForElementsKind() 63 const char* ElementsKindToString(ElementsKind kind) { in ElementsKindToString() 71 ElementsKind** fast_elements_kind_sequence_ptr) { in Construct() 72 ElementsKind* fast_elements_kind_sequence = in Construct() 73 new ElementsKind[kFastElementsKindCount]; in Construct() 94 static base::LazyInstance<ElementsKind*, 99 ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number) { in GetFastElementsKindFromSequenceIndex() 106 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind) { in GetSequenceIndexFromFastElementsKind() 117 ElementsKind GetNextTransitionElementsKind(ElementsKind kind) { in GetNextTransitionElementsKind() [all …]
|
D | code-stubs.h | 1245 GrowArrayElementsStub(Isolate* isolate, bool is_js_array, ElementsKind kind) in GrowArrayElementsStub() 1251 ElementsKind elements_kind() const { in elements_kind() 1258 class ElementsKindBits : public BitField<ElementsKind, 0, 8> {}; 1320 void GenerateCase(MacroAssembler* masm, ElementsKind kind); 2647 ElementsKind elements_kind, 2663 ElementsKind elements_kind() const { in elements_kind() 2668 class ElementsKindBits: public BitField<ElementsKind, 0, 8> {}; 2679 ElementsKind elements_kind, KeyedAccessStoreMode mode) in StoreFastElementStub() 2690 ElementsKind elements_kind() const { in elements_kind() 2705 class ElementsKindBits : public BitField<ElementsKind, 3, 8> {}; [all …]
|
D | elements.cc | 93 template<ElementsKind Kind> class ElementsKindTraits { 101 static const ElementsKind Kind = KindParam; \ 116 ElementsKind from_kind, uint32_t from_start, in CopyObjectToObjectElements() 117 FixedArrayBase* to_base, ElementsKind to_kind, in CopyObjectToObjectElements() 159 ElementsKind to_kind, uint32_t to_start, int raw_copy_size) { in CopyDictionaryToObjectElements() 497 static ElementsKind kind() { return ElementsTraits::Kind; } in kind() 543 ElementsKind packed_kind = GetPackedElementsKind(kind()); in TryTransitionResultArrayToPacked() 695 ElementsKind kind = array->GetElementsKind(); in SetLengthImpl() 750 ElementsKind from_kind, uint32_t capacity) { in ConvertElementsWithCapacity() 758 ElementsKind from_kind, uint32_t capacity, int copy_size) { in ConvertElementsWithCapacity() [all …]
|
D | factory.h | 324 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); 424 ElementsKind elements_kind, int length, int capacity, 429 int capacity, ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND, 440 ElementsKind elements_kind, int length, 445 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND, 466 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 476 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 723 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
|
D | elements.h | 27 static ElementsAccessor* ForKind(ElementsKind elements_kind) { in ForKind() 175 ElementsKind source_kind,
|
D | code-stubs-hydrogen.cc | 82 HValue* argument_elements, ElementsKind kind); 686 ElementsKind kind) { in BuildPushElement() 1068 ElementsKind kind = casted_stub()->elements_kind(); in BuildCodeStub() 1395 ElementsKind kind = FAST_ELEMENTS; in BuildCodeStub() 1452 ElementsKind const from_kind = casted_stub()->from_kind(); in BuildCodeStub() 1453 ElementsKind const to_kind = casted_stub()->to_kind(); in BuildCodeStub() 2097 ElementsKind kind); 2104 ElementsKind kind); 2114 ElementsKind kind) { in BuildElementsKindLimitCheck() 2115 ElementsKind next_kind = static_cast<ElementsKind>(kind + 1); in BuildElementsKindLimitCheck() [all …]
|
D | factory.cc | 1021 ElementsKind elements_kind) { in NewMap() 1297 ElementsKind elements_kind = in NewFunction() 1610 Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, in NewJSArray() 1621 Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, int length, in NewJSArray() 1631 ElementsKind elements_kind, in NewJSArrayWithElements() 1658 ElementsKind elements_kind = array->GetElementsKind(); in NewJSArrayStorage() 1750 ElementsKind GetExternalArrayElementsKind(ExternalArrayType type) { in GetExternalArrayElementsKind() 1777 size_t GetFixedTypedArraysElementSize(ElementsKind kind) { in GetFixedTypedArraysElementSize() 1791 ExternalArrayType GetArrayTypeFromElementsKind(ElementsKind kind) { in GetArrayTypeFromElementsKind() 1822 JSFunction* GetTypedArrayFun(ElementsKind elements_kind, Isolate* isolate) { in GetTypedArrayFun() [all …]
|
D | code-stub-assembler.h | 186 compiler::Node* LoadJSArrayElementsMap(ElementsKind kind, 224 compiler::Node* AllocateJSArray(ElementsKind kind, compiler::Node* array_map, 427 ElementsKind kind, ParameterMode mode,
|
D | compilation-dependencies.cc | 144 ElementsKind kind = in AssumeTransitionStable()
|
D | objects.h | 1095 inline ElementsKind OptimalElementsKind(); 2043 inline ElementsKind GetElementsKind(); 2259 ElementsKind to_kind); 2290 ElementsKind to_kind); 2292 ElementsKind to_kind); 2393 ElementsKind from_kind, Handle<FixedArrayBase> from_elements, 2394 ElementsKind to_kind, Handle<FixedArrayBase> to_elements); 2493 ElementsKind kind, 5769 inline void set_elements_kind(ElementsKind elements_kind); 5770 inline ElementsKind elements_kind(); [all …]
|
D | objects.cc | 2277 ElementsKind from_kind, Handle<FixedArrayBase> from_elements, in PrintElementsTransition() 2278 ElementsKind to_kind, Handle<FixedArrayBase> to_elements) { in PrintElementsTransition() 3381 Handle<Map> map, ElementsKind elements_kind, int modify_index, in CopyGeneralizeAllRepresentations() 3724 ElementsKind new_elements_kind, int modify_index, in Reconfigure() 3783 ElementsKind from_kind = root_map->elements_kind(); in Reconfigure() 3784 ElementsKind to_kind = new_elements_kind; in Reconfigure() 4267 ElementsKind from_kind = root_map->elements_kind(); in TryUpdate() 4268 ElementsKind to_kind = old_map->elements_kind(); in TryUpdate() 4924 ElementsKind kind = elements_kind(); in FindElementsKindTransitionedMap() 4955 static Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind) { in FindClosestElementsTransition() [all …]
|
/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-info.cc | 25 ElementsKind const elements_kind = map->elements_kind(); in CanInlineElementAccess() 88 ElementsKind elements_kind, in ElementAccessInfo() 143 ElementsKind const elements_kind = map->elements_kind(); in ComputeElementAccessInfo()
|
D | access-builder.h | 71 static FieldAccess ForJSArrayLength(ElementsKind elements_kind);
|
D | js-create-lowering.h | 65 ElementsKind elements_kind, int capacity,
|
/external/v8/src/ic/ |
D | ic-compiler.cc | 19 ElementsKind elements_kind = receiver_map->elements_kind(); in ComputeKeyedLoadMonomorphicHandler() 96 ElementsKind elements_kind = receiver_map->elements_kind(); in CompileKeyedStorePolymorphicHandlers() 131 ElementsKind elements_kind = receiver_map->elements_kind(); in CompileKeyedStoreMonomorphicHandler()
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 1377 ElementsKind kind, 1384 ElementsKind kind, HValue* length, 1389 ElementsKind kind, 1394 ElementsKind from_kind, 1395 ElementsKind to_kind, 1473 ElementsKind elements_kind, 1480 HValue* backing_store_owner, ElementsKind elements_kind, 1511 ElementsKind kind, 1784 ElementsKind kind, 1790 ElementsKind kind, [all …]
|
D | hydrogen-instructions.h | 164 V(ElementsKind) \ 2353 ElementsKind, 2361 ElementsKind elements_kind() const { return elements_kind_; } in elements_kind() 2368 ElementsKind elements_kind, Handle<AllocationSite> site) in DECLARE_CONCRETE_INSTRUCTION() 2373 ElementsKind elements_kind_; 5357 static HObjectAccess ForArrayLength(ElementsKind elements_kind) { in ForArrayLength() 5949 virtual ElementsKind elements_kind() const = 0; 5976 ElementsKind); 5978 ElementsKind, LoadKeyedHoleMode); 5980 ElementsKind, LoadKeyedHoleMode, int); [all …]
|
D | hydrogen.cc | 1548 HValue* object, HValue* elements, ElementsKind kind, HValue* length, in BuildCheckAndGrowElementsCapacity() 1564 ElementsKind kind, in BuildCheckForCapacityGrow() 1623 ElementsKind kind, in BuildCopyElementsOnWrite() 1651 ElementsKind from_kind, in BuildTransitionElementsKind() 1652 ElementsKind to_kind, in BuildTransitionElementsKind() 2081 ElementsKind elements_kind = FAST_ELEMENTS; in BuildRegExpConstructResult() 2769 ElementsKind elements_kind, in BuildUncheckedMonomorphicElementAccess() 2928 HValue* HGraphBuilder::BuildCalculateElementsSize(ElementsKind kind, in BuildCalculateElementsSize() 2962 ElementsKind kind, in EstablishElementsAllocationSize() 2972 HAllocate* HGraphBuilder::BuildAllocateElements(ElementsKind kind, in BuildAllocateElements() [all …]
|
/external/v8/src/runtime/ |
D | runtime-array.cc | 124 ElementsKind from_kind = from->GetElementsKind(); in RUNTIME_FUNCTION() 152 ElementsKind kind = array->GetElementsKind(); in RUNTIME_FUNCTION() 186 ElementsKind kind = array->GetElementsKind(); in RUNTIME_FUNCTION() 279 ElementsKind to_kind = can_use_type_feedback ? site->GetElementsKind() in ArrayConstructorCommon() 306 ElementsKind old_kind = array->GetElementsKind(); in ArrayConstructorCommon()
|
D | runtime-typedarray.cc | 79 ElementsKind* fixed_elements_kind, in ArrayIdToTypeAndSize() 113 ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus initialization. in RUNTIME_FUNCTION() 194 ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus initialization. in RUNTIME_FUNCTION()
|
D | runtime-literals.cc | 126 ElementsKind constant_elements_kind = in CreateArrayLiteralBoilerplate() 127 static_cast<ElementsKind>(Smi::cast(elements->get(0))->value()); in CreateArrayLiteralBoilerplate()
|
/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/crankshaft/arm64/ |
D | lithium-codegen-arm64.h | 241 ElementsKind elements_kind, 247 ElementsKind elements_kind,
|