Searched refs:RefCount (Results 1 - 10 of 10) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h35 unsigned RefCount; member in struct:clang::RopeRefCountString
38 void Retain() { ++RefCount; }
41 assert(RefCount > 0 && "Reference count is already zero.");
42 if (--RefCount == 0)
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DInterferenceCache.h48 /// RefCount - The total number of Cursor instances referring to this Entry.
49 unsigned RefCount; member in class:llvm::InterferenceCache::Entry
97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {}
109 void addRef(int Delta) { RefCount += Delta; }
111 bool hasRefs() const { return RefCount > 0; }
178 // Update reference counts. Nothing happens when RefCount reaches 0, so
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp53 unsigned NoModRefCount, ModCount, RefCount, ModRefCount; member in class:__anon2374::AAEval
68 NoModRefCount = ModCount = RefCount = ModRefCount = 0;
306 ++RefCount;
332 ++RefCount;
374 unsigned ModRefSum = NoModRefCount + ModCount + RefCount + ModRefCount;
384 errs() << " " << RefCount << " ref responses ";
385 PrintPercent(RefCount, ModRefSum);
390 << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum
H A DAliasSetTracker.cpp92 assert(RefCount == 0 && "Cannot remove non-dead alias set from tracker!");
432 AS.RefCount -= NumRefs;
433 if (AS.RefCount == 0)
570 OS << " AliasSet[" << (const void*)this << ", " << RefCount << "] ";
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h101 mutable std::atomic<int> RefCount; member in class:llvm::ThreadSafeRefCountedBase
104 ThreadSafeRefCountedBase() : RefCount(0) {}
107 void Retain() const { ++RefCount; }
110 int NewRefCount = --RefCount;
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h117 // RefCount - Number of nodes pointing to this AliasSet plus the number of
119 unsigned RefCount : 28;
149 void addRef() { ++RefCount; }
151 assert(RefCount >= 1 && "Invalid reference count detected!");
152 if (--RefCount == 0)
228 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h129 // This should come right before RefCount, so that the two fields can be
134 mutable unsigned RefCount; member in class:clang::ento::CallEvent
137 void Retain() const { ++RefCount; }
144 : State(state), LCtx(lctx), Origin(E), RefCount(0) {}
147 : State(state), LCtx(lctx), Origin(D), RefCount(0) {}
152 Data(Original.Data), Location(Original.Location), RefCount(0) {}
1064 assert(RefCount > 0 && "Reference count is already zero.");
1065 --RefCount;
1067 if (RefCount > 0)
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp312 unsigned RefCount; member in struct:__anon2930::MipsConstantIslands::CPEntry
314 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
797 CPE->RefCount++;
1062 if (--CPE->RefCount == 0) {
1112 CPEs[i].RefCount++;
1168 CPEs[i].RefCount++;
1480 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Rewrite/
H A DRewriteRope.cpp783 Res->RefCount = 0;
794 Res->RefCount = 0;
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp211 unsigned RefCount; member in struct:__anon2766::ARMConstantIslands::CPEntry
213 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
881 CPE->RefCount++;
1198 if (--CPE->RefCount == 0) {
1255 CPEs[i].RefCount++;
1604 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) {
2168 ++Entry->RefCount;

Completed in 91 milliseconds