Home
last modified time | relevance | path

Searched refs:UseHoldRefCount (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/include/
H A Ddevice.h118 bool UseHoldRefCount, map_var_info_t Name = nullptr,
121 TgtPtrBegin(TB), States(std::make_unique<StatesTy>(UseHoldRefCount ? 0 in HstPtrBase()
164 void resetRefCount(bool UseHoldRefCount) const { in resetRefCount()
166 UseHoldRefCount ? States->HoldRefCount : States->DynRefCount; in resetRefCount()
172 void incRefCount(bool UseHoldRefCount) const { in incRefCount()
174 UseHoldRefCount ? States->HoldRefCount : States->DynRefCount; in incRefCount()
183 uint64_t decRefCount(bool UseHoldRefCount) const { in decRefCount()
185 UseHoldRefCount ? States->HoldRefCount : States->DynRefCount; in decRefCount()
187 UseHoldRefCount ? States->DynRefCount : States->HoldRefCount; in decRefCount()
215 UseHoldRefCount ? States->HoldRefCount : States->DynRefCount;
[all …]
/llvm-project-15.0.7/openmp/libomptarget/src/
H A Ddevice.cpp362 bool UpdateRefCount, bool UseHoldRefCount, in getTgtPtrBegin() argument
375 IsLast = HT.decShouldRemove(UseHoldRefCount, ForceDelete); in getTgtPtrBegin()
378 HT.resetRefCount(UseHoldRefCount); in getTgtPtrBegin()
379 assert(IsLast == HT.decShouldRemove(UseHoldRefCount) && in getTgtPtrBegin()
392 HT.decRefCount(UseHoldRefCount); in getTgtPtrBegin()
400 HT.decRefCount(UseHoldRefCount); in getTgtPtrBegin()
403 const char *DynRefCountAction = UseHoldRefCount ? "" : RefCountAction; in getTgtPtrBegin()
404 const char *HoldRefCountAction = UseHoldRefCount ? RefCountAction : ""; in getTgtPtrBegin()