• Home
  • Raw
  • Download

Lines Matching refs:Slice

133 class Slice {  class
145 Slice() : BeginOffset(), EndOffset() {} in Slice() function in __anon64cff1af0211::Slice
146 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() function in __anon64cff1af0211::Slice
167 bool operator<(const Slice &RHS) const { in operator <()
180 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS, in operator <()
185 const Slice &RHS) { in operator <()
189 bool operator==(const Slice &RHS) const { in operator ==()
193 bool operator!=(const Slice &RHS) const { return !operator==(RHS); } in operator !=()
199 template <> struct isPodLike<Slice> { static const bool value = true; };
222 typedef SmallVectorImpl<Slice>::iterator iterator;
227 typedef SmallVectorImpl<Slice>::const_iterator const_iterator;
241 void insert(ArrayRef<Slice> NewSlices) { in insert()
300 SmallVector<Slice, 8> Slices;
345 SmallVector<Slice *, 4> SplitTails;
392 ArrayRef<Slice *> splitSliceTails() const { return SplitTails; } in splitSliceTails()
450 [&](Slice *S) { return S->endOffset() <= P.EndOffset; }), in advance()
453 [&](Slice *S) { in advance()
458 [&](Slice *S) { in advance()
477 for (Slice &S : P) in advance()
677 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
850 Slice &PrevP = AS.Slices[PrevIdx]; in visitMemTransferInst()
1013 [](const Slice &S) { in AllocaSlices()
1724 static bool isVectorPromotionViableForSlice(Partition &P, const Slice &S, in isVectorPromotionViableForSlice()
1816 for (const Slice &S : P) in isVectorPromotionViable()
1885 for (const Slice &S : P) in isVectorPromotionViable()
1889 for (const Slice *S : P.splitSliceTails()) in isVectorPromotionViable()
1906 static bool isIntegerWideningViableForSlice(const Slice &S, in isIntegerWideningViableForSlice()
2015 for (const Slice &S : P) in isIntegerWideningViable()
2020 for (const Slice *S : P.splitSliceTails()) in isIntegerWideningViable()
3361 Slice *S; in presplitLoadsAndStores()
3381 for (Slice &S : P) { in presplitLoadsAndStores()
3440 for (Slice *S : P.splitSliceTails()) { in presplitLoadsAndStores()
3533 SmallVector<Slice, 4> NewSlices; in presplitLoadsAndStores()
3587 Slice(BaseOffset + PartOffset, BaseOffset + PartOffset + PartSize, in presplitLoadsAndStores()
3725 Slice(BaseOffset + PartOffset, BaseOffset + PartOffset + PartSize, in presplitLoadsAndStores()
3780 AS.erase(std::remove_if(AS.begin(), AS.end(), [](const Slice &S) { in presplitLoadsAndStores()
3891 for (Slice *S : P.splitSliceTails()) { in rewritePartition()
3895 for (Slice &S : P) { in rewritePartition()
3972 for (Slice &S : AS) { in splitAlloca()