Lines Matching refs:BOp1
2969 Value *BOp0 = BO->getOperand(0), *BOp1 = BO->getOperand(1);
2976 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) {
2977 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName());
2985 if (Constant *BOC = dyn_cast<Constant>(BOp1)) {
2991 if (Value *NegVal = dyn_castNegVal(BOp1))
2994 return new ICmpInst(Pred, NegVal, BOp1);
2996 Value *Neg = Builder.CreateNeg(BOp1);
3005 if (Constant *BOC = dyn_cast<Constant>(BOp1)) {
3011 return new ICmpInst(Pred, BOp0, BOp1);
3021 return new ICmpInst(Pred, BOp1, ConstantExpr::getSub(BOC, RHS));
3024 return new ICmpInst(Pred, BOp0, BOp1);
3030 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) {
3034 Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1));
3042 if (match(BOp1, m_APInt(BOC))) {
3053 if (match(BOp1, m_APInt(BOC)) && !BOC->isNullValue()) {
3065 return new ICmpInst(NewPred, BOp1, BOp0);