Lines Matching refs:EndOffset

125   uint64_t EndOffset;  member in __anonadce12ea0211::Slice
132 Slice() : BeginOffset(), EndOffset() {} in Slice()
133 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
134 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
138 uint64_t endOffset() const { return EndOffset; } in endOffset()
326 uint64_t BeginOffset, EndOffset; member in llvm::sroa::Partition
347 uint64_t endOffset() const { return EndOffset; } in endOffset()
353 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
354 return EndOffset - BeginOffset; in size()
426 if (P.EndOffset >= MaxSplitSliceEndOffset) { in advance()
437 [&](Slice *S) { return S->endOffset() <= P.EndOffset; }), in advance()
465 if (S.isSplittable() && S.endOffset() > P.EndOffset) { in advance()
476 P.BeginOffset = P.EndOffset; in advance()
477 P.EndOffset = MaxSplitSliceEndOffset; in advance()
484 if (!P.SplitTails.empty() && P.SI->beginOffset() != P.EndOffset && in advance()
486 P.BeginOffset = P.EndOffset; in advance()
487 P.EndOffset = P.SI->beginOffset(); in advance()
497 P.BeginOffset = P.SplitTails.empty() ? P.SI->beginOffset() : P.EndOffset; in advance()
498 P.EndOffset = P.SI->endOffset(); in advance()
510 while (P.SJ != SE && P.SJ->beginOffset() < P.EndOffset) { in advance()
512 P.EndOffset = std::max(P.EndOffset, P.SJ->endOffset()); in advance()
527 while (P.SJ != SE && P.SJ->beginOffset() < P.EndOffset && in advance()
529 P.EndOffset = std::max(P.EndOffset, P.SJ->endOffset()); in advance()
536 if (P.SJ != SE && P.SJ->beginOffset() < P.EndOffset) { in advance()
538 P.EndOffset = P.SJ->beginOffset(); in advance()
647 uint64_t EndOffset = BeginOffset + Size; in insertUse() local
661 EndOffset = AllocSize; in insertUse()
664 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
1062 uint64_t EndOffset) { in findCommonType() argument
1073 if (I->beginOffset() != B->beginOffset() || I->endOffset() != EndOffset) in findCommonType()
1089 UserITy->getBitWidth() / 8 > (EndOffset - B->beginOffset())) in findCommonType()
1719 uint64_t EndOffset = in isVectorPromotionViableForSlice() local
1721 uint64_t EndIndex = EndOffset / ElementSize; in isVectorPromotionViableForSlice()
1722 if (EndIndex * ElementSize != EndOffset || EndIndex > Ty->getNumElements()) in isVectorPromotionViableForSlice()
2179 uint64_t BeginOffset, EndOffset; member in llvm::sroa::AllocaSliceRewriter
2218 BeginOffset(), EndOffset(), IsSplittable(), IsSplit(), OldUse(), in AllocaSliceRewriter()
2232 EndOffset = I->endOffset(); in visit()
2235 BeginOffset < NewAllocaBeginOffset || EndOffset > NewAllocaEndOffset; in visit()
2242 assert(EndOffset > NewAllocaBeginOffset); in visit()
2244 NewEndOffset = std::min(EndOffset, NewAllocaEndOffset); in visit()
2621 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemSetInst()
2671 EndOffset != NewAllocaBeginOffset)) { in visitMemSetInst()
2747 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemTransferInst()
2759 if (NewEndOffset != EndOffset) in visitMemTransferInst()
2899 assert(EndOffset <= NewAllocaEndOffset && "PHIs are unsplittable"); in visitPHINode()
2931 assert(EndOffset <= NewAllocaEndOffset && "Selects are unsplittable"); in visitSelectInst()
3254 uint64_t EndOffset = Offset + Size; in getTypePartition() local
3255 if (EndOffset > SL->getSizeInBytes()) in getTypePartition()
3279 if (EndOffset < SL->getSizeInBytes()) { in getTypePartition()
3280 unsigned EndIndex = SL->getElementContainingOffset(EndOffset); in getTypePartition()
3288 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()