Searched refs:NumRefs (Results 1 – 7 of 7) sorted by relevance
231 VectorData() : NumRefs(1) { } in VectorData()232 VectorData(const VectorData &VD) : NumRefs(1), Vect(VD.Vect) { } in VectorData()234 unsigned NumRefs; variable251 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()
400 unsigned NumRefs = 0; in remove() local410 ++NumRefs; in remove()417 AS.RefCount -= NumRefs; in remove()
440 unsigned NumRefs = 0; in remove() local450 ++NumRefs; in remove()457 AS.RefCount -= NumRefs; in remove()
5260 unsigned NumRefs = Record[3]; in parseEntireSummary() local5264 NumRefs = Record[4]; in parseEntireSummary()5274 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary()5275 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary()5278 ArrayRef<uint64_t>(Record).slice(RefListStartIndex, NumRefs)); in parseEntireSummary()5357 unsigned NumRefs = Record[4]; in parseEntireSummary() local5362 NumRefs = Record[5]; in parseEntireSummary()5367 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary()5368 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary()5371 ArrayRef<uint64_t>(Record).slice(RefListStartIndex, NumRefs)); in parseEntireSummary()
3054 unsigned NumRefs = NewMI.memoperands_end() - NewMI.memoperands_begin(); in updateMemOperands() local3055 if (NumRefs == 0) in updateMemOperands()3057 MachineInstr::mmo_iterator NewMemRefs = MF.allocateMemRefsArray(NumRefs); in updateMemOperands()3074 NewMI.setMemRefs(NewMemRefs, NewMemRefs + NumRefs); in updateMemOperands()
6178 unsigned NumRefs = Record[3]; in parseEntireSummary() local6190 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary()6191 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary()6271 unsigned NumRefs = Record[4]; in parseEntireSummary() local6278 int CallGraphEdgeStartIndex = RefListStartIndex + NumRefs; in parseEntireSummary()6279 assert(Record.size() >= RefListStartIndex + NumRefs && in parseEntireSummary()
3178 unsigned NumRefs = NewMI.memoperands_end() - NewMI.memoperands_begin(); in updateMemOperands() local3179 if (NumRefs == 0) in updateMemOperands()3181 MachineInstr::mmo_iterator NewMemRefs = MF.allocateMemRefsArray(NumRefs); in updateMemOperands()3199 NewMI.setMemRefs(NewMemRefs, NewMemRefs + NumRefs); in updateMemOperands()