Lines Matching refs:SrcSize
679 uint64_t SrcSize = DL.getTypeAllocSizeInBits(Val->getType()); in CoerceIntOrPtrToIntOrPtr() local
681 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr()
682 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
686 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
724 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedLoad() local
735 if (SrcSize >= DstSize) { in CreateCoercedLoad()
758 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize), in CreateCoercedLoad()
805 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedStore() local
808 DstPtr = EnterStructPointerForCoercedAccess(DstPtr, DstSTy, SrcSize, CGF); in CreateCoercedStore()
824 if (SrcSize <= DstSize) { in CreateCoercedStore()
1382 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy); in EmitFunctionProlog() local
1387 if (SrcSize <= DstSize) { in EmitFunctionProlog()
2419 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy); in EmitCall() local
2426 if (SrcSize < DstSize) { in EmitCall()
2429 Builder.CreateMemCpy(TempAlloca, SrcPtr, SrcSize, 0); in EmitCall()