Lines Matching refs:BOC
2975 const APInt *BOC;
2976 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) {
2985 if (Constant *BOC = dyn_cast<Constant>(BOp1)) {
2987 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, BOC));
3005 if (Constant *BOC = dyn_cast<Constant>(BOp1)) {
3008 return new ICmpInst(Pred, BOp0, ConstantExpr::getXor(RHS, BOC));
3019 if (Constant *BOC = dyn_cast<Constant>(BOp0)) {
3020 // Replace ((sub BOC, B) != C) with (B != BOC-C).
3021 return new ICmpInst(Pred, BOp1, ConstantExpr::getSub(BOC, RHS));
3029 const APInt *BOC;
3030 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) {
3041 const APInt *BOC;
3042 if (match(BOp1, m_APInt(BOC))) {
3044 if (C == *BOC && C.isPowerOf2())
3052 const APInt *BOC;
3053 if (match(BOp1, m_APInt(BOC)) && !BOC->isNullValue()) {