Lines Matching refs:DestAlloca
740 if (auto *DestAlloca = dyn_cast<AllocaInst>(SI->getPointerOperand())) { in processStoreOfLoad() local
742 if (performStackMoveOptzn(LI, SI, DestAlloca, SrcAlloca, in processStoreOfLoad()
1435 AllocaInst *DestAlloca, in performStackMoveOptzn() argument
1442 if (SrcAlloca->getAddressSpace() != DestAlloca->getAddressSpace()) { in performStackMoveOptzn()
1448 const DataLayout &DL = DestAlloca->getModule()->getDataLayout(); in performStackMoveOptzn()
1454 std::optional<TypeSize> DestSize = DestAlloca->getAllocationSize(DL); in performStackMoveOptzn()
1460 if (!SrcAlloca->isStaticAlloca() || !DestAlloca->isStaticAlloca()) in performStackMoveOptzn()
1539 MemoryLocation DestLoc(DestAlloca, LocationSize::precise(Size)); in performStackMoveOptzn()
1576 if (!CaptureTrackingWithModRef(DestAlloca, DestModRefCallback)) in performStackMoveOptzn()
1612 std::max(SrcAlloca->getAlign(), DestAlloca->getAlign())); in performStackMoveOptzn()
1615 DestAlloca->replaceAllUsesWith(SrcAlloca); in performStackMoveOptzn()
1616 eraseInstruction(DestAlloca); in performStackMoveOptzn()
1767 auto *DestAlloca = dyn_cast<AllocaInst>(M->getDest()); in processMemCpy() local
1768 if (!DestAlloca) in processMemCpy()
1776 if (performStackMoveOptzn(M, M, DestAlloca, SrcAlloca, in processMemCpy()