Searched refs:SrcSize (Results 1 - 12 of 12) sorted by relevance
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 973 Value *SrcSize = MemCpy->getLength(); local 977 // If Dest is aligned, and SrcSize is constant, use the minimum alignment 982 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize)) 988 if (DestSize->getType() != SrcSize->getType()) { 990 SrcSize->getType()->getIntegerBitWidth()) 991 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); 993 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); 997 Builder.CreateSelect(Builder.CreateICmpULE(DestSize, SrcSize), 999 Builder.CreateSub(DestSize, SrcSize)); [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 476 uint64_t SrcSize = local 484 LinkFromSrc = SrcSize > DstSize; 486 if (SrcSize != DstSize) 602 uint64_t SrcSize = DL.getTypeAllocSize(Src.getType()->getElementType()); local 603 LinkFromSrc = SrcSize > DestSize;
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 132 unsigned SrcSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); local 133 if (SrcSize > DstSize) 148 if (SrcSize == DstSize)
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 939 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType()); local 942 if (SrcSize > DstSize) { 943 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); 947 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); 984 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); local 995 if (SrcSize >= DstSize) { 996 // Generally SrcSize is never greater than DstSize, since this means we are 1011 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize), 1056 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); local 1059 Dst = EnterStructPointerForCoercedAccess(Dst, DstSTy, SrcSize, CG [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.cpp | 1241 unsigned SrcSize = SrcVT.getSizeInBits(); local 1244 if (SrcSize > DestSize) { 1245 assert(SrcSize == 64 && DestSize == 32); 1254 if (DestSize > SrcSize) { 1255 assert(SrcSize == 32 && DestSize == 64); 1275 assert(SrcSize == 64 && DestSize == 64);
|
H A D | AMDGPUISelLowering.cpp | 537 unsigned SrcSize = Src->getScalarSizeInBits(); local 540 return SrcSize == 32 && DestSize == 64;
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 892 unsigned SrcSize = A->getType()->getScalarSizeInBits(); local 896 // SrcSize < DstSize: zext(a & mask) 897 // SrcSize == DstSize: a & mask 898 // SrcSize > DstSize: trunc(a) & mask 899 if (SrcSize < DstSize) { 900 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); 906 if (SrcSize == DstSize) { 907 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); 911 if (SrcSize > DstSize) {
|
H A D | InstCombineShifts.cpp | 388 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); local 390 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize));
|
H A D | InstructionCombining.cpp | 1716 uint64_t SrcSize = DL.getTypeAllocSize(SrcElTy); local 1717 if (ResSize && SrcSize % ResSize == 0) { 1720 uint64_t Scale = SrcSize / ResSize;
|
/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | Instructions.cpp | 2477 unsigned SrcSize = SrcTy->getScalarSizeInBits(); 2479 if (SrcSize == DstSize) 2481 else if (SrcSize < DstSize) 2495 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize 2499 unsigned SrcSize = SrcTy->getScalarSizeInBits(); 2501 if (SrcSize <= PtrSize && SrcSize == DstSize)
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 1961 unsigned SrcSize = SrcOp.getValueType().getSizeInBits(); 1971 if (SrcSize > SlotSize) 1975 assert(SrcSize == SlotSize && "Invalid store");
|
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | [all...] |
Completed in 481 milliseconds