| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
| H A D | synth6.C | 4 class RefCount{ 6 RefCount(); 9 RefCount& operator=(const RefCount); 12 class DbmItem: public RefCount{ 14 DbmItem(): RefCount() {}; in DbmItem()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | IntrusiveRefCntPtr.h | 77 mutable unsigned RefCount = 0; variable 86 assert(RefCount == 0 && in ~RefCountedBase() 96 void Retain() const { ++RefCount; } in Retain() 99 assert(RefCount > 0 && "Reference count is already zero."); in Release() 100 if (--RefCount == 0) in Release() 107 mutable std::atomic<int> RefCount{0}; 117 assert(RefCount == 0 && in ~ThreadSafeRefCountedBase() 127 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() 130 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
| H A D | p8018.C | 3 class RefCount { 8 RefCount() : nref(0) {} in RefCount() function 9 ~RefCount() {} in ~RefCount() 22 class A : public RefCount {
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysisEvaluator.h | 38 int64_t NoModRefCount = 0, ModCount = 0, RefCount = 0, ModRefCount = 0; variable 47 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
|
| H A D | AliasSetTracker.h | 150 unsigned RefCount : 27; variable 183 void addRef() { ++RefCount; } in addRef() 186 assert(RefCount >= 1 && "Invalid reference count detected!"); in dropRef() 187 if (--RefCount == 0) in dropRef() 263 : PtrListEnd(&PtrList), RefCount(0), AliasAny(false), Access(NoAccess), in AliasSet()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Rewrite/Core/ |
| H A D | RewriteRope.h | 34 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | InterferenceCache.h | 54 unsigned RefCount = 0; variable 113 void addRef(int Delta) { RefCount += Delta; } in addRef() 115 bool hasRefs() const { return RefCount > 0; } in hasRefs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 230 ++RefCount; in runInternal() 258 ++RefCount; in runInternal() 302 int64_t ModRefSum = NoModRefCount + RefCount + ModCount + ModRefCount; in ~AAEvaluator() 312 errs() << " " << RefCount << " ref responses "; in ~AAEvaluator() 313 PrintPercent(RefCount, ModRefSum); in ~AAEvaluator() 318 << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum in ~AAEvaluator()
|
| H A D | AliasSetTracker.cpp | 122 assert(RefCount == 0 && "Cannot remove non-dead alias set from tracker!"); in removeFromTracker() 567 OS << " AliasSet[" << (const void*)this << ", " << RefCount << "] "; in print()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_buffer_queue.cpp | 46 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 D | xray_buffer_queue.h | 44 atomic_uint64_t RefCount; member
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 168 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 306 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()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/orc/ |
| H A D | elfnix_platform.cpp | 89 size_t RefCount = 0; member 207 ++JDS->RefCount; in dlopen() 397 ++JDS.RefCount; in initializeJITDylib()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 171 mutable unsigned RefCount = 0; variable 173 void Retain() const { ++RefCount; } in Retain() 1373 assert(RefCount > 0 && "Reference count is already zero."); in Release() 1374 --RefCount; in Release() 1376 if (RefCount > 0) in Release()
|
| /openbsd-src/gnu/llvm/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | 790 Res->RefCount = 0; in MakeRopeString() 800 Res->RefCount = 0; in MakeRopeString()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMConstantIslandPass.cpp | 162 unsigned RefCount; member 165 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry() 938 CPE->RefCount++; in initializeFunctionInfo() 1199 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount() 1255 CPE.RefCount++; in findInRangeCPEntry() 1678 if (CPE.RefCount == 0 && CPE.CPEMI) { in removeUnusedCPEntries() 2389 ++Entry->RefCount; in optimizeThumb2JumpTables()
|