Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:SrcSize

679       uint64_t SrcSize = DL.getTypeAllocSizeInBits(Val->getType());
681 if (SrcSize > DstSize) {
682 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits");
686 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits");
724 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
735 if (SrcSize >= DstSize) {
736 // Generally SrcSize is never greater than DstSize, since this means we are
758 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize),
805 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
808 DstPtr = EnterStructPointerForCoercedAccess(DstPtr, DstSTy, SrcSize, CGF);
824 if (SrcSize <= DstSize) {
833 // Generally SrcSize is never greater than DstSize, since this means we are
1382 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
1387 if (SrcSize <= DstSize) {
2419 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
2426 if (SrcSize < DstSize) {
2429 Builder.CreateMemCpy(TempAlloca, SrcPtr, SrcSize, 0);