Home
last modified time | relevance | path

Searched refs:from_kind (Results 1 – 25 of 35) sorted by relevance

12

/external/v8/src/
Delements-kind.h216 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()
Delements-kind.cc157 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()
Delements.cc151 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 …]
Delements.h163 ElementsKind from_kind) { in CopyElements() argument
165 *from_holder, 0, from_kind, to, 0, kCopyToEndAndInitializeToHole); in CopyElements()
Dcode-stubs.h1987 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
Dobjects.cc1285 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 …]
Dbuiltins.cc994 ElementsKind from_kind = array->GetElementsKind(); in BUILTIN() local
996 accessor->CopyElements(array, 0, from_kind, storage, j, len); in BUILTIN()
Dcode-stubs-hydrogen.cc796 casted_stub()->from_kind(), in BuildCodeStub()
1277 casted_stub()->from_kind(), in BuildCodeStub()
Dhydrogen-instructions.cc3582 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()
Dhydrogen.cc1396 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/
Dlithium-mips64.h2268 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-mips64.cc4491 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()
Dlithium-mips64.cc2264 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { in DoTransitionElementsKind()
/external/v8/src/ia32/
Dlithium-ia32.h2331 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-ia32.cc4298 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/
Dlithium-mips.h2284 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-mips.cc4427 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/
Dlithium-x64.h2313 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-x64.cc4493 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/
Dlithium-arm.h2326 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-arm.cc4470 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/
Dlithium-x87.h2337 ElementsKind from_kind() { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-x87.cc4740 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/
Dlithium-arm64.h2925 ElementsKind from_kind() const { return hydrogen()->from_kind(); } in from_kind() function
Dlithium-codegen-arm64.cc5734 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()

12