| /llvm-project/llvm/include/llvm/ADT/ |
| H A D | IntrusiveRefCntPtr.h | 77 mutable unsigned RefCount = 0; variable 86 assert(RefCount == 0 && in ~RefCountedBase() 96 unsigned UseCount() const { return RefCount; } in UseCount() 98 void Retain() const { ++RefCount; } in Retain() 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 UseCount() 131 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() [all …]
|
| /llvm-project/offload/src/ |
| H A D | OffloadRTL.cpp | 24 static uint32_t RefCount = 0; variable 34 RefCount++; in initRuntime() 35 if (RefCount == 1) { in initRuntime() 51 if (RefCount == 1) { in deinitRuntime() 58 RefCount--; in deinitRuntime()
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysisEvaluator.h | 37 int64_t NoModRefCount = 0, ModCount = 0, RefCount = 0, ModRefCount = 0; variable 46 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
|
| H A D | AliasSetTracker.h | 62 unsigned RefCount : 27; 93 void addRef() { ++RefCount; } 96 assert(RefCount >= 1 && "Invalid reference count detected!"); in dropRef() 97 if (--RefCount == 0) in dropRef() 138 : RefCount(0), AliasAny(false), Access(NoAccess), Alias(SetMustAlias) {} 61 unsigned RefCount : 27; global() variable
|
| /llvm-project/clang/include/clang/Rewrite/Core/ |
| H A D | RewriteRope.h | |
| /llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 228 ++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 D | AliasSetTracker.cpp | 106 assert(RefCount == 0 && "Cannot remove non-dead alias set from tracker!"); in removeFromTracker() 513 OS << " AliasSet[" << (const void*)this << ", " << RefCount << "] "; in print()
|
| /llvm-project/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
|
| /llvm-project/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()
|
| /llvm-project/clang/test/Analysis/inlining/ |
| H A D | false-positive-suppression.cpp | 7 class RefCount { class 30 RefCount<ParserInputState> inputState;
|
| /llvm-project/offload/include/OpenMP/ |
| H A D | Mapping.h | 77 static std::string refCountToStr(uint64_t RefCount) { in refCountToStr() 78 return RefCount == INFRefCount ? "INF" : std::to_string(RefCount); in refCountToStr()
|
| /llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 167 unsigned RefCount; 170 : CPEMI(Cpemi), CPI(Cpi), RefCount(Rc) {} in CPEntry() 569 CPE->RefCount++; in initializeFunctionInfo() 825 if (--CPE->RefCount == 0) { 874 CPEs[I].RefCount++; in findInRangeCPEntry() 1193 if (CPEs[J].RefCount == 0 && CPEs[J].CPEMI) { 168 unsigned RefCount; global() member
|
| /llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 304 unsigned RefCount; 307 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} 770 CPE->RefCount++; in initializeFunctionInfo() 1023 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount() 1073 CPE.RefCount++; in findInRangeCPEntry() 1129 CPE.RefCount++; in findLongFormInRangeCPEntry() 1438 if (CPE.RefCount == 0 && CPE.CPEMI) { in removeUnusedCPEntries() 306 unsigned RefCount; global() member
|
| /llvm-project/openmp/tools/archer/ |
| H A D | ompt-tsan.cpp | 488 std::atomic_int RefCount{1}; member 546 Parent->RefCount++; in Init() 566 RefCount = 1; in Reset() 687 assert(Data->RefCount == 1 && in ompt_tsan_implicit_task() 879 while (task != nullptr && --task->RefCount == 0) { in freeTask()
|
| /llvm-project/compiler-rt/lib/orc/ |
| H A D | elfnix_platform.cpp | 71 size_t RefCount = 0; in runInitArray() 79 return LinkedAgainstRefCount != 0 || RefCount != 0; 467 ++JDS->RefCount; 595 --JDS->RefCount; 95 size_t RefCount = 0; global() member
|
| /llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 169 // This should come right before RefCount, so that the two fields can be 176 mutable unsigned RefCount = 0; variable 178 void Retain() const { ++RefCount; } in Retain() 1496 assert(RefCount > 0 && "Reference count is already zero."); in Release() 1497 --RefCount; in Release() 1499 if (RefCount > 0) in Release()
|
| /llvm-project/openmp/docs/design/ |
| H A D | Runtimes.rst | 867 TgtPtrBegin=0x00007fdba5800000, Size=16384, RefCount=1, Name=X[0:N] 871 TgtPtrBegin=0x00007fdba5804000, Size=16384, RefCount=1, Name=Y[0:N] 875 Info: Host Ptr Target Ptr Size (B) RefCount Declaration 884 TgtPtrBegin=0x00007fdba5804000, Size=0, RefCount=2 (incremented), Name=Y 886 TgtPtrBegin=0x00007fdba5808000, Size=16, RefCount=1, Name=D 890 TgtPtrBegin=0x00007fdba5800000, Size=0, RefCount=2 (incremented), Name=X 892 TgtPtrBegin=0x00007fdba5804000, Size=0, RefCount=2 (update suppressed) 894 TgtPtrBegin=0x00007fdba5808000, Size=16, RefCount=1 (update suppressed) 896 TgtPtrBegin=0x00007fdba5800000, Size=0, RefCount=2 (update suppressed) 900 TgtPtrBegin=0x00007fdba5800000, Size=0, RefCount [all...] |
| /llvm-project/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | |
| /llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMConstantIslandPass.cpp | 161 unsigned RefCount; 164 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry() 955 CPE->RefCount++; in initializeFunctionInfo() 1218 if (--CPE->RefCount == 0) { in decrementCPEReferenceCount() 1274 CPE.RefCount++; in findInRangeCPEntry() 1698 if (CPE.RefCount == 0 && CPE.CPEMI) { in removeUnusedCPEntries() 2408 ++Entry->RefCount; in optimizeThumb2JumpTables() 162 unsigned RefCount; global() member
|