Lines Matching refs:BOC
3059 const APInt *BOC; in foldICmpBinOpEqualityWithConstant() local
3060 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) { in foldICmpBinOpEqualityWithConstant()
3069 if (Constant *BOC = dyn_cast<Constant>(BOp1)) { in foldICmpBinOpEqualityWithConstant() local
3071 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
3089 if (Constant *BOC = dyn_cast<Constant>(BOp1)) { in foldICmpBinOpEqualityWithConstant() local
3092 return new ICmpInst(Pred, BOp0, ConstantExpr::getXor(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
3103 if (Constant *BOC = dyn_cast<Constant>(BOp0)) { in foldICmpBinOpEqualityWithConstant() local
3105 return new ICmpInst(Pred, BOp1, ConstantExpr::getSub(BOC, RHS)); in foldICmpBinOpEqualityWithConstant()
3113 const APInt *BOC; in foldICmpBinOpEqualityWithConstant() local
3114 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
3125 const APInt *BOC; in foldICmpBinOpEqualityWithConstant() local
3126 if (match(BOp1, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
3128 if (C == *BOC && C.isPowerOf2()) in foldICmpBinOpEqualityWithConstant()