Lines Matching defs:SrcBits
1417 SrcBits = SrcTy->getScalarSizeInBits();
1423 return new ICmpInst(Pred, X, ConstantInt::get(SrcTy, C.sext(SrcBits)));
1425 return new ICmpInst(Pred, X, ConstantInt::get(SrcTy, C.zext(SrcBits)));
1455 if (!SrcTy->isVectorTy() && shouldChangeType(DstBits, SrcBits)) {
1457 ConstantInt::get(SrcTy, APInt::getLowBitsSet(SrcBits, DstBits));
1459 Constant *WideC = ConstantInt::get(SrcTy, C.zext(SrcBits));
1468 if ((Known.Zero | Known.One).countl_one() >= SrcBits - DstBits) {
1470 APInt NewRHS = C.zext(SrcBits);
1471 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits);
1484 DstBits == SrcBits - ShAmtC->getZExtValue()) {
5841 unsigned SrcBits = X->getType()->getScalarSizeInBits();
5845 Constant *MaskC = ConstantInt::get(X->getType(), C->zext(SrcBits));
5853 Constant *MaskC = ConstantInt::get(X->getType(), (*C + 1).zext(SrcBits));
5861 unsigned MaxRet = SrcBits;
5872 foldICmpIntrinsicWithConstant(ICmp, II, C->zext(SrcBits)))