Lines Matching refs:Zext
970 Instruction *InstCombinerImpl::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, in transformZExtICmp() argument
988 if (In->getType() != Zext.getType()) in transformZExtICmp()
989 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/); in transformZExtICmp()
996 return replaceInstUsesWith(Zext, In); in transformZExtICmp()
1011 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext); in transformZExtICmp()
1021 Constant *Res = ConstantInt::get(Zext.getType(), isNE); in transformZExtICmp()
1022 return replaceInstUsesWith(Zext, Res); in transformZExtICmp()
1039 if (Zext.getType() == In->getType()) in transformZExtICmp()
1040 return replaceInstUsesWith(Zext, In); in transformZExtICmp()
1042 Value *IntCast = Builder.CreateIntCast(In, Zext.getType(), false); in transformZExtICmp()
1043 return replaceInstUsesWith(Zext, IntCast); in transformZExtICmp()
1048 if (Cmp->isEquality() && Zext.getType() == Cmp->getOperand(0)->getType()) { in transformZExtICmp()
1063 return replaceInstUsesWith(Zext, And1); in transformZExtICmp()
1069 if (IntegerType *ITy = dyn_cast<IntegerType>(Zext.getType())) { in transformZExtICmp()
1073 KnownBits KnownLHS = computeKnownBits(LHS, 0, &Zext); in transformZExtICmp()
1074 KnownBits KnownRHS = computeKnownBits(RHS, 0, &Zext); in transformZExtICmp()
1096 return replaceInstUsesWith(Zext, Result); in transformZExtICmp()