Lines Matching refs:Slices
211 iterator begin() { return Slices.begin(); } in begin()
212 iterator end() { return Slices.end(); } in end()
216 const_iterator begin() const { return Slices.begin(); } in begin()
217 const_iterator end() const { return Slices.end(); } in end()
221 void erase(iterator Start, iterator Stop) { Slices.erase(Start, Stop); } in erase()
229 int OldSize = Slices.size(); in insert()
230 Slices.append(NewSlices.begin(), NewSlices.end()); in insert()
231 auto SliceI = Slices.begin() + OldSize; in insert()
232 std::sort(SliceI, Slices.end()); in insert()
233 std::inplace_merge(Slices.begin(), SliceI, Slices.end()); in insert()
287 SmallVector<Slice, 8> Slices; member in llvm::sroa::AllocaSlices
664 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
812 AS.Slices[MTPI->second].kill(); in visitMemTransferInst()
834 MemTransferSliceMap.insert(std::make_pair(&II, AS.Slices.size())); in visitMemTransferInst()
837 Slice &PrevP = AS.Slices[PrevIdx]; in visitMemTransferInst()
855 assert(AS.Slices[PrevIdx].getUse()->getUser() == &II && in visitMemTransferInst()
999 Slices.erase(std::remove_if(Slices.begin(), Slices.end(), in AllocaSlices()
1003 Slices.end()); in AllocaSlices()
1008 std::shuffle(Slices.begin(), Slices.end(), MT); in AllocaSlices()
1014 std::sort(Slices.begin(), Slices.end()); in AllocaSlices()