Lines Matching refs:BeginOffset
522 uint64_t BeginOffset = 0; member in __anondf5662880411::Slice
534 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
535 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
538 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
732 uint64_t BeginOffset = 0, EndOffset = 0; member in __anondf5662880411::Partition
748 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
759 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
760 return EndOffset - BeginOffset; in size()
881 P.BeginOffset = P.EndOffset; in advance()
891 P.BeginOffset = P.EndOffset; in advance()
902 P.BeginOffset = P.SplitTails.empty() ? P.SI->beginOffset() : P.EndOffset; in advance()
911 assert(P.BeginOffset == P.SI->beginOffset()); in advance()
1054 uint64_t BeginOffset = Offset.getZExtValue(); in insertUse() local
1055 uint64_t EndOffset = BeginOffset + Size; in insertUse()
1063 assert(AllocSize >= BeginOffset); // Established above. in insertUse()
1064 if (Size > AllocSize - BeginOffset) { in insertUse()
1073 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
2027 uint64_t BeginOffset = in isVectorPromotionViableForSlice() local
2029 uint64_t BeginIndex = BeginOffset / ElementSize; in isVectorPromotionViableForSlice()
2030 if (BeginIndex * ElementSize != BeginOffset || in isVectorPromotionViableForSlice()
2641 uint64_t BeginOffset = 0; member in __anondf5662880d11::AllocaSliceRewriter
2706 BeginOffset = I->beginOffset(); in visit()
2710 BeginOffset < NewAllocaBeginOffset || EndOffset > NewAllocaEndOffset; in visit()
2716 assert(BeginOffset < NewAllocaEndOffset); in visit()
2718 NewBeginOffset = std::max(BeginOffset, NewAllocaBeginOffset); in visit()
2722 LLVM_DEBUG(dbgs() << " Begin:(" << BeginOffset << ", " << EndOffset in visit()
2727 assert(IsSplit || NewBeginOffset == BeginOffset); in visit()
2735 Twine(BeginOffset) + "."); in visit()
2756 assert(IsSplit || BeginOffset == NewBeginOffset); in getNewAllocaSlicePtr()
2895 NewBeginOffset - BeginOffset, NewLI->getType(), DL)); in visitLoadInst()
2919 NewBeginOffset - BeginOffset, NewLI->getType(), DL)); in visitLoadInst()
2953 V = insertInteger(DL, IRB, Placeholder, V, NewBeginOffset - BeginOffset, in visitLoadInst()
2995 Store->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in rewriteVectorizedStoreInst()
3014 assert(BeginOffset >= NewAllocaBeginOffset && "Out of bounds offset"); in rewriteIntegerStore()
3015 uint64_t Offset = BeginOffset - NewAllocaBeginOffset; in rewriteIntegerStore()
3023 Store->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in rewriteIntegerStore()
3056 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
3084 NewSI->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in visitStoreInst()
3147 assert(NewBeginOffset == BeginOffset); in visitMemSetInst()
3169 if (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset) in visitMemSetInst()
3193 AATags.adjustForAccess(NewBeginOffset - BeginOffset, Sz)); in visitMemSetInst()
3237 if (IntTy && (BeginOffset != NewAllocaBeginOffset || in visitMemSetInst()
3269 New->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in visitMemSetInst()
3331 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemTransferInst()
3342 assert(NewBeginOffset == BeginOffset); in visitMemTransferInst()
3368 APInt OtherOffset(OffsetWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()
3401 New->setAAMetadata(AATags.shift(NewBeginOffset - BeginOffset)); in visitMemTransferInst()
3475 Load->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in visitMemTransferInst()
3498 Store->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in visitMemTransferInst()
3598 assert(BeginOffset >= NewAllocaBeginOffset && "PHIs are unsplittable"); in visitPHINode()
3634 assert(BeginOffset >= NewAllocaBeginOffset && "Selects are unsplittable"); in visitSelectInst()