• Home
  • Raw
  • Download

Lines Matching refs:BeginOffset

122   uint64_t BeginOffset;  member in __anond316f5690211::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()
137 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
326 uint64_t BeginOffset, EndOffset; member in llvm::sroa::Partition
342 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
353 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
354 return EndOffset - BeginOffset; in size()
476 P.BeginOffset = P.EndOffset; in advance()
486 P.BeginOffset = P.EndOffset; in advance()
497 P.BeginOffset = P.SplitTails.empty() ? P.SI->beginOffset() : P.EndOffset; in advance()
506 assert(P.BeginOffset == P.SI->beginOffset()); in advance()
646 uint64_t BeginOffset = Offset.getZExtValue(); in insertUse() local
647 uint64_t EndOffset = BeginOffset + Size; in insertUse()
655 assert(AllocSize >= BeginOffset); // Established above. in insertUse()
656 if (Size > AllocSize - BeginOffset) { in insertUse()
664 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
1713 uint64_t BeginOffset = in isVectorPromotionViableForSlice() local
1715 uint64_t BeginIndex = BeginOffset / ElementSize; in isVectorPromotionViableForSlice()
1716 if (BeginIndex * ElementSize != BeginOffset || in isVectorPromotionViableForSlice()
2179 uint64_t BeginOffset, EndOffset; member in llvm::sroa::AllocaSliceRewriter
2218 BeginOffset(), EndOffset(), IsSplittable(), IsSplit(), OldUse(), in AllocaSliceRewriter()
2231 BeginOffset = I->beginOffset(); in visit()
2235 BeginOffset < NewAllocaBeginOffset || EndOffset > NewAllocaEndOffset; in visit()
2241 assert(BeginOffset < NewAllocaEndOffset); in visit()
2243 NewBeginOffset = std::max(BeginOffset, NewAllocaBeginOffset); in visit()
2254 IRB.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) + "."); in visit()
2275 assert(IsSplit || BeginOffset == NewBeginOffset); in getNewAllocaSlicePtr()
2436 V = insertInteger(DL, IRB, Placeholder, V, NewBeginOffset - BeginOffset, in visitLoadInst()
2483 assert(BeginOffset >= NewAllocaBeginOffset && "Out of bounds offset"); in rewriteIntegerStore()
2484 uint64_t Offset = BeginOffset - NewAllocaBeginOffset; in rewriteIntegerStore()
2516 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
2603 assert(NewBeginOffset == BeginOffset); in visitMemSetInst()
2621 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemSetInst()
2670 if (IntTy && (BeginOffset != NewAllocaBeginOffset || in visitMemSetInst()
2747 (BeginOffset > NewAllocaBeginOffset || EndOffset < NewAllocaEndOffset || in visitMemTransferInst()
2756 assert(NewBeginOffset == BeginOffset); in visitMemTransferInst()
2782 APInt OtherOffset(IntPtrWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()
2898 assert(BeginOffset >= NewAllocaBeginOffset && "PHIs are unsplittable"); in visitPHINode()
2930 assert(BeginOffset >= NewAllocaBeginOffset && "Selects are unsplittable"); in visitSelectInst()