Searched refs:SrcSize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGCall.cpp | 675 uint64_t SrcSize = DL.getTypeAllocSizeInBits(Val->getType()); in CoerceIntOrPtrToIntOrPtr() local 677 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr() 678 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr() 682 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr() 720 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedLoad() local 731 if (SrcSize >= DstSize) { in CreateCoercedLoad() 754 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize), in CreateCoercedLoad() 801 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedStore() local 804 DstPtr = EnterStructPointerForCoercedAccess(DstPtr, DstSTy, SrcSize, CGF); in CreateCoercedStore() 820 if (SrcSize <= DstSize) { in CreateCoercedStore() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCasts.cpp | 815 unsigned SrcSize = A->getType()->getScalarSizeInBits(); in visitZExt() local 822 if (SrcSize < DstSize) { in visitZExt() 823 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 829 if (SrcSize == DstSize) { in visitZExt() 830 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 834 if (SrcSize > DstSize) { in visitZExt()
|
| D | InstCombineShifts.cpp | 378 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local 380 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
|
| D | InstructionCombining.cpp | 1280 uint64_t SrcSize = TD->getTypeAllocSize(SrcElTy); in visitGetElementPtrInst() local 1281 if (ResSize && SrcSize % ResSize == 0) { in visitGetElementPtrInst() 1284 uint64_t Scale = SrcSize / ResSize; in visitGetElementPtrInst()
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Instructions.cpp | 2256 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() local 2258 if (SrcSize == DstSize) in isEliminableCastPair() 2260 else if (SrcSize < DstSize) in isEliminableCastPair() 2278 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() local 2280 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | LegalizeDAG.cpp | 1731 unsigned SrcSize = SrcOp.getValueType().getSizeInBits(); in EmitStackConvert() local 1741 if (SrcSize > SlotSize) in EmitStackConvert() 1745 assert(SrcSize == SlotSize && "Invalid store"); in EmitStackConvert()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/AArch64/ |
| D | AArch64ISelLowering.cpp | 1412 unsigned SrcSize = VA.getValVT().getSizeInBits(); in LowerCall() local 1415 switch (SrcSize) { in LowerCall()
|