Lines Matching refs:Zext
989 Instruction *InstCombinerImpl::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext) { in transformZExtICmp() argument
1009 if (In->getType() != Zext.getType()) in transformZExtICmp()
1010 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/); in transformZExtICmp()
1012 return replaceInstUsesWith(Zext, In); in transformZExtICmp()
1027 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext); in transformZExtICmp()
1035 Constant *Res = ConstantInt::get(Zext.getType(), isNE); in transformZExtICmp()
1036 return replaceInstUsesWith(Zext, Res); in transformZExtICmp()
1053 if (Zext.getType() == In->getType()) in transformZExtICmp()
1054 return replaceInstUsesWith(Zext, In); in transformZExtICmp()
1056 Value *IntCast = Builder.CreateIntCast(In, Zext.getType(), false); in transformZExtICmp()
1057 return replaceInstUsesWith(Zext, IntCast); in transformZExtICmp()
1062 if (Cmp->isEquality() && Zext.getType() == Cmp->getOperand(0)->getType()) { in transformZExtICmp()
1074 return replaceInstUsesWith(Zext, And1); in transformZExtICmp()
1080 if (IntegerType *ITy = dyn_cast<IntegerType>(Zext.getType())) { in transformZExtICmp()
1084 KnownBits KnownLHS = computeKnownBits(LHS, 0, &Zext); in transformZExtICmp()
1085 KnownBits KnownRHS = computeKnownBits(RHS, 0, &Zext); in transformZExtICmp()
1105 return replaceInstUsesWith(Zext, Result); in transformZExtICmp()