Lines Matching defs:insert
223 /// \brief Insert new slices for this alloca.
228 void insert(ArrayRef<Slice> NewSlices) {
629 if (VisitedDeadInsts.insert(&I).second)
834 MemTransferSliceMap.insert(std::make_pair(&II, AS.Slices.size()));
851 // Insert the use now that we've fixed up the splittable nature.
885 Visited.insert(Root);
916 if (Visited.insert(cast<Instruction>(U)).second)
1498 Visited.insert(Ptr);
1522 if (!Visited.insert(Ptr).second)
1562 } while (Visited.insert(Ptr).second);
2040 "Cannot insert a larger integer!");
2060 V = IRB.CreateOr(Old, V, Name + ".insert");
2095 assert(VecTy && "Can only insert a vector into a vector");
2099 // Single element to insert.
2101 Name + ".insert");
2102 DEBUG(dbgs() << " insert: " << *V << "\n");
2335 Pass.DeadInsts.insert(I);
2348 assert(IntTy && "We cannot insert an integer to the alloca");
2437 "insert");
2445 Pass.DeadInsts.insert(&LI);
2469 Pass.DeadInsts.insert(&SI);
2485 V = insertInteger(DL, IRB, Old, SI.getValueOperand(), Offset, "insert");
2489 Pass.DeadInsts.insert(&SI);
2506 Pass.PostPromotionWorklist.insert(AI);
2554 Pass.DeadInsts.insert(&SI);
2613 Pass.DeadInsts.insert(&II);
2644 // If this is a memset of a vectorized alloca, insert it.
2663 // If this is a memset on an alloca where we can widen stores, insert the
2676 V = insertInteger(DL, IRB, Old, V, Offset, "insert");
2765 Pass.DeadInsts.insert(&II);
2774 Pass.Worklist.insert(AI);
2861 Src = insertInteger(DL, IRB, Old, Src, Offset, "insert");
2879 Pass.DeadInsts.insert(&II);
2922 PHIUsers.insert(&PN);
2946 SelectUsers.insert(&SI);
2990 if (Visited.insert(U.getUser()).second)
3002 /// The indices which to be used with insert- or extractvalue to select the
3077 // Load the single value and insert it using the indices.
3081 Agg = IRB.CreateInsertValue(Agg, Load, Indices, Name + ".insert");
3377 UnsplittableLoads.insert(LI);
3380 UnsplittableLoads.insert(LI);
3402 UnsplittableLoads.insert(LI);
3492 UnsplittableLoads.insert(LI);
3634 ResplitPromotableAllocas.insert(OtherAI);
3635 Worklist.insert(OtherAI);
3638 Worklist.insert(OtherAI);
3642 DeadInsts.insert(SI);
3647 SplitLoadsMap.insert(std::make_pair(LI, std::move(SplitLoads)));
3650 DeadInsts.insert(LI);
3746 ResplitPromotableAllocas.insert(OtherAI);
3747 Worklist.insert(OtherAI);
3751 Worklist.insert(OtherAI);
3766 DeadInsts.insert(LI);
3768 DeadInsts.insert(SI);
3777 // Insert our new slices. This will sort and merge them into the sorted
3779 AS.insert(NewSlices);
3927 SpeculatablePHIs.insert(PHIUser);
3929 SpeculatableSelects.insert(SelectUser);
3930 Worklist.insert(NewAI);
3945 Worklist.insert(NewAI);
4070 DeadInsts.insert(OldI);
4118 DeadInsts.insert(DeadUser);
4165 DeadInsts.insert(U);
4169 DeletedAllocas.insert(AI);
4207 Worklist.insert(AI);