Home
last modified time | relevance | path

Searched refs:SrcSize (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGCall.cpp675 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/
DInstCombineCasts.cpp815 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()
DInstCombineShifts.cpp378 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local
380 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
DInstructionCombining.cpp1280 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/
DInstructions.cpp2256 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/
DLegalizeDAG.cpp1731 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/
DAArch64ISelLowering.cpp1412 unsigned SrcSize = VA.getValVT().getSizeInBits(); in LowerCall() local
1415 switch (SrcSize) { in LowerCall()