Lines Matching refs:Shr
2261 BinaryOperator *Shr, in foldICmpShrConstant() argument
2265 Value *X = Shr->getOperand(0); in foldICmpShrConstant()
2267 if (Cmp.isEquality() && Shr->isExact() && C.isZero()) in foldICmpShrConstant()
2270 bool IsAShr = Shr->getOpcode() == Instruction::AShr; in foldICmpShrConstant()
2274 return foldICmpShrConstConst(Cmp, Shr->getOperand(1), C, *ShiftValC); in foldICmpShrConstant()
2282 Shr->getOperand(1), in foldICmpShrConstant()
2297 Constant *NewC = ConstantInt::get(Shr->getType(), CmpLZ - ShiftLZ); in foldICmpShrConstant()
2299 return new ICmpInst(NewPred, Shr->getOperand(1), NewC); in foldICmpShrConstant()
2304 if (!match(Shr->getOperand(1), m_APInt(ShiftAmtC))) in foldICmpShrConstant()
2314 bool IsExact = Shr->isExact(); in foldICmpShrConstant()
2315 Type *ShrTy = Shr->getType(); in foldICmpShrConstant()
2390 if (Shr->isExact()) in foldICmpShrConstant()
2403 if (Shr->hasOneUse()) { in foldICmpShrConstant()
2408 Value *And = Builder.CreateAnd(X, Mask, Shr->getName() + ".mask"); in foldICmpShrConstant()