Lines Matching refs:SrcSize
1218 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType()); in CoerceIntOrPtrToIntOrPtr() local
1221 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr()
1222 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
1226 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
1264 llvm::TypeSize SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedLoad() local
1275 if (!SrcSize.isScalable() && !DstSize.isScalable() && in CreateCoercedLoad()
1276 SrcSize.getFixedSize() >= DstSize.getFixedSize()) { in CreateCoercedLoad()
1322 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize.getKnownMinSize())); in CreateCoercedLoad()
1361 llvm::TypeSize SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedStore() local
1365 SrcSize.getFixedSize(), CGF); in CreateCoercedStore()
1392 SrcSize.getFixedSize() <= DstSize.getFixedSize()) { in CreateCoercedStore()
2973 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy); in EmitFunctionProlog() local
2978 if (SrcSize <= DstSize) { in EmitFunctionProlog()
2993 if (SrcSize > DstSize) { in EmitFunctionProlog()
5038 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy); in EmitCall() local
5045 if (SrcSize < DstSize) { in EmitCall()
5049 Builder.CreateMemCpy(TempAlloca, Src, SrcSize); in EmitCall()