Lines Matching refs:Offsets
87 llvm::SmallVector<CharUnits, 32> Offsets; member in __anon11b4a6e70111::ConstantAggregateBuilder
103 ArrayRef<CharUnits> Offsets,
132 return buildFrom(CGM, Elems, Offsets, CharUnits::Zero(), Size, in build()
154 Offsets.push_back(Size); in add()
157 Offsets.push_back(Offset); in add()
176 replace(Offsets, *FirstElemToReplace, *LastElemToReplace, {Offset}); in add()
291 return Offsets.size(); in splitAt()
294 auto FirstAfterPos = llvm::upper_bound(Offsets, Pos); in splitAt()
295 if (FirstAfterPos == Offsets.begin()) in splitAt()
299 size_t LastAtOrBeforePosIndex = FirstAfterPos - Offsets.begin() - 1; in splitAt()
300 if (Offsets[LastAtOrBeforePosIndex] == Pos) in splitAt()
304 if (Offsets[LastAtOrBeforePosIndex] + in splitAt()
320 CharUnits Offset = Offsets[Index]; in split()
335 Offsets, Index, Index + 1, in split()
343 replace(Offsets, Index, Index + 1, in split()
363 replace(Offsets, Index, Index + 1, in split()
376 replace(Offsets, Index, Index + 1, {Offset, Hint}); in split()
383 replace(Offsets, Index, Index + 1, {}); in split()
402 ArrayRef<CharUnits> Offsets, CharUnits StartOffset, CharUnits Size, in buildFrom() argument
409 auto Offset = [&](size_t I) { return Offsets[I] - StartOffset; }; in buildFrom()
536 if (Length == 1 && Offsets[First] == Offset && in condense()
549 ArrayRef(Offsets).slice(First, Length), Offset, getSize(DesiredTy), in condense()
552 replace(Offsets, First, Last, {Offset}); in condense()