Lines Matching defs:BOp1
3585 Value *BOp0 = BO->getOperand(0), *BOp1 = BO->getOperand(1);
3592 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) {
3593 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName());
3603 if (Constant *C2 = dyn_cast<Constant>(BOp1)) {
3609 if (Value *NegVal = dyn_castNegVal(BOp1))
3612 return new ICmpInst(Pred, NegVal, BOp1);
3616 Value *Or = Builder.CreateOr(BOp0, BOp1);
3619 Value *Neg = Builder.CreateNeg(BOp1);
3627 if (Constant *BOC = dyn_cast<Constant>(BOp1)) {
3633 return new ICmpInst(Pred, BOp0, BOp1);
3638 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) {
3642 Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1));
3706 return new ICmpInst(Pred, BOp0, BOp1);
3709 Instruction::Mul, BO->getOpcode() == Instruction::SDiv, BOp1,
3713 Builder.CreateMul(BOp1, ConstantInt::get(BO->getType(), C));
3721 return new ICmpInst(NewPred, BOp1, BOp0);