Lines Matching defs:SrcSize
1232 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType());
1235 if (SrcSize > DstSize) {
1236 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits");
1240 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits");
1278 llvm::TypeSize SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
1289 if (!SrcSize.isScalable() && !DstSize.isScalable() &&
1290 SrcSize.getFixedValue() >= DstSize.getFixedValue()) {
1291 // Generally SrcSize is never greater than DstSize, since this means we are
1334 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize.getKnownMinValue()));
1345 llvm::TypeSize SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
1353 assert(!SrcSize.isScalable());
1355 SrcSize.getFixedValue(), *this);
1359 if (SrcSize.isScalable() || SrcSize <= DstSize) {
1361 SrcSize == CGM.getDataLayout().getTypeAllocSize(Dst.getElementType())) {
1386 // Generally SrcSize is never greater than DstSize, since this means we are
3272 uint64_t SrcSize = StructSize.getFixedValue();
3276 if (SrcSize <= DstSize) {
3291 if (SrcSize > DstSize) {
5452 uint64_t SrcSize = SrcTypeSize.getFixedValue();
5459 if (SrcSize < DstSize) {
5462 Builder.CreateMemCpy(TempAlloca, Src, SrcSize);