Lines Matching defs:SrcSize
1286 Value *SrcSize = MemCpy->getLength();
1287 if (!isKnownNonZero(SrcSize,
1313 if (DestSize == SrcSize) {
1320 // If Dest is aligned, and SrcSize is constant, use the minimum alignment
1325 if (auto *SrcSizeC = dyn_cast<ConstantInt>(SrcSize))
1340 if (DestSize->getType() != SrcSize->getType()) {
1342 SrcSize->getType()->getIntegerBitWidth())
1343 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType());
1345 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType());
1348 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize);
1349 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize);
1353 Builder.CreateMemSet(Builder.CreatePtrAdd(Dest, SrcSize),
1499 std::optional<TypeSize> SrcSize = SrcAlloca->getAllocationSize(DL);
1500 if (!SrcSize || Size != *SrcSize) {