/external/v8/src/ |
D | elements-kind.h | 216 inline ElementsKind FastSmiToObjectElementsKind(ElementsKind from_kind) { in FastSmiToObjectElementsKind() argument 217 DCHECK(IsFastSmiElementsKind(from_kind)); in FastSmiToObjectElementsKind() 218 return (from_kind == FAST_SMI_ELEMENTS) in FastSmiToObjectElementsKind() 224 inline bool IsSimpleMapChangeTransition(ElementsKind from_kind, in IsSimpleMapChangeTransition() argument 226 return (GetHoleyElementsKind(from_kind) == to_kind) || in IsSimpleMapChangeTransition() 227 (IsFastSmiElementsKind(from_kind) && in IsSimpleMapChangeTransition() 232 bool IsMoreGeneralElementsKindTransition(ElementsKind from_kind, 236 inline bool IsTransitionableFastElementsKind(ElementsKind from_kind) { in IsTransitionableFastElementsKind() argument 237 return IsFastElementsKind(from_kind) && in IsTransitionableFastElementsKind() 238 from_kind != TERMINAL_FAST_ELEMENTS_KIND; in IsTransitionableFastElementsKind()
|
D | elements-kind.cc | 157 bool IsMoreGeneralElementsKindTransition(ElementsKind from_kind, in IsMoreGeneralElementsKindTransition() argument 159 if (IsTypedArrayElementsKind(from_kind) || in IsMoreGeneralElementsKindTransition() 161 switch (from_kind) { in IsMoreGeneralElementsKindTransition() 172 if (IsFastElementsKind(from_kind) && IsFastTransitionTarget(to_kind)) { in IsMoreGeneralElementsKindTransition() 173 switch (from_kind) { in IsMoreGeneralElementsKindTransition()
|
D | elements.cc | 151 ElementsKind from_kind, in CopyObjectToObjectElements() argument 180 DCHECK(IsFastSmiOrObjectElementsKind(from_kind)); in CopyObjectToObjectElements() 187 if (IsFastObjectElementsKind(from_kind) && in CopyObjectToObjectElements() 708 ElementsKind from_kind, in CopyElementsImpl() argument 718 ElementsKind from_kind, in CopyElements() argument 724 from, from_start, to, from_kind, to_start, kPackedSizeNotKnown, in CopyElements() 731 ElementsKind from_kind, in CopyElements() argument 736 bool is_packed = IsFastPackedElementsKind(from_kind) && in CopyElements() 747 from, from_start, to, from_kind, to_start, packed_size, copy_size); in CopyElements() 1060 ElementsKind from_kind, in CopyElementsImpl() argument [all …]
|
D | elements.h | 163 ElementsKind from_kind) { in CopyElements() argument 165 *from_holder, 0, from_kind, to, 0, kCopyToEndAndInitializeToHole); in CopyElements()
|
D | code-stubs.h | 1987 ElementsKind from_kind, in TransitionElementsKindStub() argument 1990 set_sub_minor_key(FromKindBits::encode(from_kind) | in TransitionElementsKindStub() 1995 ElementsKind from_kind() const { in from_kind() function 2289 ElementsTransitionAndStoreStub(Isolate* isolate, ElementsKind from_kind, in ElementsTransitionAndStoreStub() argument 2293 set_sub_minor_key(FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub() 2298 ElementsKind from_kind() const { return FromBits::decode(sub_minor_key()); } in from_kind() function
|
D | objects.cc | 1285 ElementsKind from_kind, Handle<FixedArrayBase> from_elements, in PrintElementsTransition() argument 1287 if (from_kind != to_kind) { in PrintElementsTransition() 1289 os << "elements transition [" << ElementsKindToString(from_kind) << " -> " in PrintElementsTransition() 3312 ElementsKind from_kind = map->elements_kind(); in TransitionElementsTo() local 3313 if (from_kind == to_kind) return map; in TransitionElementsTo() 3321 if (array_maps->get(from_kind) == *map) { in TransitionElementsTo() 3335 ElementsKind from_kind = map->elements_kind(); in TransitionElementsToSlow() local 3337 if (from_kind == to_kind) { in TransitionElementsToSlow() 3345 IsTransitionElementsKind(from_kind); in TransitionElementsToSlow() 3350 IsTransitionableFastElementsKind(from_kind) && in TransitionElementsToSlow() [all …]
|
D | builtins.cc | 994 ElementsKind from_kind = array->GetElementsKind(); in BUILTIN() local 996 accessor->CopyElements(array, 0, from_kind, storage, j, len); in BUILTIN()
|
D | code-stubs-hydrogen.cc | 796 casted_stub()->from_kind(), in BuildCodeStub() 1277 casted_stub()->from_kind(), in BuildCodeStub()
|
D | hydrogen-instructions.cc | 3582 ElementsKind from_kind = original_map().handle()->elements_kind(); in PrintDataTo() local 3585 << ElementsAccessor::ForKind(from_kind)->name() << "] -> " in PrintDataTo() 3588 if (IsSimpleMapChangeTransition(from_kind, to_kind)) os << " (simple)"; in PrintDataTo()
|
D | hydrogen.cc | 1396 ElementsKind from_kind, in BuildTransitionElementsKind() argument 1399 DCHECK(!IsFastHoleyElementsKind(from_kind) || in BuildTransitionElementsKind() 1402 if (AllocationSite::GetMode(from_kind, to_kind) == TRACK_ALLOCATION_SITE) { in BuildTransitionElementsKind() 1406 if (!IsSimpleMapChangeTransition(from_kind, to_kind)) { in BuildTransitionElementsKind() 1422 HObjectAccess::ForArrayLength(from_kind)) in BuildTransitionElementsKind() 1425 BuildGrowElementsCapacity(object, elements, from_kind, to_kind, in BuildTransitionElementsKind()
|
/external/v8/src/mips64/ |
D | lithium-mips64.h | 2268 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-mips64.cc | 4491 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 4498 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4514 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
D | lithium-mips64.cc | 2264 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { in DoTransitionElementsKind()
|
/external/v8/src/ia32/ |
D | lithium-ia32.h | 2331 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-ia32.cc | 4298 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 4303 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind() 4323 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/mips/ |
D | lithium-mips.h | 2284 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-mips.cc | 4427 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 4434 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4450 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/x64/ |
D | lithium-x64.h | 2313 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-x64.cc | 4493 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 4499 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4512 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/arm/ |
D | lithium-arm.h | 2326 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-arm.cc | 4470 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 4478 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4494 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/x87/ |
D | lithium-x87.h | 2337 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-x87.cc | 4740 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 4745 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind() 4764 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/arm64/ |
D | lithium-arm64.h | 2925 ElementsKind from_kind() const { return hydrogen()->from_kind(); } in from_kind() function
|
D | lithium-codegen-arm64.cc | 5734 ElementsKind from_kind = instr->from_kind(); in DoTransitionElementsKind() local 5739 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 5761 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|