/external/v8/test/mjsunit/ |
elements-kind.js | 30 var elements_kind = { 47 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 48 if (%HasFastObjectElements(obj)) return elements_kind.fast; 49 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 50 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 53 return elements_kind.fixed_int8; 56 return elements_kind.fixed_uint8; 59 return elements_kind.fixed_int16; 62 return elements_kind.fixed_uint16; 65 return elements_kind.fixed_int32 [all...] |
allocation-site-info.js | 31 var elements_kind = { 48 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 49 if (%HasFastObjectElements(obj)) return elements_kind.fast; 50 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 51 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 73 assertKind(elements_kind.fast_smi_only, obj); 77 assertKind(elements_kind.fast_smi_only, obj); 81 assertKind(elements_kind.fast_smi_only, obj); 85 assertKind(elements_kind.fast_smi_only, obj); 89 assertKind(elements_kind.fast_smi_only, obj) [all...] |
opt-elements-kind.js | 35 var elements_kind = { 52 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 53 if (%HasFastObjectElements(obj)) return elements_kind.fast; 54 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 55 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 58 return elements_kind.fixed_int8; 61 return elements_kind.fixed_uint8; 64 return elements_kind.fixed_int16; 67 return elements_kind.fixed_uint16; 70 return elements_kind.fixed_int32 [all...] |
osr-elements-kind.js | 35 var elements_kind = { 52 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 53 if (%HasFastObjectElements(obj)) return elements_kind.fast; 54 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 55 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 58 return elements_kind.fixed_int8; 61 return elements_kind.fixed_uint8; 64 return elements_kind.fixed_int16; 67 return elements_kind.fixed_uint16; 70 return elements_kind.fixed_int32 [all...] |
array-feedback.js | 30 var elements_kind = { 47 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 48 if (%HasFastObjectElements(obj)) return elements_kind.fast; 49 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 50 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 74 assertKind(elements_kind.fast_smi_only, a); 77 assertKind(elements_kind.fast_double, b); 87 assertKind(elements_kind.fast_smi_only, a); 91 assertKind(elements_kind.fast, b); 94 assertKind(elements_kind.fast, a) [all...] |
array-constructor-feedback.js | 32 var elements_kind = { 49 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 50 if (%HasFastObjectElements(obj)) return elements_kind.fast; 51 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 52 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 75 assertKind(elements_kind.fast_double, b); 80 // assertKind(elements_kind.fast_double, b); 93 assertKind(elements_kind.fast_double, b); 96 assertKind(elements_kind.fast_double, b); 109 assertKind(elements_kind.fast_smi_only, b) [all...] |
array-literal-feedback.js | 31 var elements_kind = { 48 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only; 49 if (%HasFastObjectElements(obj)) return elements_kind.fast; 50 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double; 51 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 106 assertKind(elements_kind.fast, b);
|
/external/v8/src/ |
elements-kind.cc | 16 int ElementsKindToShiftSize(ElementsKind elements_kind) { 17 switch (elements_kind) { 47 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind) { 50 if (IsFixedTypedArrayElementsKind(elements_kind)) { 101 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind) { 103 if (fast_elements_kind_sequence.Get()[i] == elements_kind) { 118 static inline bool IsFastTransitionTarget(ElementsKind elements_kind) { 119 return IsFastElementsKind(elements_kind) || 120 elements_kind == DICTIONARY_ELEMENTS;
|
elements-kind.h | 65 int ElementsKindToShiftSize(ElementsKind elements_kind); 66 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind); 72 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind); 74 ElementsKind GetNextTransitionElementsKind(ElementsKind elements_kind);
|
elements.h | 27 static ElementsAccessor* ForKind(ElementsKind elements_kind) { 28 DCHECK(static_cast<int>(elements_kind) < kElementsKindCount); 29 return elements_accessors_[elements_kind];
|
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, 416 elements_kind = GetHoleyElementsKind(elements_kind); 418 return NewJSArray(elements_kind, 0, capacity, strength, 424 ElementsKind elements_kind, int length, 430 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND, 433 return NewJSArrayWithElements(elements, elements_kind, elements->length() [all...] |
factory.cc | 1281 ElementsKind elements_kind = local 1651 ElementsKind elements_kind = array->GetElementsKind(); local 1893 ElementsKind elements_kind = GetExternalArrayElementsKind(type); local [all...] |
/external/v8/test/cctest/ |
test-elements-kind.cc | 81 CHECK_EQ(previous_map->elements_kind(), FAST_HOLEY_ELEMENTS); 91 CHECK_EQ(object->map()->elements_kind(), FAST_HOLEY_ELEMENTS); 112 CHECK_EQ(previous_map->elements_kind(), FAST_HOLEY_ELEMENTS); 124 CHECK_EQ(object->map()->elements_kind(), FAST_HOLEY_ELEMENTS); 135 CHECK_EQ(object->map()->elements_kind(), FAST_HOLEY_ELEMENTS); 155 CHECK_EQ(previous_map->elements_kind(), FAST_HOLEY_ELEMENTS); 163 // no change in elements_kind => no map transition 165 CHECK_EQ(object->map()->elements_kind(), FAST_HOLEY_ELEMENTS); 176 // no change in elements_kind => no map transition 178 CHECK_EQ(object->map()->elements_kind(), FAST_HOLEY_ELEMENTS) [all...] |
/external/v8/src/ic/ |
ic-compiler.cc | 40 ElementsKind elements_kind = receiver_map->elements_kind(); local 45 is_js_array && elements_kind == FAST_HOLEY_ELEMENTS && 46 *receiver_map == isolate->get_initial_js_array_map(elements_kind) && 58 stub = LoadFastElementStub(isolate, is_js_array, elements_kind, 248 ElementsKind elements_kind = receiver_map->elements_kind(); local 251 ElementsTransitionAndStoreStub(isolate(), elements_kind, 252 transitioned_map->elements_kind(), 259 if (IsSloppyArgumentsElements(elements_kind)) { 283 ElementsKind elements_kind = receiver_map->elements_kind(); local [all...] |
handler-compiler.cc | 583 ElementsKind elements_kind = receiver_map->elements_kind(); local 588 (is_js_array && elements_kind == FAST_HOLEY_ELEMENTS && 590 isolate()->get_initial_js_array_map(elements_kind)) && 595 } else if (IsSloppyArgumentsElements(elements_kind)) { 597 } else if (IsFastElementsKind(elements_kind) || 598 IsFixedTypedArrayElementsKind(elements_kind)) { 599 cached_stub = LoadFastElementStub(isolate(), is_js_array, elements_kind, 602 DCHECK(elements_kind == DICTIONARY_ELEMENTS);
|
/external/v8/src/compiler/ |
access-info.cc | 25 ElementsKind const elements_kind = map->elements_kind(); local 26 if (IsFastElementsKind(elements_kind)) return true; 89 ElementsKind elements_kind, 91 : elements_kind_(elements_kind), 148 ElementsKind const elements_kind = map->elements_kind(); local 170 ElementAccessInfo(Type::Class(map, zone()), elements_kind, holder); 183 IsFastElementsKind(map->elements_kind()) && 184 GetInitialFastElementsKind() != map->elements_kind()) { [all...] |
access-builder.h | 44 static FieldAccess ForJSArrayLength(ElementsKind elements_kind);
|
js-native-context-specialization.cc | 584 if (IsSimpleMapChangeTransition(transition_source->elements_kind(), 585 transition_target->elements_kind())) { 594 transition_source->elements_kind(), 595 transition_target->elements_kind(), 663 ElementsKind elements_kind = access_info.elements_kind(); local 672 IsFastSmiOrObjectElementsKind(elements_kind)) { 690 AccessBuilder::ForJSArrayLength(elements_kind)), [all...] |
access-info.h | 39 ElementAccessInfo(Type* receiver_type, ElementsKind elements_kind, 43 ElementsKind elements_kind() const { return elements_kind_; } function in class:v8::internal::compiler::final
|
access-builder.cc | 81 FieldAccess AccessBuilder::ForJSArrayLength(ElementsKind elements_kind) { 86 if (IsFastDoubleElementsKind(elements_kind)) { 88 } else if (IsFastElementsKind(elements_kind)) {
|
js-typed-lowering.h | 104 ElementsKind elements_kind, int capacity,
|
/external/v8/src/crankshaft/ |
hydrogen-uint32-analysis.cc | 12 switch (instr->elements_kind()) { 54 DCHECK(store->elements_kind() != UINT8_CLAMPED_ELEMENTS); 55 DCHECK(store->elements_kind() != FLOAT32_ELEMENTS); 56 DCHECK(store->elements_kind() != FLOAT64_ELEMENTS);
|
hydrogen-dehoist.cc | 38 1 << ElementsKindToShiftSize(array_operation->elements_kind());
|
hydrogen-instructions.h | 2445 ElementsKind elements_kind() const { return elements_kind_; } function in class:final::final [all...] |
/external/v8/src/runtime/ |
runtime-literals.cc | 422 ElementsKind elements_kind = object->GetElementsKind(); local 423 DCHECK(IsFastElementsKind(elements_kind)); 428 DCHECK(IsFastSmiElementsKind(elements_kind)); 429 ElementsKind transitioned_kind = IsFastHoleyElementsKind(elements_kind) 442 if (!IsFastObjectElementsKind(elements_kind)) { 443 ElementsKind transitioned_kind = IsFastHoleyElementsKind(elements_kind)
|