Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h72 mutable unsigned RefCount = 0; variable
81 assert(RefCount == 0 && in ~RefCountedBase()
91 void Retain() const { ++RefCount; } in Retain()
94 assert(RefCount > 0 && "Reference count is already zero."); in Release()
95 if (--RefCount == 0) in Release()
102 mutable std::atomic<int> RefCount{0};
112 assert(RefCount == 0 && in ~ThreadSafeRefCountedBase()
122 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain()
125 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DAliasAnalysisEvaluator.h36 int64_t NoModRefCount, ModCount, RefCount, ModRefCount; variable
42 MustAliasCount(), NoModRefCount(), ModCount(), RefCount(), in AAEvaluator()
50 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
H A DAliasSetTracker.h153 unsigned RefCount : 27; variable
186 void addRef() { ++RefCount; } in addRef()
189 assert(RefCount >= 1 && "Invalid reference count detected!"); in dropRef()
190 if (--RefCount == 0) in dropRef()
275 : PtrListEnd(&PtrList), RefCount(0), AliasAny(false), Access(NoAccess), in AliasSet()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_buffer_queue.cc47 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount()
54 atomic_fetch_add(&C->RefCount, 1, memory_order_acq_rel); in incRefCount()
116 atomic_store(&BackingStore->RefCount, 1, memory_order_release); in init()
117 atomic_store(&ExtentsBackingStore->RefCount, 1, memory_order_release); in init()
H A Dxray_buffer_queue.h45 atomic_uint64_t RefCount; member
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp252 ++RefCount; in runInternal()
299 ++RefCount; in runInternal()
362 int64_t ModRefSum = NoModRefCount + RefCount + ModCount + ModRefCount + in ~AAEvaluator()
373 errs() << " " << RefCount << " ref responses "; in ~AAEvaluator()
374 PrintPercent(RefCount, ModRefSum); in ~AAEvaluator()
387 << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum in ~AAEvaluator()
H A DAliasSetTracker.cpp127 assert(RefCount == 0 && "Cannot remove non-dead alias set from tracker!"); in removeFromTracker()
647 OS << " AliasSet[" << (const void*)this << ", " << RefCount << "] "; in print()
/netbsd-src/external/apache2/llvm/dist/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 CPEs[i].RefCount++; in findInRangeCPEntry()
1131 CPEs[i].RefCount++; in findLongFormInRangeCPEntry()
1441 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h164 mutable unsigned RefCount = 0; variable
166 void Retain() const { ++RefCount; } in Retain()
1454 assert(RefCount > 0 && "Reference count is already zero."); in Release()
1455 --RefCount; in Release()
1457 if (RefCount > 0) in Release()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DRewriteRope.cpp790 Res->RefCount = 0; in MakeRopeString()
800 Res->RefCount = 0; in MakeRopeString()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp161 unsigned RefCount; member
164 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
892 CPE->RefCount++; in initializeFunctionInfo()
1153 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount()
1209 CPEs[i].RefCount++; in findInRangeCPEntry()
1633 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
2346 ++Entry->RefCount; in optimizeThumb2JumpTables()
/netbsd-src/sys/external/bsd/acpica/dist/
H A Dchanges.txt1847 0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001