Lines Matching defs:SrcSize
675 uint64_t SrcSize = DL.getTypeAllocSizeInBits(Val->getType());
677 if (SrcSize > DstSize) {
678 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits");
682 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits");
720 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
731 if (SrcSize >= DstSize) {
732 // Generally SrcSize is never greater than DstSize, since this means we are
754 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize),
801 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
804 DstPtr = EnterStructPointerForCoercedAccess(DstPtr, DstSTy, SrcSize, CGF);
820 if (SrcSize <= DstSize) {
829 // Generally SrcSize is never greater than DstSize, since this means we are
1373 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
1378 if (SrcSize <= DstSize) {
2413 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
2420 if (SrcSize < DstSize) {
2423 Builder.CreateMemCpy(TempAlloca, SrcPtr, SrcSize, 0);