Home
last modified time | relevance | path

Searched refs:elementsKind (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_profiler.cpp428 auto elementsKind = trackInfo->GetElementsKind(); in ConvertCreateObject() local
429 objDefType->SetElementsKind(elementsKind); in ConvertCreateObject()
924 auto elementsKind = receiver->GetElementsKind(); in AddBuiltinsInfo() local
926 auto profileType = ProfileType::CreateBuiltinsArray(abcId, type, elementsKind, transitionElementsKind, in AddBuiltinsInfo()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler.cpp1416 auto elementsKind = trackInfo->GetElementsKind(); in DumpCreateObject() local
1417 objDefType.SetElementsKind(elementsKind); in DumpCreateObject()
1811 auto elementsKind = receiver->GetElementsKind(); in AddBuiltinsInfo() local
1813 auto profileType = ProfileType::CreateBuiltinsArray(abcId, type, elementsKind, transitionElementsKind, in AddBuiltinsInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder.cpp3776 GateRef elementsKind = GetElementsKindFromHClass(hclass); in TransitToElementsKind() local
3779 BRANCH(Int32Equal(elementsKind, Int32(static_cast<int32_t>(ElementsKind::GENERIC))), &exit, &isNoneDefault); in TransitToElementsKind()
3784 newKind = Int32Or(newKind, elementsKind); in TransitToElementsKind()
3786 BRANCH(Int32Equal(elementsKind, newKind), &exit, &change); in TransitToElementsKind()
3790 MigrateArrayWithKind(glue, receiver, elementsKind, newKind); in TransitToElementsKind()
9362 DEFVARIABLE(elementsKind, VariableType::INT32(), GetElementsKindFromHClass(hclass)); in GetTaggedValueWithElementsKind()
9369 elementsKind = Int32(static_cast<int32_t>(ElementsKind::GENERIC)); in GetTaggedValueWithElementsKind()
9385 GateRef elementsKindIntLowerBound = Int32GreaterThanOrEqual(*elementsKind, in GetTaggedValueWithElementsKind()
9387 GateRef elementsKindIntUpperBound = Int32LessThanOrEqual(*elementsKind, in GetTaggedValueWithElementsKind()
9400 GateRef elementsKindNumberLB = Int32GreaterThanOrEqual(*elementsKind, in GetTaggedValueWithElementsKind()
[all...]
H A Dstub_builder-inl.h2264 inline void StubBuilder::SetElementsKindToTrackInfo(GateRef glue, GateRef trackInfo, GateRef elementsKind) in SetElementsKindToTrackInfo() argument
2269 GateRef newValue = Int32LSR(elementsKind, Int32(TrackInfo::ElementsKindBits::START_BIT)); in SetElementsKindToTrackInfo()
3613 inline void StubBuilder::SetElementsKindToJSHClass(GateRef glue, GateRef jsHclass, GateRef elementsKind) in SetElementsKindToJSHClass() argument
3616 GateRef encodeValue = Int32LSL(elementsKind, Int32(JSHClass::ElementsKindBits::START_BIT)); in SetElementsKindToJSHClass()
H A Dstub_builder.h562 void SetElementsKindToTrackInfo(GateRef glue, GateRef trackInfo, GateRef elementsKind);
850 void SetElementsKindToJSHClass(GateRef glue, GateRef jsHclass, GateRef elementsKind);
H A Dnew_object_stub_builder.cpp84 // For new Array(Len), the elementsKind should be Hole in NewJSArrayWithSize()
1549 auto elementsKind = GetElementsKindFromHClass(cachedHClass); in NewTrackInfo() local
1550 SetElementsKindToTrackInfo(glue, *result, elementsKind); in NewTrackInfo()
H A Dtyped_hcr_lowering.cpp619 GateRef elementsKind = builder_.GetElementsKindByHClass(receiverHClass); in BuiltinInstanceHClassCheck() local
621 builder_.NotEqual(elementsKind, builder_.Int32(static_cast<size_t>(ElementsKind::GENERIC))); in BuiltinInstanceHClassCheck()
1112 // When elementsKind swith on, we should get corresponding raw value for Int and Double kind. in LowerArrayLoadElement()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp581 JSTaggedType elementsKind = GetTArg(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS() local
583 ElementsKind kind = Elements::FixElementsKind(static_cast<ElementsKind>(elementsKind)); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_array_stub_builder.cpp36 GateRef elementsKind = GetElementsKindFromHClass(arrayCls); in ElementsKindHclassCompare() local
37 GateRef notGeneric = NotEqual(elementsKind, Int32(static_cast<uint32_t>(ElementsKind::GENERIC))); in ElementsKindHclassCompare()

Completed in 67 milliseconds