Lines Matching refs:BeginOffset
141 uint64_t BeginOffset; member in __anoncb5bdc8a0211::Slice
151 Slice() : BeginOffset(), EndOffset() {} in Slice()
152 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
153 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
156 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
274 uint64_t BeginOffset, EndOffset; member in __anoncb5bdc8a0311::AllocaSlices::Partition
290 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
301 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
302 return EndOffset - BeginOffset; in size()
424 P.BeginOffset = P.EndOffset; in advance()
434 P.BeginOffset = P.EndOffset; in advance()
445 P.BeginOffset = P.SplitTails.empty() ? P.SI->beginOffset() : P.EndOffset; in advance()
454 assert(P.BeginOffset == P.SI->beginOffset()); in advance()
663 uint64_t BeginOffset = Offset.getZExtValue(); in insertUse() local
664 uint64_t EndOffset = BeginOffset + Size; in insertUse()
672 assert(AllocSize >= BeginOffset); // Established above. in insertUse()
673 if (Size > AllocSize - BeginOffset) { in insertUse()
681 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
1938 uint64_t BeginOffset = in isVectorPromotionViableForSlice() local
1940 uint64_t BeginIndex = BeginOffset / ElementSize; in isVectorPromotionViableForSlice()
1941 if (BeginIndex * ElementSize != BeginOffset || in isVectorPromotionViableForSlice()
2399 uint64_t BeginOffset, EndOffset; member in __anoncb5bdc8a0e11::AllocaSliceRewriter
2438 BeginOffset(), EndOffset(), IsSplittable(), IsSplit(), OldUse(), in AllocaSliceRewriter()
2451 BeginOffset = I->beginOffset(); in visit()
2455 BeginOffset < NewAllocaBeginOffset || EndOffset > NewAllocaEndOffset; in visit()
2461 assert(BeginOffset < NewAllocaEndOffset); in visit()
2463 NewBeginOffset = std::max(BeginOffset, NewAllocaBeginOffset); in visit()
2474 IRB.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) + "."); in visit()
2495 assert(IsSplit || BeginOffset == NewBeginOffset); in getNewAllocaSlicePtr()
2623 V = insertInteger(DL, IRB, Placeholder, V, NewBeginOffset - BeginOffset, in visitLoadInst()
2670 assert(BeginOffset >= NewAllocaBeginOffset && "Out of bounds offset"); in rewriteIntegerStore()
2671 uint64_t Offset = BeginOffset - NewAllocaBeginOffset; in rewriteIntegerStore()
2703 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
2774 assert(NewBeginOffset == BeginOffset); in visitMemSetInst()
2792 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemSetInst()
2841 if (IntTy && (BeginOffset != NewAllocaBeginOffset || in visitMemSetInst()
2918 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemTransferInst()
2927 assert(NewBeginOffset == BeginOffset); in visitMemTransferInst()
2953 APInt OtherOffset(IntPtrWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()
3069 assert(BeginOffset >= NewAllocaBeginOffset && "PHIs are unsplittable"); in visitPHINode()
3101 assert(BeginOffset >= NewAllocaBeginOffset && "Selects are unsplittable"); in visitSelectInst()