Lines Matching refs:cpyDest
764 bool MemCpyOptPass::performCallSlotOptzn(Instruction *cpy, Value *cpyDest, in performCallSlotOptzn() argument
809 if (AllocaInst *A = dyn_cast<AllocaInst>(cpyDest)) { in performCallSlotOptzn()
820 } else if (Argument *A = dyn_cast<Argument>(cpyDest)) { in performCallSlotOptzn()
854 if (!isDestSufficientlyAligned && !isa<AllocaInst>(cpyDest)) in performCallSlotOptzn()
897 if (Instruction *cpyDestInst = dyn_cast<Instruction>(cpyDest)) in performCallSlotOptzn()
906 ModRefInfo MR = AA.getModRefInfo(C, cpyDest, srcSize); in performCallSlotOptzn()
909 MR = AA.callCapturesBefore(C, cpyDest, srcSize, &DT); in performCallSlotOptzn()
917 Value *Dest = cpySrc->getType() == cpyDest->getType() ? cpyDest in performCallSlotOptzn()
918 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
919 cpyDest->getName(), C); in performCallSlotOptzn()
933 assert(isa<AllocaInst>(cpyDest) && "Can only increase alloca alignment!"); in performCallSlotOptzn()
934 cast<AllocaInst>(cpyDest)->setAlignment(srcAlign); in performCallSlotOptzn()