Lines Matching defs:DestAlloca
743 if (auto *DestAlloca = dyn_cast<AllocaInst>(SI->getPointerOperand())) {
745 if (performStackMoveOptzn(LI, SI, DestAlloca, SrcAlloca,
1504 AllocaInst *DestAlloca,
1511 if (SrcAlloca->getAddressSpace() != DestAlloca->getAddressSpace()) {
1517 const DataLayout &DL = DestAlloca->getDataLayout();
1523 std::optional<TypeSize> DestSize = DestAlloca->getAllocationSize(DL);
1529 if (!SrcAlloca->isStaticAlloca() || !DestAlloca->isStaticAlloca())
1608 MemoryLocation DestLoc(DestAlloca, LocationSize::precise(Size));
1645 if (!CaptureTrackingWithModRef(DestAlloca, DestModRefCallback))
1681 std::max(SrcAlloca->getAlign(), DestAlloca->getAlign()));
1684 DestAlloca->replaceAllUsesWith(SrcAlloca);
1685 eraseInstruction(DestAlloca);
1836 auto *DestAlloca = dyn_cast<AllocaInst>(M->getDest());
1837 if (!DestAlloca)
1845 if (performStackMoveOptzn(M, M, DestAlloca, SrcAlloca,