/freebsd-10.0-release/contrib/llvm/include/llvm/Bitcode/ |
H A D | BitCodes.h | 166 unsigned char RefCount; // Number of things using this. member in class:llvm::BitCodeAbbrev 169 BitCodeAbbrev() : RefCount(1) {} 171 void addRef() { ++RefCount; } 172 void dropRef() { if (--RefCount == 0) delete this; }
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/ |
H A D | InterferenceCache.h | 48 /// RefCount - The total number of Cursor instances referring to this Entry. 49 unsigned RefCount; member in class:llvm::InterferenceCache::Entry 96 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(0), LIS(0) {} 108 void addRef(int Delta) { RefCount += Delta; } 110 bool hasRefs() const { return RefCount > 0; } 168 // Update reference counts. Nothing happens when RefCount reaches 0, so
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
H A D | RewriteRope.h | 33 unsigned RefCount; member in struct:clang::RopeRefCountString 37 ++RefCount; 41 if (--RefCount == 0)
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | AliasSetTracker.h | 115 // RefCount - Number of nodes pointing to this AliasSet plus the number of 117 unsigned RefCount : 28; 141 void addRef() { ++RefCount; } 143 assert(RefCount >= 1 && "Invalid reference count detected!"); 144 if (--RefCount == 0) 223 AliasSet() : PtrList(0), PtrListEnd(&PtrList), Forward(0), RefCount(0),
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | ErrorOr.h | 32 uint16_t RefCount; member in struct:llvm::ErrorHolderBase 35 ErrorHolderBase() : RefCount(1) {} 38 ++RefCount; 42 if (--RefCount == 0)
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 131 // This should come right before RefCount, so that the two fields can be 136 mutable unsigned RefCount; member in class:clang::ento::CallEvent 139 void Retain() const { ++RefCount; } 146 : State(state), LCtx(lctx), Origin(E), RefCount(0) {} 149 : State(state), LCtx(lctx), Origin(D), RefCount(0) {} 154 Data(Original.Data), Location(Original.Location), RefCount(0) {} 1024 assert(RefCount > 0 && "Reference count is already zero."); 1025 --RefCount; 1027 if (RefCount > 0)
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Rewrite/Core/ |
H A D | RewriteRope.cpp | 783 Res->RefCount = 0; 792 if (AllocBuffer && --AllocBuffer->RefCount == 0) 797 AllocBuffer->RefCount = 0;
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | AliasSetTracker.cpp | 91 assert(RefCount == 0 && "Cannot remove non-dead alias set from tracker!"); 419 AS.RefCount -= NumRefs; 420 if (AS.RefCount == 0) 553 OS << " AliasSet[" << (const void*)this << ", " << RefCount << "] ";
|
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMConstantIslandPass.cpp | 217 unsigned RefCount; member in struct:__anon2355::ARMConstantIslands::CPEntry 219 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} 785 CPE->RefCount++; 1102 if (--CPE->RefCount == 0) { 1152 CPEs[i].RefCount++; 1492 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) {
|