Home
last modified time | relevance | path

Searched refs:to_kind (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/src/
Delements-kind.cc158 ElementsKind to_kind) { in IsMoreGeneralElementsKindTransition() argument
160 IsTypedArrayElementsKind(to_kind)) { in IsMoreGeneralElementsKindTransition()
164 return to_kind == EXTERNAL_##TYPE##_ELEMENTS; in IsMoreGeneralElementsKindTransition()
172 if (IsFastElementsKind(from_kind) && IsFastTransitionTarget(to_kind)) { in IsMoreGeneralElementsKindTransition()
175 return to_kind != FAST_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition()
177 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
178 to_kind != FAST_HOLEY_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition()
180 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
181 to_kind != FAST_HOLEY_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
182 to_kind != FAST_DOUBLE_ELEMENTS; in IsMoreGeneralElementsKindTransition()
[all …]
Delements-kind.h225 ElementsKind to_kind) { in IsSimpleMapChangeTransition() argument
226 return (GetHoleyElementsKind(from_kind) == to_kind) || in IsSimpleMapChangeTransition()
228 IsFastObjectElementsKind(to_kind)); in IsSimpleMapChangeTransition()
233 ElementsKind to_kind);
Delements.cc154 ElementsKind to_kind, uint32_t to_start, in CopyObjectToObjectElements() argument
181 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyObjectToObjectElements()
188 IsFastObjectElementsKind(to_kind)) { in CopyObjectToObjectElements()
202 ElementsKind to_kind, uint32_t to_start, int raw_copy_size) { in CopyDictionaryToObjectElements() argument
222 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyDictionaryToObjectElements()
239 if (IsFastObjectElementsKind(to_kind)) { in CopyDictionaryToObjectElements()
253 ElementsKind to_kind, in CopyDoubleToObjectElements() argument
256 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyDoubleToObjectElements()
284 if (IsFastSmiElementsKind(to_kind)) { in CopyDoubleToObjectElements()
287 DCHECK(IsFastObjectElementsKind(to_kind)); in CopyDoubleToObjectElements()
[all …]
Dobjects.cc1286 ElementsKind to_kind, Handle<FixedArrayBase> to_elements) { in PrintElementsTransition() argument
1287 if (from_kind != to_kind) { in PrintElementsTransition()
1290 << ElementsKindToString(to_kind) << "] in "; in PrintElementsTransition()
3224 static Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind) { in FindClosestElementsTransition() argument
3227 IsFastElementsKind(to_kind) || IsExternalArrayElementsKind(to_kind) in FindClosestElementsTransition()
3228 ? to_kind in FindClosestElementsTransition()
3235 if (IsExternalArrayElementsKind(to_kind) && in FindClosestElementsTransition()
3239 if (next_map->elements_kind() == to_kind) return next_map; in FindClosestElementsTransition()
3251 if (to_kind != kind && current_map->HasElementsTransition()) { in FindClosestElementsTransition()
3252 DCHECK(to_kind == DICTIONARY_ELEMENTS); in FindClosestElementsTransition()
[all …]
Dcode-stubs.h1988 ElementsKind to_kind, in TransitionElementsKindStub() argument
1991 ToKindBits::encode(to_kind) | in TransitionElementsKindStub()
1999 ElementsKind to_kind() const { return ToKindBits::decode(sub_minor_key()); } in to_kind() function
2290 ElementsKind to_kind, bool is_jsarray, in ElementsTransitionAndStoreStub() argument
2293 set_sub_minor_key(FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub()
2299 ElementsKind to_kind() const { return ToBits::decode(sub_minor_key()); } in to_kind() function
Dcode-stubs-hydrogen.cc797 casted_stub()->to_kind(), in BuildCodeStub()
1278 casted_stub()->to_kind(), in BuildCodeStub()
1283 casted_stub()->to_kind(), in BuildCodeStub()
Dobjects.h2025 ElementsKind to_kind);
2027 ElementsKind to_kind);
2121 ElementsKind to_kind, Handle<FixedArrayBase> to_elements);
2229 ElementsKind to_kind);
5775 ElementsKind to_kind);
6020 ElementsKind to_kind);
6313 ElementsKind to_kind);
8232 ElementsKind to_kind);
Druntime.cc331 ElementsKind to_kind, in TransitionElements() argument
340 if (Map::IsValidElementsTransition(from_kind, to_kind)) { in TransitionElements()
341 JSObject::TransitionElementsKind(Handle<JSObject>::cast(object), to_kind); in TransitionElements()
15146 ElementsKind to_kind = site->GetElementsKind(); in ArrayConstructorCommon() local
15147 if (holey && !IsFastHoleyElementsKind(to_kind)) { in ArrayConstructorCommon()
15148 to_kind = GetHoleyElementsKind(to_kind); in ArrayConstructorCommon()
15150 site->SetElementsKind(to_kind); in ArrayConstructorCommon()
15157 if (to_kind != initial_map->elements_kind()) { in ArrayConstructorCommon()
15158 initial_map = Map::AsElementsKind(initial_map, to_kind); in ArrayConstructorCommon()
15164 if (AllocationSite::GetMode(to_kind) == TRACK_ALLOCATION_SITE) { in ArrayConstructorCommon()
Dhydrogen-instructions.cc3583 ElementsKind to_kind = transitioned_map().handle()->elements_kind(); in PrintDataTo() local
3587 << ElementsAccessor::ForKind(to_kind)->name() << "]"; in PrintDataTo()
3588 if (IsSimpleMapChangeTransition(from_kind, to_kind)) os << " (simple)"; in PrintDataTo()
Dhydrogen.cc1397 ElementsKind to_kind, in BuildTransitionElementsKind() argument
1400 IsFastHoleyElementsKind(to_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()
1425 BuildGrowElementsCapacity(object, elements, from_kind, to_kind, in BuildTransitionElementsKind()
/external/v8/src/mips64/
Dlithium-mips64.h2269 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-mips64.cc4492 ElementsKind to_kind = instr->to_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.h2332 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-ia32.cc4299 ElementsKind to_kind = instr->to_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.h2285 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-mips.cc4428 ElementsKind to_kind = instr->to_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.h2314 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-x64.cc4494 ElementsKind to_kind = instr->to_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.h2327 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-arm.cc4471 ElementsKind to_kind = instr->to_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.h2338 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-x87.cc4741 ElementsKind to_kind = instr->to_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.h2926 ElementsKind to_kind() const { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-arm64.cc5735 ElementsKind to_kind = instr->to_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