Lines Matching defs:What
1650 void MemorySSA::insertIntoListsBefore(MemoryAccess *What, const BasicBlock *BB,
1654 Accesses->insert(AccessList::iterator(InsertPt), What);
1655 if (!isa<MemoryUse>(What)) {
1662 Defs->push_back(*What);
1664 Defs->insert(InsertPt->getDefsIterator(), *What);
1670 Defs->push_back(*What);
1672 Defs->insert(InsertPt->getDefsIterator(), *What);
1678 void MemorySSA::prepareForMoveTo(MemoryAccess *What, BasicBlock *BB) {
1680 removeFromLists(What, false);
1685 if (auto *MD = dyn_cast<MemoryDef>(What))
1687 What->setBlock(BB);
1690 // Move What before Where in the IR. The end result is that What will belong to
1694 void MemorySSA::moveTo(MemoryUseOrDef *What, BasicBlock *BB,
1696 prepareForMoveTo(What, BB);
1697 insertIntoListsBefore(What, BB, Where);
1700 void MemorySSA::moveTo(MemoryAccess *What, BasicBlock *BB,
1702 if (isa<MemoryPhi>(What)) {
1706 ValueToMemoryAccess.erase(What->getBlock());
1707 bool Inserted = ValueToMemoryAccess.insert({BB, What}).second;
1712 prepareForMoveTo(What, BB);
1713 insertIntoListsForBlock(What, BB, Point);