Lines Matching refs:Zext
932 Instruction *InstCombinerImpl::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, in transformZExtICmp() argument
950 if (In->getType() != Zext.getType()) in transformZExtICmp()
951 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/); in transformZExtICmp()
958 return replaceInstUsesWith(Zext, In); in transformZExtICmp()
973 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext); in transformZExtICmp()
983 Constant *Res = ConstantInt::get(Zext.getType(), isNE); in transformZExtICmp()
984 return replaceInstUsesWith(Zext, Res); in transformZExtICmp()
1001 if (Zext.getType() == In->getType()) in transformZExtICmp()
1002 return replaceInstUsesWith(Zext, In); in transformZExtICmp()
1004 Value *IntCast = Builder.CreateIntCast(In, Zext.getType(), false); in transformZExtICmp()
1005 return replaceInstUsesWith(Zext, IntCast); in transformZExtICmp()
1013 if (Cmp->isEquality() && Zext.getType() == Cmp->getOperand(0)->getType()) { in transformZExtICmp()
1014 if (IntegerType *ITy = dyn_cast<IntegerType>(Zext.getType())) { in transformZExtICmp()
1018 KnownBits KnownLHS = computeKnownBits(LHS, 0, &Zext); in transformZExtICmp()
1019 KnownBits KnownRHS = computeKnownBits(RHS, 0, &Zext); in transformZExtICmp()
1041 return replaceInstUsesWith(Zext, Result); in transformZExtICmp()