Lines Matching refs:SrcTy

864   Type *SrcTy = I.getOperand(0)->getType();
868 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
871 Assert1(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I);
873 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
882 Type *SrcTy = I.getOperand(0)->getType();
886 Assert1(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I);
888 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
890 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
900 Type *SrcTy = I.getOperand(0)->getType();
904 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
907 Assert1(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I);
909 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
918 Type *SrcTy = I.getOperand(0)->getType();
921 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
924 Assert1(SrcTy->isFPOrFPVectorTy(),"FPTrunc only operates on FP", &I);
926 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
935 Type *SrcTy = I.getOperand(0)->getType();
939 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
942 Assert1(SrcTy->isFPOrFPVectorTy(),"FPExt only operates on FP", &I);
944 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
953 Type *SrcTy = I.getOperand(0)->getType();
956 bool SrcVec = SrcTy->isVectorTy();
961 Assert1(SrcTy->isIntOrIntVectorTy(),
967 Assert1(cast<VectorType>(SrcTy)->getNumElements() ==
976 Type *SrcTy = I.getOperand(0)->getType();
979 bool SrcVec = SrcTy->isVectorTy();
984 Assert1(SrcTy->isIntOrIntVectorTy(),
990 Assert1(cast<VectorType>(SrcTy)->getNumElements() ==
999 Type *SrcTy = I.getOperand(0)->getType();
1002 bool SrcVec = SrcTy->isVectorTy();
1007 Assert1(SrcTy->isFPOrFPVectorTy(), "FPToUI source must be FP or FP vector",
1013 Assert1(cast<VectorType>(SrcTy)->getNumElements() ==
1022 Type *SrcTy = I.getOperand(0)->getType();
1025 bool SrcVec = SrcTy->isVectorTy();
1030 Assert1(SrcTy->isFPOrFPVectorTy(),
1036 Assert1(cast<VectorType>(SrcTy)->getNumElements() ==
1045 Type *SrcTy = I.getOperand(0)->getType();
1048 Assert1(SrcTy->getScalarType()->isPointerTy(),
1052 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
1055 if (SrcTy->isVectorTy()) {
1056 VectorType *VSrc = dyn_cast<VectorType>(SrcTy);
1067 Type *SrcTy = I.getOperand(0)->getType();
1070 Assert1(SrcTy->getScalarType()->isIntegerTy(),
1074 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(),
1076 if (SrcTy->isVectorTy()) {
1077 VectorType *VSrc = dyn_cast<VectorType>(SrcTy);
1087 Type *SrcTy = I.getOperand(0)->getType();
1091 unsigned SrcBitSize = SrcTy->getPrimitiveSizeInBits();
1096 Assert1(SrcTy->isPointerTy() == DestTy->isPointerTy(),
1101 Assert1(!SrcTy->isAggregateType(),