Lines Matching refs:cpyDest
803 bool MemCpyOptPass::performCallSlotOptzn(Instruction *cpy, Value *cpyDest, in performCallSlotOptzn() argument
848 if (AllocaInst *A = dyn_cast<AllocaInst>(cpyDest)) { in performCallSlotOptzn()
859 } else if (Argument *A = dyn_cast<Argument>(cpyDest)) { in performCallSlotOptzn()
893 if (!isDestSufficientlyAligned && !isa<AllocaInst>(cpyDest)) in performCallSlotOptzn()
935 if (Instruction *cpyDestInst = dyn_cast<Instruction>(cpyDest)) in performCallSlotOptzn()
944 ModRefInfo MR = AA.getModRefInfo(C, cpyDest, LocationSize::precise(srcSize)); in performCallSlotOptzn()
947 MR = AA.callCapturesBefore(C, cpyDest, LocationSize::precise(srcSize), &DT); in performCallSlotOptzn()
954 cpyDest->getType()->getPointerAddressSpace()) in performCallSlotOptzn()
966 Value *Dest = cpySrc->getType() == cpyDest->getType() ? cpyDest in performCallSlotOptzn()
967 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
968 cpyDest->getName(), C); in performCallSlotOptzn()
982 assert(isa<AllocaInst>(cpyDest) && "Can only increase alloca alignment!"); in performCallSlotOptzn()
983 cast<AllocaInst>(cpyDest)->setAlignment(srcAlign); in performCallSlotOptzn()