Lines Matching defs:SrcTy

3212   Type *SrcTy = I.getOperand(0)->getType();
3216 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3219 Check(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I);
3221 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3230 Type *SrcTy = I.getOperand(0)->getType();
3234 Check(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I);
3236 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3238 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3248 Type *SrcTy = I.getOperand(0)->getType();
3252 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3255 Check(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I);
3257 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3266 Type *SrcTy = I.getOperand(0)->getType();
3269 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3272 Check(SrcTy->isFPOrFPVectorTy(), "FPTrunc only operates on FP", &I);
3274 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3283 Type *SrcTy = I.getOperand(0)->getType();
3287 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3290 Check(SrcTy->isFPOrFPVectorTy(), "FPExt only operates on FP", &I);
3292 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3301 Type *SrcTy = I.getOperand(0)->getType();
3304 bool SrcVec = SrcTy->isVectorTy();
3309 Check(SrcTy->isIntOrIntVectorTy(),
3315 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3324 Type *SrcTy = I.getOperand(0)->getType();
3327 bool SrcVec = SrcTy->isVectorTy();
3332 Check(SrcTy->isIntOrIntVectorTy(),
3338 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3347 Type *SrcTy = I.getOperand(0)->getType();
3350 bool SrcVec = SrcTy->isVectorTy();
3355 Check(SrcTy->isFPOrFPVectorTy(), "FPToUI source must be FP or FP vector", &I);
3360 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3369 Type *SrcTy = I.getOperand(0)->getType();
3372 bool SrcVec = SrcTy->isVectorTy();
3377 Check(SrcTy->isFPOrFPVectorTy(), "FPToSI source must be FP or FP vector", &I);
3382 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3391 Type *SrcTy = I.getOperand(0)->getType();
3394 Check(SrcTy->isPtrOrPtrVectorTy(), "PtrToInt source must be pointer", &I);
3397 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), "PtrToInt type mismatch",
3400 if (SrcTy->isVectorTy()) {
3401 auto *VSrc = cast<VectorType>(SrcTy);
3412 Type *SrcTy = I.getOperand(0)->getType();
3415 Check(SrcTy->isIntOrIntVectorTy(), "IntToPtr source must be an integral", &I);
3418 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), "IntToPtr type mismatch",
3420 if (SrcTy->isVectorTy()) {
3421 auto *VSrc = cast<VectorType>(SrcTy);
3437 Type *SrcTy = I.getOperand(0)->getType();
3440 Check(SrcTy->isPtrOrPtrVectorTy(), "AddrSpaceCast source must be a pointer",
3444 Check(SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace(),
3446 if (auto *SrcVTy = dyn_cast<VectorType>(SrcTy))
5378 Type *SrcTy = Call.getOperand(0)->getType();
5385 Check(SrcTy->isVectorTy() == IsDestTypeVector,
5390 auto SrcVecLen = cast<VectorType>(SrcTy)->getElementCount();