/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime_stub-inl.h | 225 auto handlerInfo = JSTaggedValue::UnwrapToUint64(handler); in StoreICWithHandler() local 226 if (HandlerBase::IsNonSharedStoreField(handlerInfo)) { in StoreICWithHandler() 227 StoreField(thread, JSObject::Cast(receiver.GetTaggedObject()), value, handlerInfo); in StoreICWithHandler() 230 bool isShared = HandlerBase::IsStoreShared(handlerInfo); in StoreICWithHandler() 232 SharedFieldType fieldType { HandlerBase::GetFieldType(handlerInfo) }; in StoreICWithHandler() 233 bool hasAccessor = HandlerBase::IsAccessor(handlerInfo); in StoreICWithHandler() 238 HandlerBase::ClearSharedStoreKind(handlerInfo); in StoreICWithHandler() 240 JSTaggedValue::WrapUint64(handlerInfo)); in StoreICWithHandler() 242 ASSERT(HandlerBase::IsAccessor(handlerInfo)); in StoreICWithHandler() 243 auto accessor = LoadFromField(JSObject::Cast(holder.GetTaggedObject()), handlerInfo); in StoreICWithHandler() 283 JSTaggedValue handlerInfo = prototypeHandler->GetHandlerInfo(); StorePrototype() local 300 JSTaggedValue handlerInfo = storeTSHandler->GetHandlerInfo(); StoreWithTS() local 317 uint64_t handlerInfo = 0; StoreWithTransition() local 397 LoadFromField(JSObject *receiver, uint64_t handlerInfo) LoadFromField() argument 445 JSTaggedValue handlerInfo = prototypeHandler->GetHandlerInfo(); LoadPrototype() local 454 auto handlerInfo = JSTaggedValue::UnwrapToUint64(handler); LoadICWithHandler() local 483 auto handlerInfo = JSTaggedValue::UnwrapToUint64(handler); LoadICWithElementHandler() local 558 auto handlerInfo = JSTaggedValue::UnwrapToUint64(handler); StoreElement() local 601 JSTaggedValue handlerInfo = prototypeHandler->GetHandlerInfo(); StoreElement() local [all...] |
H A D | ic_handler.h | 370 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StoreTransition() local 371 handler->SetHandlerInfo(thread, handlerInfo); in StoreTransition() 399 JSHandle<JSTaggedValue> handlerInfo = LoadHandler::LoadProperty(thread, op); in LoadPrototype() local 401 handler->SetHandlerInfo(thread, handlerInfo); in LoadPrototype() 433 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StorePrototype() local 434 handler->SetHandlerInfo(thread, handlerInfo); in StorePrototype() 487 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StoreTransition() local 488 handler->SetHandlerInfo(thread, handlerInfo); in StoreTransition() 521 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StoreAOT() local 522 handler->SetHandlerInfo(thread, handlerInfo); in StoreAOT() [all...] |
H A D | ic_runtime_stub.h | 57 static inline JSTaggedValue LoadFromField(JSObject *receiver, uint64_t handlerInfo); 80 JSTaggedValue value, JSTaggedValue handlerInfo);
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.cpp | 484 auto handlerInfo = static_cast<uint32_t>(secondValue.GetInt()); in HandleLoadTypeInt() local 485 if (HandlerBase::IsNonExist(handlerInfo)) { in HandleLoadTypeInt() 491 if (HandlerBase::IsField(handlerInfo) || HandlerBase::IsAccessor(handlerInfo)) { in HandleLoadTypeInt() 514 auto handlerInfo = static_cast<uint32_t>(handlerInfoVal.GetInt()); in HandleLoadTypePrototypeHandler() local 515 if (HandlerBase::IsNonExist(handlerInfo)) { in HandleLoadTypePrototypeHandler() 680 auto handlerInfo = static_cast<uint32_t>(secondValue.GetInt()); in ConvertICByValueWithHandler() local 681 if (HandlerBase::IsNormalElement(handlerInfo) || HandlerBase::IsStringElement(handlerInfo)) { in ConvertICByValueWithHandler() 682 if (HandlerBase::NeedSkipInPGODump(handlerInfo)) { in ConvertICByValueWithHandler() 704 auto handlerInfo = static_cast<uint32_t>(secondValue.GetInt()); HandleStoreType() local 734 auto handlerInfo = static_cast<uint32_t>(handlerInfoValue.GetInt()); HandleTransition() local 753 auto handlerInfo = static_cast<uint32_t>(handlerInfoValue.GetInt()); HandleTransWithProto() local 781 auto handlerInfo = static_cast<uint32_t>(handlerInfoValue.GetInt()); HandlePrototypeHandler() local [all...] |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 1127 auto handlerInfo = static_cast<uint32_t>(secondValue.GetInt()); in DumpICLoadByNameWithHandler() local 1128 if (HandlerBase::IsNonExist(handlerInfo)) { in DumpICLoadByNameWithHandler() 1131 if (HandlerBase::IsField(handlerInfo) || HandlerBase::IsAccessor(handlerInfo)) { in DumpICLoadByNameWithHandler() 1149 auto handlerInfo = static_cast<uint32_t>(handlerInfoVal.GetInt()); in DumpICLoadByNameWithHandler() local 1150 if (HandlerBase::IsNonExist(handlerInfo)) { in DumpICLoadByNameWithHandler() 1170 auto handlerInfo = static_cast<uint32_t>(secondValue.GetInt()); in DumpICByValueWithHandler() local 1171 if (HandlerBase::IsNormalElement(handlerInfo) || HandlerBase::IsStringElement(handlerInfo)) { in DumpICByValueWithHandler() 1172 if (HandlerBase::NeedSkipInPGODump(handlerInfo)) { in DumpICByValueWithHandler() 1190 auto handlerInfo = static_cast<uint32_t>(secondValue.GetInt()); DumpICByValueWithHandler() local 1211 auto handlerInfo = static_cast<uint32_t>(handlerInfoValue.GetInt()); DumpICByValueWithHandler() local 1227 auto handlerInfo = static_cast<uint32_t>(handlerInfoValue.GetInt()); DumpICByValueWithHandler() local 1250 auto handlerInfo = static_cast<uint32_t>(handlerInfoValue.GetInt()); DumpICByValueWithHandler() local [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ic_stub_builder.cpp | 208 GateRef handlerInfo = GetInt64OfTInt(*cachedHandler); in LoadICByValue() local 209 BRANCH(IsElement(handlerInfo), &handlerInfoIsElement, &handlerInfoNotElement); in LoadICByValue() 217 BRANCH(IsStringElement(handlerInfo), &handlerInfoIsStringElement, &handlerInfoNotStringElement); in LoadICByValue() 225 BRANCH(IsTypedArrayElement(handlerInfo), &handlerInfoIsTypedArrayElement, &exit); in LoadICByValue()
|
H A D | stub_builder.cpp | 2361 GateRef StubBuilder::LoadFromField(GateRef receiver, GateRef handlerInfo) in LoadFromField() argument 2371 GateRef index = HandlerBaseGetOffset(handlerInfo); in LoadFromField() 2372 BRANCH(HandlerBaseIsInlinedProperty(handlerInfo), &handlerInfoIsInlinedProps, &handlerInfoNotInlinedProps); in LoadFromField() 2388 GateRef rep = HandlerBaseGetRep(handlerInfo); in LoadFromField() 2515 GateRef handlerInfo = GetInt64OfTInt(*handler); in LoadICWithHandler() local 2516 BRANCH(IsField(handlerInfo), &handlerInfoIsField, &handlerInfoNotField); in LoadICWithHandler() 2519 result = LoadFromField(*holder, handlerInfo); in LoadICWithHandler() 2524 BRANCH(BitOr(IsStringElement(handlerInfo), IsNumber(handlerInfo)), in LoadICWithHandler() 2528 result = LoadFromField(*holder, handlerInfo); in LoadICWithHandler() 2758 GateRef handlerInfo = GetInt64OfTInt(*varHandler); ICStoreElement() local 2911 GateRef handlerInfo = GetInt64OfTInt(*handler); StoreICWithHandler() local 3004 GateRef handlerInfo = GetInt64OfTInt(*handler); StoreICWithHandler() local 3093 GateRef handlerInfo; StoreWithTransition() local [all...] |
H A D | stub_builder.h | 582 GateRef ClearSharedStoreKind(GateRef handlerInfo); 583 GateRef UpdateSOutOfBoundsForHandler(GateRef handlerInfo); 646 GateRef LoadFromField(GateRef receiver, GateRef handlerInfo); 657 GateRef ICStoreElement(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef handlerInfo,
|
H A D | stub_builder-inl.h | 2435 inline GateRef StubBuilder::ClearSharedStoreKind(GateRef handlerInfo) in ClearSharedStoreKind() argument 2437 return Int64And(handlerInfo, Int64Not(Int64(HandlerBase::SSharedBit::Mask()))); in ClearSharedStoreKind() 2440 inline GateRef StubBuilder::UpdateSOutOfBoundsForHandler(GateRef handlerInfo) in UpdateSOutOfBoundsForHandler() argument 2442 return Int64Or(handlerInfo, Int64(HandlerBase::SOutOfBoundsBit::Mask())); in UpdateSOutOfBoundsForHandler()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_handler_test.cpp | 272 JSHandle<JSTaggedValue> handlerInfo(thread, handler->GetHandlerInfo()); in HWTEST_F_L0() 273 EXPECT_EQ(HandlerBase::GetOffset(handlerInfo->GetInt()), 2); in HWTEST_F_L0()
|
H A D | ic_runtime_stub_test.cpp | 546 uint32_t handlerInfo = 0U; in HWTEST_F_L0() local 547 KindBit::Set<uint32_t>(HandlerKind::ELEMENT, &handlerInfo); in HWTEST_F_L0() 548 IsJSArrayBit::Set<uint32_t>(true, &handlerInfo); in HWTEST_F_L0() 557 ICRuntimeStub::StoreElement(thread, *handleArrObj, hanldeIntKey, JSTaggedValue(3), JSTaggedValue(handlerInfo)); in HWTEST_F_L0()
|