Lines Matching refs:EndOffset

119   uint64_t EndOffset;
121 ByteRange() : BeginOffset(), EndOffset() {}
122 ByteRange(uint64_t BeginOffset, uint64_t EndOffset)
123 : BeginOffset(BeginOffset), EndOffset(EndOffset) {}
134 if (EndOffset > RHS.EndOffset) return true;
149 return BeginOffset == RHS.BeginOffset && EndOffset == RHS.EndOffset;
170 assert(EndOffset == UINT64_MAX);
181 BeginOffset = EndOffset = UINT64_MAX;
185 Partition(uint64_t BeginOffset, uint64_t EndOffset, bool IsSplittable)
186 : ByteRange(BeginOffset, EndOffset), IsSplittable(IsSplittable) {}
203 PartitionUse(uint64_t BeginOffset, uint64_t EndOffset, Use *U,
205 : ByteRange(BeginOffset, EndOffset), UsePtrAndIsSplit(U, IsSplit) {}
514 uint64_t EndOffset = BeginOffset + Size;
528 EndOffset = AllocSize;
531 Partition New(BeginOffset, EndOffset, IsSplittable);
852 uint64_t EndOffset = BeginOffset + Size;
858 EndOffset = AllocSize;
862 if (I != P.begin() && llvm::prior(I)->EndOffset > BeginOffset)
865 bool IsSplit = llvm::next(I) != E && llvm::next(I)->BeginOffset < EndOffset;
866 for (; I != E && I->BeginOffset < EndOffset; ++I) {
868 std::min(I->EndOffset, EndOffset), U, IsSplit);
1013 if (!Partitions[i].IsSplittable || New.BeginOffset == New.EndOffset) {
1014 assert(New.BeginOffset == New.EndOffset);
1018 New.EndOffset = std::max(New.EndOffset, Partitions[i].EndOffset);
1020 assert(New.BeginOffset != New.EndOffset);
1023 while (j != e && New.EndOffset > Partitions[j].BeginOffset) {
1034 New.EndOffset = std::max(New.EndOffset, Partitions[j].EndOffset);
1038 SplitEndOffset = std::max(SplitEndOffset, Partitions[j].EndOffset);
1050 SplitEndOffset = std::max(SplitEndOffset, New.EndOffset);
1051 New.EndOffset = std::min(New.EndOffset, Partitions[j].BeginOffset);
1059 if (New.BeginOffset != New.EndOffset)
1066 New.BeginOffset = New.EndOffset;
1068 New.EndOffset = std::max(New.EndOffset, SplitEndOffset);
1070 New.EndOffset = std::min(New.EndOffset, Partitions[j].BeginOffset);
1075 if (New.BeginOffset < New.EndOffset &&
1077 New.EndOffset < Partitions[j].BeginOffset)) {
1079 New.BeginOffset = New.EndOffset = 0ull;
1170 if (UI->BeginOffset != I->BeginOffset || UI->EndOffset != I->EndOffset)
1185 if (ITy->getBitWidth() > (I->EndOffset - I->BeginOffset)*8)
1207 << " [" << I->BeginOffset << "," << I->EndOffset << ")"
1218 OS << Indent << " [" << UI->BeginOffset << "," << UI->EndOffset << ") "
2066 uint64_t EndOffset = I->EndOffset - PartitionBeginOffset;
2067 uint64_t EndIndex = EndOffset / ElementSize;
2068 if (EndIndex * ElementSize != EndOffset ||
2149 uint64_t RelEnd = I->EndOffset - AllocBeginOffset;
2376 uint64_t BeginOffset, EndOffset;
2396 BeginOffset(), EndOffset(), IsSplit(), OldUse(), OldPtr(),
2422 EndOffset = I->EndOffset;
2510 unsigned EndIndex = getIndex(EndOffset);
2526 if (Offset > 0 || EndOffset < NewAllocaEndOffset)
2537 uint64_t Size = EndOffset - BeginOffset;
2595 unsigned EndIndex = getIndex(EndOffset);
2651 uint64_t Size = EndOffset - BeginOffset;
2672 EndOffset == NewAllocaEndOffset &&
2750 EndOffset != NewAllocaEndOffset ||
2755 Constant *Size = ConstantInt::get(SizeTy, EndOffset - BeginOffset);
2778 unsigned EndIndex = getIndex(EndOffset);
2797 uint64_t Size = EndOffset - BeginOffset;
2801 EndOffset != NewAllocaBeginOffset)) {
2816 assert(EndOffset == NewAllocaEndOffset);
2885 EndOffset != NewAllocaEndOffset ||
2899 if (EndOffset != OrigEnd)
2901 EndOffset - BeginOffset));
2926 Constant *Size = ConstantInt::get(SizeTy, EndOffset - BeginOffset);
2943 EndOffset == NewAllocaEndOffset;
2944 uint64_t Size = EndOffset - BeginOffset;
2946 unsigned EndIndex = VecTy ? getIndex(EndOffset) : 0;
3017 EndOffset - BeginOffset);
3373 uint64_t EndOffset = Offset + Size;
3374 if (EndOffset > SL->getSizeInBytes())
3398 if (EndOffset < SL->getSizeInBytes()) {
3399 unsigned EndIndex = SL->getElementContainingOffset(EndOffset);
3407 if (SL->getElementOffset(EndIndex) != EndOffset)
3437 uint64_t AllocaSize = PI->EndOffset - PI->BeginOffset;
3448 << "[" << PI->BeginOffset << "," << PI->EndOffset << ")\n");
3505 << "[" << PI->BeginOffset << "," << PI->EndOffset << ") to: "
3513 PI->BeginOffset, PI->EndOffset);