Home
last modified time | relevance | path

Searched refs:RefCount (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h77 mutable unsigned RefCount = 0; variable
86 assert(RefCount == 0 && in ~RefCountedBase()
96 unsigned UseCount() const { return RefCount; } in Retain()
98 void Retain() const { ++RefCount; } in Release()
101 assert(RefCount > 0 && "Reference count is already zero."); in Release()
102 if (--RefCount == 0) in Release()
109 mutable std::atomic<int> RefCount{0};
119 assert(RefCount == 0 && in ~ThreadSafeRefCountedBase()
129 unsigned UseCount() const { return RefCount.load(std::memory_order_relaxed); } in Release()
131 void Retain() const { RefCount in Release()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysisEvaluator.h37 int64_t NoModRefCount = 0, ModCount = 0, RefCount = 0, ModRefCount = 0;
46 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
38 int64_t NoModRefCount = 0, ModCount = 0, RefCount = 0, ModRefCount = 0; global() variable
H A DAliasSetTracker.h61 unsigned RefCount : 27; variable
92 void addRef() { ++RefCount; } in addRef()
95 assert(RefCount >= 1 && "Invalid reference count detected!"); in dropRef()
96 if (--RefCount == 0) in dropRef()
137 : RefCount(0), AliasAny(false), Access(NoAccess), Alias(SetMustAlias) {} in AliasSet()
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h34 unsigned RefCount; member
37 void Retain() { ++RefCount; } in Retain()
40 assert(RefCount > 0 && "Reference count is already zero."); in Release()
41 if (--RefCount == 0) in Release()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp228 ++RefCount; in runInternal()
256 ++RefCount; in runInternal()
300 int64_t ModRefSum = NoModRefCount + RefCount + ModCount + ModRefCount; in ~AAEvaluator()
310 errs() << " " << RefCount << " ref responses "; in ~AAEvaluator()
311 PrintPercent(RefCount, ModRefSum); in ~AAEvaluator()
316 << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum in ~AAEvaluator()
H A DAliasSetTracker.cpp107 assert(RefCount == 0 && "Cannot remove non-dead alias set from tracker!"); in removeFromTracker()
514 OS << " AliasSet[" << (const void*)this << ", " << RefCount << "] "; in print()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.cpp46 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount()
53 atomic_fetch_add(&C->RefCount, 1, memory_order_acq_rel); in incRefCount()
115 atomic_store(&BackingStore->RefCount, 1, memory_order_release); in init()
116 atomic_store(&ExtentsBackingStore->RefCount, 1, memory_order_release); in init()
H A Dxray_buffer_queue.h44 atomic_uint64_t RefCount; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterferenceCache.h54 unsigned RefCount = 0; variable
113 void addRef(int Delta) { RefCount += Delta; } in addRef()
115 bool hasRefs() const { return RefCount > 0; } in hasRefs()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp168 unsigned RefCount; member
171 : CPEMI(Cpemi), CPI(Cpi), RefCount(Rc) {} in CPEntry()
575 CPE->RefCount++; in initializeFunctionInfo()
831 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount()
880 CPEs[I].RefCount++; in findInRangeCPEntry()
1199 if (CPEs[J].RefCount == 0 && CPEs[J].CPEMI) { in removeUnusedCPEntries()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp306 unsigned RefCount; member
309 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
772 CPE->RefCount++; in initializeFunctionInfo()
1025 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount()
1075 CPE.RefCount++; in findInRangeCPEntry()
1131 CPE.RefCount++; in findLongFormInRangeCPEntry()
1440 if (CPE.RefCount == 0 && CPE.CPEMI) { in removeUnusedCPEntries()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Delfnix_platform.cpp95 size_t RefCount = 0; member
226 ++JDS->RefCount; in dlopen()
416 ++JDS.RefCount; in initializeJITDylib()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h176 mutable unsigned RefCount = 0; variable
178 void Retain() const { ++RefCount; } in Retain()
1491 assert(RefCount > 0 && "Reference count is already zero."); in Release()
1492 --RefCount; in Release()
1494 if (RefCount > 0) in Release()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp790 Res->RefCount = 0; in MakeRopeString()
800 Res->RefCount = 0; in MakeRopeString()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp162 unsigned RefCount; member
165 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
952 CPE->RefCount++; in initializeFunctionInfo()
1213 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount()
1269 CPE.RefCount++; in findInRangeCPEntry()
1692 if (CPE.RefCount == 0 && CPE.CPEMI) { in removeUnusedCPEntries()
2402 ++Entry->RefCount; in optimizeThumb2JumpTables()
/freebsd/sys/contrib/dev/acpica/
H A Dchanges.txt1984 0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001