Lines Matching defs:SrcTy

3255   Type *SrcTy = I.getOperand(0)->getType();
3259 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3262 Check(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I);
3264 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3273 Type *SrcTy = I.getOperand(0)->getType();
3277 Check(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I);
3279 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3281 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3291 Type *SrcTy = I.getOperand(0)->getType();
3295 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3298 Check(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I);
3300 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3309 Type *SrcTy = I.getOperand(0)->getType();
3312 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3315 Check(SrcTy->isFPOrFPVectorTy(), "FPTrunc only operates on FP", &I);
3317 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3326 Type *SrcTy = I.getOperand(0)->getType();
3330 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
3333 Check(SrcTy->isFPOrFPVectorTy(), "FPExt only operates on FP", &I);
3335 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(),
3344 Type *SrcTy = I.getOperand(0)->getType();
3347 bool SrcVec = SrcTy->isVectorTy();
3352 Check(SrcTy->isIntOrIntVectorTy(),
3358 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3367 Type *SrcTy = I.getOperand(0)->getType();
3370 bool SrcVec = SrcTy->isVectorTy();
3375 Check(SrcTy->isIntOrIntVectorTy(),
3381 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3390 Type *SrcTy = I.getOperand(0)->getType();
3393 bool SrcVec = SrcTy->isVectorTy();
3398 Check(SrcTy->isFPOrFPVectorTy(), "FPToUI source must be FP or FP vector", &I);
3403 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3412 Type *SrcTy = I.getOperand(0)->getType();
3415 bool SrcVec = SrcTy->isVectorTy();
3420 Check(SrcTy->isFPOrFPVectorTy(), "FPToSI source must be FP or FP vector", &I);
3425 Check(cast<VectorType>(SrcTy)->getElementCount() ==
3434 Type *SrcTy = I.getOperand(0)->getType();
3437 Check(SrcTy->isPtrOrPtrVectorTy(), "PtrToInt source must be pointer", &I);
3440 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), "PtrToInt type mismatch",
3443 if (SrcTy->isVectorTy()) {
3444 auto *VSrc = cast<VectorType>(SrcTy);
3455 Type *SrcTy = I.getOperand(0)->getType();
3458 Check(SrcTy->isIntOrIntVectorTy(), "IntToPtr source must be an integral", &I);
3461 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), "IntToPtr type mismatch",
3463 if (SrcTy->isVectorTy()) {
3464 auto *VSrc = cast<VectorType>(SrcTy);
3480 Type *SrcTy = I.getOperand(0)->getType();
3483 Check(SrcTy->isPtrOrPtrVectorTy(), "AddrSpaceCast source must be a pointer",
3487 Check(SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace(),
3489 if (auto *SrcVTy = dyn_cast<VectorType>(SrcTy))
5469 Type *SrcTy = Call.getOperand(0)->getType();
5476 Check(SrcTy->isVectorTy() == IsDestTypeVector,
5481 auto SrcVecLen = cast<VectorType>(SrcTy)->getElementCount();