Lines Matching defs:SrcTy

235   Type *SrcTy = CI->getOperand(0)->getType();   // A from above
242 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy,
249 (!TD || SrcTy != TD->getIntPtrType(CI->getContext()))) ||
437 Type *DestTy = CI.getType(), *SrcTy = Src->getType();
443 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
754 Type *SrcTy = Src->getType(), *DestTy = CI.getType();
761 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
763 assert(BitsToClear < SrcTy->getScalarSizeInBits() &&
772 uint32_t SrcBitsKept = SrcTy->getScalarSizeInBits()-BitsToClear;
1055 Type *SrcTy = Src->getType(), *DestTy = CI.getType();
1061 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
1069 uint32_t SrcBitSize = SrcTy->getScalarSizeInBits();
1087 uint32_t SrcBitSize = SrcTy->getScalarSizeInBits();
1187 Type *SrcTy = OpI->getType();
1190 if (LHSTrunc->getType() != SrcTy &&
1191 RHSTrunc->getType() != SrcTy) {
1397 VectorType *SrcTy = cast<VectorType>(InVal->getType());
1399 if (SrcTy->getElementType() != DestTy->getElementType()) {
1404 if (SrcTy->getElementType()->getPrimitiveSizeInBits() !=
1408 SrcTy = VectorType::get(DestTy->getElementType(), SrcTy->getNumElements());
1409 InVal = IC.Builder->CreateBitCast(InVal, SrcTy);
1418 if (SrcTy->getNumElements() > DestTy->getNumElements()) {
1421 V2 = UndefValue::get(SrcTy);
1429 V2 = Constant::getNullValue(SrcTy);
1430 unsigned SrcElts = SrcTy->getNumElements();
1642 Type *SrcTy = Src->getType();
1651 PointerType *SrcPTy = cast<PointerType>(SrcTy);
1689 if ((DestTy->isFloatTy() || DestTy->isDoubleTy()) && isa<IntegerType>(SrcTy))
1694 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) {
1701 if (isa<IntegerType>(SrcTy)) {
1722 if (VectorType *SrcVTy = dyn_cast<VectorType>(SrcTy)) {
1756 if (SrcTy->isPointerTy())