Lines Matching refs:SrcSize
1232 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType()); in CoerceIntOrPtrToIntOrPtr() local
1235 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr()
1236 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
1240 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
1278 llvm::TypeSize SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedLoad() local
1289 if (!SrcSize.isScalable() && !DstSize.isScalable() && in CreateCoercedLoad()
1290 SrcSize.getFixedValue() >= DstSize.getFixedValue()) { in CreateCoercedLoad()
1334 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize.getKnownMinValue())); in CreateCoercedLoad()
1345 llvm::TypeSize SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedStore() local
1353 assert(!SrcSize.isScalable()); in CreateCoercedStore()
1355 SrcSize.getFixedValue(), *this); in CreateCoercedStore()
1359 if (SrcSize.isScalable() || SrcSize <= DstSize) { in CreateCoercedStore()
1361 SrcSize == CGM.getDataLayout().getTypeAllocSize(Dst.getElementType())) { in CreateCoercedStore()
3258 uint64_t SrcSize = StructSize.getFixedValue(); in EmitFunctionProlog() local
3262 if (SrcSize <= DstSize) { in EmitFunctionProlog()
3277 if (SrcSize > DstSize) { in EmitFunctionProlog()
5386 uint64_t SrcSize = SrcTypeSize.getFixedValue(); in EmitCall() local
5393 if (SrcSize < DstSize) { in EmitCall()
5396 Builder.CreateMemCpy(TempAlloca, Src, SrcSize); in EmitCall()