/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | profiler_stub_builder.cpp | 111 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); in ProfileOpType() local 113 BRANCH(TaggedIsInt(slotValue), &compareLabel, &uninitialized); in ProfileOpType() 116 GateRef oldTaggedSlotValue = ChangeTaggedPointerToInt64(slotValue); in ProfileOpType() 124 BRANCH(TaggedIsUndefined(slotValue), &updateSlot, &exit); in ProfileOpType() 158 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); in ProfileDefineClass() local 159 Branch(TaggedIsHeapObject(slotValue), &isHeapObject, &exit); in ProfileDefineClass() 161 Branch(IsProfileTypeInfoCell0(slotValue), &isProfileTypeInfoCell0, &exit); in ProfileDefineClass() 164 GateRef handle = Load(VariableType::JS_ANY(), slotValue, handleOffset); in ProfileDefineClass() 168 Store(VariableType::JS_POINTER(), glue, slotValue, handleOffset, weakCtor); in ProfileDefineClass() local 199 GateRef slotValue in ProfileCreateObject() local 274 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); ProfileCall() local 384 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); ProfileNativeCall() local 586 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); ProfileBranch() local 751 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); ProfileGetIterator() local [all...] |
H A D | jit_compilation_env.cpp | 173 // When slotValue in profileTypeInfo is changed in main thread, constpool may be undefined. 209 auto slotValue = currFuncPTI->Get(slotId); in GetJsFunctionByMethodOffset() local 210 if (slotValue.IsJSFunction()) { in GetJsFunctionByMethodOffset() 212 } else if (slotValue.IsPrototypeHandler()) { in GetJsFunctionByMethodOffset() 213 auto prototypeHandler = PrototypeHandler::Cast(slotValue.GetTaggedObject()); in GetJsFunctionByMethodOffset()
|
H A D | interpreter_stub-inl.h | 579 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); in UpdateProfileTypeInfoCellToFunction() local 580 BRANCH_UNLIKELY(TaggedIsUndefined(slotValue), &slotValueUpdate, &slotValueNotUndefined); in UpdateProfileTypeInfoCellToFunction() 591 BRANCH_UNLIKELY(TaggedIsHole(slotValue), &profileTypeInfoEnd, &slotValueNotHole); in UpdateProfileTypeInfoCellToFunction() 594 UpdateProfileTypeInfoCellType(glue, slotValue); in UpdateProfileTypeInfoCellToFunction() 595 SetRawProfileTypeInfoToFunction(glue, function, slotValue, MemoryAttribute::NeedNotShareBarrier()); in UpdateProfileTypeInfoCellToFunction() 596 TryToJitReuseCompiledFunc(glue, function, slotValue); in UpdateProfileTypeInfoCellToFunction()
|
H A D | circuit_builder.cpp | 1391 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); in UpdateProfileTypeInfoCellToFunction() local 1392 BRANCH_CIR2(TaggedIsUndefined(slotValue), &slotValueUpdate, &slotValueNotUndefined); in UpdateProfileTypeInfoCellToFunction() 1401 UpdateProfileTypeInfoCellType(glue, slotValue); in UpdateProfileTypeInfoCellToFunction() 1402 SetRawProfileTypeInfoToFunction(glue, function, slotValue); in UpdateProfileTypeInfoCellToFunction()
|
H A D | new_object_stub_builder.cpp | 1807 // The caller should ensure that the IC slot for LoadTrackInfo is valid (slotId is not 0xff or slotValue is not Hole).
1809 GateRef profileTypeInfo, GateRef slotId, GateRef slotValue, GateRef arrayLiteral, ProfileOperation callback)
in LoadTrackInfo() 1819 BRANCH(TaggedIsHeapObject(slotValue), &fastpath, &uninitialized);
in LoadTrackInfo() 1822 ret = slotValue;
in LoadTrackInfo() 1959 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId);
in CreateEmptyArray() local 1960 BRANCH(TaggedIsHole(slotValue), &slowpath, &mayFastpath);
in CreateEmptyArray() 1964 slotId, slotValue, Circuit::NullGate(), callback);
in CreateEmptyArray() 2004 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId);
in CreateArrayWithBuffer() local 2005 BRANCH(TaggedIsHole(slotValue), &slowpath, &mayFastpath);
in CreateArrayWithBuffer() 2008 trackInfo = LoadTrackInfo(glue, jsFunc, traceIdInfo, profileTypeInfo, slotId, slotValue, ob in CreateArrayWithBuffer() 1808 LoadTrackInfo(GateRef glue, GateRef jsFunc, TraceIdInfo traceIdInfo, GateRef profileTypeInfo, GateRef slotId, GateRef slotValue, GateRef arrayLiteral, ProfileOperation callback) LoadTrackInfo() argument [all...] |
H A D | new_object_stub_builder.h | 141 GateRef profileTypeInfo, GateRef slotId, GateRef slotValue, GateRef arrayLiteral, ProfileOperation callback);
|
H A D | stub_builder.cpp | 10209 GateRef slotValue = GetValueFromTaggedArray(profileTypeInfo, slotId); in UpdateProfileTypeInfoCellToFunction() local 10210 BRANCH(TaggedIsUndefined(slotValue), &slotValueUpdate, &slotValueNotUndefined); in UpdateProfileTypeInfoCellToFunction() 10220 UpdateProfileTypeInfoCellType(glue, slotValue); in UpdateProfileTypeInfoCellToFunction() 10221 SetRawProfileTypeInfoToFunction(glue, function, slotValue); in UpdateProfileTypeInfoCellToFunction() 10222 TryToJitReuseCompiledFunc(glue, function, slotValue); in UpdateProfileTypeInfoCellToFunction()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | verification.cpp | 25 TaggedObject *slotValue = slot.GetTaggedObject(); in LogErrorForObjSlot() local 28 Region *slotRegion = Region::ObjectAddressToRange(slotValue); in LogErrorForObjSlot() 36 << ", slot value=" << slotValue in LogErrorForObjSlot() 39 << ", slot value type=" << JSHClass::DumpJSType(slotValue->GetClass()->GetObjectType()) in LogErrorForObjSlot() 47 << ", obj slot value mark bit=" << slotRegion->Test(slotValue) in LogErrorForObjSlot() 134 JSTaggedValue slotValue, in VerifyHeapObjectSlotLegal() 137 ASSERT(slotValue.IsHeapObject()); in VerifyHeapObjectSlotLegal() 138 if (ToUintPtr(slotValue.GetTaggedObject()) < INVALID_THRESHOLD) { // LCOV_EXCL_START in VerifyHeapObjectSlotLegal() 140 object, slot, slotValue.GetTaggedObject()); in VerifyHeapObjectSlotLegal() 142 if (!heap_->IsAlive(slotValue in VerifyHeapObjectSlotLegal() 133 VerifyHeapObjectSlotLegal(ObjectSlot slot, JSTaggedValue slotValue, TaggedObject *object) const VerifyHeapObjectSlotLegal() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.cpp | 321 JSTaggedValue slotValue = profileTypeInfo_->Get(slotId); in ConvertOpType() local 322 if (slotValue.IsInt()) { in ConvertOpType() 323 auto type = slotValue.GetInt(); in ConvertOpType() 330 JSTaggedValue slotValue = profileTypeInfo_->Get(slotId); in ConvertCall() local 334 if (slotValue.IsInt()) { in ConvertCall() 335 calleeMethodId = slotValue.GetInt(); in ConvertCall() 342 } else if (slotValue.IsJSFunction()) { in ConvertCall() 343 JSFunction *callee = JSFunction::Cast(slotValue); in ConvertCall() 359 JSTaggedValue slotValue = profileTypeInfo_->Get(slotId); in ConvertNewObjRange() local 362 if (slotValue in ConvertNewObjRange() 411 JSTaggedValue slotValue = profileTypeInfo_->Get(slotId); ConvertCreateObject() local [all...] |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 1311 JSTaggedValue slotValue = profileTypeInfo->Get(slotId); in DumpOpType() local 1312 if (slotValue.IsInt()) { in DumpOpType() 1313 auto type = slotValue.GetInt(); in DumpOpType() 1330 JSTaggedValue slotValue = profileTypeInfo->Get(slotId); in DumpDefineClass() local 1331 if (!slotValue.IsProfileTypeInfoCell0()) { in DumpDefineClass() 1334 JSTaggedValue handle = ProfileTypeInfoCell::Cast(slotValue)->GetHandle(); in DumpDefineClass() 1391 JSTaggedValue slotValue = profileTypeInfo->Get(slotId); in DumpCreateObject() local 1392 if (!slotValue.IsHeapObject()) { in DumpCreateObject() 1396 if (slotValue.IsWeak()) { in DumpCreateObject() 1397 auto object = slotValue in DumpCreateObject() 1432 JSTaggedValue slotValue = profileTypeInfo->Get(slotId); DumpCall() local 1480 JSTaggedValue slotValue = profileTypeInfo->Get(slotId); DumpNewObjRange() local [all...] |
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 1014 JSTaggedValue slotValue = profileTypeArray->Get(slotId); in SetProfileTypeInfoCellToFunction() local 1015 if (slotValue.IsUndefined()) { in SetProfileTypeInfoCellToFunction() 1022 auto cellPtr = ProfileTypeInfoCell::Cast(slotValue.GetTaggedObject()); in SetProfileTypeInfoCellToFunction() 1024 definedFunc->SetRawProfileTypeInfo(thread, slotValue); in SetProfileTypeInfoCellToFunction()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter-inl.cpp | 1014 JSTaggedValue slotValue = profileTypeArray->Get(slotId); in UpdateProfileTypeInfoCellToFunction() local 1015 if (slotValue.IsUndefined()) { in UpdateProfileTypeInfoCellToFunction() 1021 } else if (!slotValue.IsHole()) { in UpdateProfileTypeInfoCellToFunction() 1022 ProfileTypeInfoCell::Cast(slotValue.GetTaggedObject())->UpdateProfileTypeInfoCellType(thread); in UpdateProfileTypeInfoCellToFunction() 1023 function->SetRawProfileTypeInfo(thread, slotValue); in UpdateProfileTypeInfoCellToFunction()
|