Home
last modified time | relevance | path

Searched refs:Barriers (Results 1 - 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_array-inl.h31 Barriers::SetObject<true>(thread, GetData(), offset, value.GetRawData()); in Set()
33 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, value.GetRawData()); in Set()
38 Barriers::SetObject<true>(thread, GetData(), offset, taggedValue.GetRawData()); in Set()
40 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, taggedValue.GetRawData()); in Set()
62 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), offset));
77 Barriers::CopyObject<needBarrier, false>(thread, to, from, count);
H A Delement_accessor-inl.h53 Barriers::SetObject<true>(thread, elements->GetData(), offset, convertedValue); in Set()
55 Barriers::SetPrimitive<JSTaggedType>(elements->GetData(), offset, convertedValue); in Set()
68 Barriers::SetPrimitive<JSTaggedType>(elements->GetData(), offset, in FastSet()
74 Barriers::SetPrimitive<JSTaggedType>(elements->GetData(), offset, in FastSet()
77 Barriers::SetPrimitive<JSTaggedType>(elements->GetData(), offset, in FastSet()
83 Barriers::SetObject<true>(thread, elements->GetData(), offset, rawValue.GetRawData()); in FastSet()
85 Barriers::SetPrimitive<JSTaggedType>(elements->GetData(), offset, rawValue.GetRawData()); in FastSet()
H A Decma_macros.h57 #define GET_VALUE(addr, offset) Barriers::GetValue<JSTaggedType>((addr), (offset))
62 Barriers::SetObject<true>(thread, addr, offset, (value).GetRawData()); \
64 Barriers::SetPrimitive<JSTaggedType>(addr, offset, (value).GetRawData()); \
69 Barriers::SetPrimitive<JSTaggedType>(this, offset, (value).GetRawData())
78 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(this, offset)); \
85 Barriers::SetObject<true>(thread, this, offset, value.GetTaggedValue().GetRawData()); \
87 Barriers::SetPrimitive<JSTaggedType>(this, offset, value.GetTaggedValue().GetRawData()); \
90 Barriers::SetPrimitive<JSTaggedType>(this, offset, value.GetTaggedValue().GetRawData()); \
97 Barriers::SetObject<true>(thread, this, offset, value.GetRawData()); \
99 Barriers
[all...]
H A Dglobal_env.h114 JSTaggedValue oldValue(Barriers::GetValue<JSTaggedType>(this, offset)); in RemoveValueFromSnapshotEnv()
160 JSTaggedValue result(Barriers::GetValue<JSTaggedType>(this, offset)); \
181 Barriers::SetObject<true>(thread, this, offset, value.GetTaggedValue().GetRawData()); \
185 Barriers::SetPrimitive<JSTaggedType>(this, offset, value.GetTaggedValue().GetRawData()); \
193 Barriers::SetObject<true>(thread, this, offset, value.GetRawData()); \
197 Barriers::SetPrimitive<JSTaggedType>(this, offset, value.GetRawData()); \
H A Delement_accessor.cpp34 JSTaggedType rawValue = Barriers::GetValue<JSTaggedType>(elements->GetData(), offset); in Get()
50 JSTaggedType rawValue = Barriers::GetValue<JSTaggedType>(elements->GetData(), offset); in Get()
59 JSTaggedType rawValue = Barriers::GetValue<JSTaggedType>(elements->GetData(), offset); in FastGet()
H A Dfree_object.h54 Barriers::SetPrimitive<JSTaggedType>(this, SIZE_OFFSET, JSTaggedValue(size).GetRawData()); in SetAvailable()
H A Djs_function.cpp964 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in SetFunctionExtraInfo()
971 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, pointer.GetTaggedValue().GetRawData()); in SetFunctionExtraInfo()
976 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, pointer.GetTaggedValue().GetRawData()); in SetFunctionExtraInfo()
992 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, newArray.GetTaggedValue().GetRawData()); in SetFunctionExtraInfo()
999 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, newArray.GetTaggedValue().GetRawData()); in SetFunctionExtraInfo()
1006 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in SetSFunctionExtraInfo()
1013 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, pointer.GetTaggedValue().GetRawData()); in SetSFunctionExtraInfo()
1018 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, pointer.GetTaggedValue().GetRawData()); in SetSFunctionExtraInfo()
1035 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, newArray.GetTaggedValue().GetRawData()); in SetSFunctionExtraInfo()
1042 Barriers in SetSFunctionExtraInfo()
[all...]
H A Dtagged_array.cpp134 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in FillRangeWithSpecialValue()
230 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue); in InitializeWithSpecialValue()
H A Djs_bigint.h151 return Barriers::GetValue<uint32_t>(GetData(), sizeof(uint32_t) * index); in GetDigit()
157 Barriers::SetPrimitive<uint32_t>(GetData(), sizeof(uint32_t) * index, digit);
H A Dlayout_info-inl.h56 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, value.GetRawData()); in SetWithoutBarrier()
H A Djs_object.cpp2860 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(*obj, HASH_OFFSET); in SetHash()
2873 Barriers::SetObject<true>(thread, *obj, HASH_OFFSET, newArray.GetTaggedValue().GetRawData()); in SetHash()
2879 Barriers::SetPrimitive<JSTaggedType>(*obj, HASH_OFFSET, JSTaggedValue(hash).GetRawData()); in SetHash()
2885 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in GetHash()
2901 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in HasHash()
2911 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in GetNativePointerField()
2931 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in SetNativePointerField()
2959 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in GetNativePointerFieldCount()
2973 JSTaggedType hashField = Barriers::GetValue<JSTaggedType>(this, HASH_OFFSET); in SetNativePointerFieldCount()
2989 Barriers in SetNativePointerFieldCount()
[all...]
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dprofile_type_info.h179 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, JSTaggedValue::Hole().GetRawData()); in SetPrimitiveOfSlot()
181 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in SetPrimitiveOfSlot()
201 Barriers::SetPrimitive<JSTaggedType>( in InitializeExtraInfoMap()
209 Barriers::SetPrimitive<JSTaggedType>( in InitializeJitOsr()
248 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), GetExtraInfoMapOffset())); in GetExtraInfoMap()
253 Barriers::SetObject<true>(thread, GetData(), GetExtraInfoMapOffset(), in SetExtraInfoMap()
259 return Barriers::GetValue<uint16_t>(GetData(), GetJitHotnessThresholdBitfieldOffset()); in GetJitHotnessThreshold()
264 Barriers::SetPrimitive(GetData(), GetJitHotnessThresholdBitfieldOffset(), count); in SetJitHotnessThreshold()
269 return Barriers::GetValue<uint16_t>(GetData(), GetOsrHotnessThresholdBitfieldOffset()); in GetOsrHotnessThreshold()
274 Barriers in SetOsrHotnessThreshold()
[all...]
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dbarriers-inl.h60 Barriers::Update(thread, slotAddr, objectRegion, reinterpret_cast<TaggedObject *>(value), in WriteBarrier()
66 Barriers::UpdateShared(thread, reinterpret_cast<TaggedObject *>(value), valueRegion); in WriteBarrier()
80 inline void Barriers::SetObject(const JSThread *thread, void *obj, size_t offset, JSTaggedType value) in SetObject()
89 inline void Barriers::SynchronizedSetClass(const JSThread *thread, void *obj, JSTaggedType value) in SynchronizedSetClass()
95 inline void Barriers::SynchronizedSetObject(const JSThread *thread, void *obj, size_t offset, JSTaggedType value, in SynchronizedSetObject()
119 void Barriers::CopyObject(const JSThread* thread, JSTaggedValue* dst, JSTaggedValue* src, size_t count) in CopyObject()
159 Barriers::Update(thread, slotAddr, objectRegion, taggedValue.GetTaggedObject(), valueRegion); in CopyObject()
164 Barriers::UpdateShared(thread, taggedValue.GetTaggedObject(), valueRegion); in CopyObject()
170 inline void Barriers::CopyObjectPrimitive(JSTaggedValue* dst, JSTaggedValue* src, size_t count) in CopyObjectPrimitive()
H A Dtagged_object-inl.h35 Barriers::SetObject<true>(thread, this, 0, JSTaggedValue(hclass).GetRawData()); in SetClass()
45 Barriers::SynchronizedSetClass(thread, this, JSTaggedValue(hclass).GetRawData()); in SynchronizedSetClass()
H A Dmachine_code.h216 Barriers::SetPrimitive<int32_t>(this, CALLEE_R2O_OFFSET + i * INT32_SIZE, calleeRegArray[i]); in SetCalleeReg2OffsetArray()
223 return Barriers::GetValue<int32_t>(this, CALLEE_R2O_OFFSET + calleeRegIndex * INT32_SIZE); in GetCalleeReg2OffsetArray()
280 uint16_t flag = Barriers::GetValue<uint16_t>(this, OSRMASK_OFFSET); in SetOsrDeoptFlag()
286 Barriers::SetPrimitive(this, OSRMASK_OFFSET, flag); in SetOsrDeoptFlag()
291 Barriers::SetPrimitive(this, OSR_EXECUTE_CNT_OFFSET, count); in SetOsrExecuteCnt()
H A Dbarriers.cpp18 void Barriers::UpdateWithoutEden(const JSThread *thread, uintptr_t slotAddr, Region *objectRegion, TaggedObject *value, in UpdateWithoutEden()
43 void Barriers::Update(const JSThread *thread, uintptr_t slotAddr, Region *objectRegion, TaggedObject *value, in Update()
74 void Barriers::UpdateShared(const JSThread *thread, TaggedObject *value, Region *valueRegion) in UpdateShared()
H A Dbarriers.h29 class Barriers { class
H A Dparallel_marker-inl.h414 auto result = Barriers::AtomicSetPrimitive(object, 0, oldValue, in EvacuateObject()
508 auto result = Barriers::AtomicSetPrimitive(object, 0, oldValue, in EvacuateObject()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.h96 Barriers::SetPrimitive(GetData(), GetIhcOffset(), value.GetRawData()); in SetIhc()
101 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), GetIhcOffset())); in GetIhc()
106 Barriers::SetPrimitive(GetData(), GetChcOffset(), value.GetRawData()); in SetChc()
111 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), GetChcOffset())); in GetChc()
116 Barriers::SetPrimitive(GetData(), GetLiteralTypeOffset(), value.GetRawData()); in SetLiteralType()
121 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), GetLiteralTypeOffset())).GetInt(); in GetLiteralType()
/arkcompiler/ets_runtime/ecmascript/shared_objects/
H A Dconcurrent_api_scope.h76 uint32_t ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in CanWrite()
89 uint32_t ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in WriteDone()
110 auto ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in CanRead()
122 auto ret = Barriers::AtomicSetPrimitive(objHandle_->GetTaggedObject(), in ReadDone()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dprogram_object.h265 Barriers::SetPrimitive(GetData(), GetUnsharedConstpoolIndexOffset(), index); in SetUnsharedConstpoolIndex()
270 return Barriers::GetValue<JSTaggedValue>(GetData(), GetUnsharedConstpoolIndexOffset()).GetInt(); in GetUnsharedConstpoolIndex()
275 Barriers::SetPrimitive(GetData(), GetSharedConstpoolIdOffset(), index); in SetSharedConstpoolId()
280 return Barriers::GetValue<JSTaggedValue>(GetData(), GetSharedConstpoolIdOffset()); in GetSharedConstpoolId()
307 Barriers::SetPrimitive(GetData(), GetIndexHeaderOffset(), indexHeader); in SetIndexHeader()
312 return Barriers::GetValue<panda_file::File::IndexHeader *>(GetData(), GetIndexHeaderOffset()); in GetIndexHeader()
329 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in InitializeWithSpecialValue()
355 Barriers::SetPrimitive(GetData(), GetJSPandaFileOffset(), jsPandaFile); in SetJSPandaFile()
360 return Barriers::GetValue<JSPandaFile *>(GetData(), GetJSPandaFileOffset()); in GetJSPandaFile()
379 return JSTaggedValue(Barriers in GetConstantIndexInfo()
[all...]
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dbarrier_test.cpp52 Barriers::CopyObject<true, false>(thread, to, from, arrayLength); in HWTEST_F_L0()
95 Barriers::CopyObjectPrimitive<false>(to, from, arrayLength); in HWTEST_F_L0()
115 Barriers::CopyObject<true, false>(thread, to2, from2, arrayLength); in HWTEST_F_L0()
149 Barriers::CopyObject<true, false>(thread, to, from, arrayLength); in HWTEST_F_L0()
205 Barriers::CopyObject<true, false>(thread, to, from, arrayLength); in HWTEST_F_L0()
259 Barriers::CopyObject<true, false>(thread, to, from, arrayLength); in HWTEST_F_L0()
327 Barriers::CopyObject<true, false>(thread, to, from, arrayLength); in HWTEST_F_L0()
H A Dhandle_leak_test.cpp122 ecmascript::Barriers::SetPrimitive(newArray->GetData(), offset, JSTaggedValue::Undefined()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dvalue_serializer.cpp222 hashfield = Barriers::GetValue<JSTaggedType>(object, JSObject::HASH_OFFSET); in SerializeObjectImpl()
223 Barriers::SetPrimitive<JSTaggedType>(object, JSObject::HASH_OFFSET, JSTaggedValue::VALUE_ZERO); in SerializeObjectImpl()
250 Barriers::SetObject<true>(thread_, object, JSObject::HASH_OFFSET, hashfield); in SerializeObjectImpl()
252 Barriers::SetPrimitive<JSTaggedType>(object, JSObject::HASH_OFFSET, hashfield); in SerializeObjectImpl()
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_gc_marker-inl.h273 auto result = Barriers::AtomicSetPrimitive(object, 0, oldValue, in EvacuateObject()

Completed in 20 milliseconds

12