Searched refs:NumRefs (Results 1 – 9 of 9) sorted by relevance
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyUtil.h | 231 VectorData() : NumRefs(1) { } in VectorData() 232 VectorData(const VectorData &VD) : NumRefs(1), Vect(VD.Vect) { } in VectorData() 234 unsigned NumRefs; variable 251 bool writable() const { return Data && Data->NumRefs == 1; } in writable() 264 if (Data->NumRefs <= 1) in destroy() 267 --Data->NumRefs; in destroy() 277 if (Data->NumRefs == 1) in makeWritable() 279 --Data->NumRefs; in makeWritable() 336 ++Data->NumRefs; in CopyOnWriteVector()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Ref.h | 125 size_t numRefs() const { return NumRefs; } in numRefs() 158 size_t NumRefs) 159 : Arena(std::move(Arena)), Refs(std::move(Refs)), NumRefs(NumRefs) {} 164 size_t NumRefs = 0;
|
D | Serialization.cpp | 726 size_t NumRefs = Refs.numRefs(); in loadIndex() local 739 Index->estimateMemoryUsage(), NumSym, NumRefs, NumRelations); in loadIndex()
|
/external/llvm-project/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyUtil.h | 238 unsigned NumRefs = 1; 266 bool writable() const { return Data && Data->NumRefs == 1; } in writable() 279 if (Data->NumRefs <= 1) in destroy() 282 --Data->NumRefs; in destroy() 292 if (Data->NumRefs == 1) in makeWritable() 294 --Data->NumRefs; in makeWritable() 344 ++Data->NumRefs; in CopyOnWriteVector()
|
/external/llvm/lib/Analysis/ |
D | AliasSetTracker.cpp | 440 unsigned NumRefs = 0; in remove() local 450 ++NumRefs; in remove() 457 AS.RefCount -= NumRefs; in remove()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 5888 unsigned NumRefs = Record[3]; in parseEntireSummary() local 5893 NumRefs = Record[4]; in parseEntireSummary() 5911 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary() 5912 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary() 5915 ArrayRef<uint64_t>(Record).slice(RefListStartIndex, NumRefs)); in parseEntireSummary() 5991 unsigned NumRefs = Record[3]; in parseEntireSummary() local 5993 unsigned VTableListStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary() 5996 ArrayRef<uint64_t>(Record).slice(RefListStartIndex, NumRefs)); in parseEntireSummary() 6024 unsigned NumRefs = Record[4]; in parseEntireSummary() local 6047 NumRefs = Record[NumRefsIndex]; in parseEntireSummary() [all …]
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 6100 unsigned NumRefs = Record[3]; in parseEntireSummary() local 6105 NumRefs = Record[4]; in parseEntireSummary() 6123 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary() 6124 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary() 6127 ArrayRef<uint64_t>(Record).slice(RefListStartIndex, NumRefs)); in parseEntireSummary() 6206 unsigned NumRefs = Record[3]; in parseEntireSummary() local 6208 unsigned VTableListStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary() 6211 ArrayRef<uint64_t>(Record).slice(RefListStartIndex, NumRefs)); in parseEntireSummary() 6239 unsigned NumRefs = Record[4]; in parseEntireSummary() local 6262 NumRefs = Record[NumRefsIndex]; in parseEntireSummary() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 3054 unsigned NumRefs = NewMI.memoperands_end() - NewMI.memoperands_begin(); in updateMemOperands() local 3055 if (NumRefs == 0) in updateMemOperands() 3057 MachineInstr::mmo_iterator NewMemRefs = MF.allocateMemRefsArray(NumRefs); in updateMemOperands() 3074 NewMI.setMemRefs(NewMemRefs, NewMemRefs + NumRefs); in updateMemOperands()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 6178 unsigned NumRefs = Record[3]; in parseEntireSummary() local 6190 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary() 6191 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary() 6271 unsigned NumRefs = Record[4]; in parseEntireSummary() local 6278 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary() 6279 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary()
|