Lines Matching refs:Slices
224 iterator begin() { return Slices.begin(); } in begin()
225 iterator end() { return Slices.end(); } in end()
229 const_iterator begin() const { return Slices.begin(); } in begin()
230 const_iterator end() const { return Slices.end(); } in end()
234 void erase(iterator Start, iterator Stop) { Slices.erase(Start, Stop); } in erase()
242 int OldSize = Slices.size(); in insert()
243 Slices.append(NewSlices.begin(), NewSlices.end()); in insert()
244 auto SliceI = Slices.begin() + OldSize; in insert()
245 std::sort(SliceI, Slices.end()); in insert()
246 std::inplace_merge(Slices.begin(), SliceI, Slices.end()); in insert()
300 SmallVector<Slice, 8> Slices; member in llvm::sroa::AllocaSlices
677 AS.Slices.push_back(Slice(BeginOffset, EndOffset, U, IsSplittable)); in insertUse()
825 AS.Slices[MTPI->second].kill(); in visitMemTransferInst()
847 MemTransferSliceMap.insert(std::make_pair(&II, AS.Slices.size())); in visitMemTransferInst()
850 Slice &PrevP = AS.Slices[PrevIdx]; in visitMemTransferInst()
868 assert(AS.Slices[PrevIdx].getUse()->getUser() == &II && in visitMemTransferInst()
1012 Slices.erase(std::remove_if(Slices.begin(), Slices.end(), in AllocaSlices()
1016 Slices.end()); in AllocaSlices()
1021 std::shuffle(Slices.begin(), Slices.end(), MT); in AllocaSlices()
1027 std::sort(Slices.begin(), Slices.end()); in AllocaSlices()