Lines Matching refs:Offsets
85 llvm::SmallVector<CharUnits, 32> Offsets; member in __anon411c9adc0111::ConstantAggregateBuilder
101 ArrayRef<CharUnits> Offsets,
130 return buildFrom(CGM, Elems, Offsets, CharUnits::Zero(), Size, in build()
152 Offsets.push_back(Size); in add()
155 Offsets.push_back(Offset); in add()
174 replace(Offsets, *FirstElemToReplace, *LastElemToReplace, {Offset}); in add()
289 return Offsets.size(); in splitAt()
292 auto FirstAfterPos = llvm::upper_bound(Offsets, Pos); in splitAt()
293 if (FirstAfterPos == Offsets.begin()) in splitAt()
297 size_t LastAtOrBeforePosIndex = FirstAfterPos - Offsets.begin() - 1; in splitAt()
298 if (Offsets[LastAtOrBeforePosIndex] == Pos) in splitAt()
302 if (Offsets[LastAtOrBeforePosIndex] + in splitAt()
318 CharUnits Offset = Offsets[Index]; in split()
333 Offsets, Index, Index + 1, in split()
341 replace(Offsets, Index, Index + 1, in split()
361 replace(Offsets, Index, Index + 1, in split()
374 replace(Offsets, Index, Index + 1, {Offset, Hint}); in split()
381 replace(Offsets, Index, Index + 1, {}); in split()
400 ArrayRef<CharUnits> Offsets, CharUnits StartOffset, CharUnits Size, in buildFrom() argument
407 auto Offset = [&](size_t I) { return Offsets[I] - StartOffset; }; in buildFrom()
523 if (Length == 1 && Offsets[First] == Offset && in condense()
536 makeArrayRef(Offsets).slice(First, Length), Offset, getSize(DesiredTy), in condense()
539 replace(Offsets, First, Last, {Offset}); in condense()