Home
last modified time | relevance | path

Searched refs:BOp0 (Results 1 – 1 of 1) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp2915 Value *BOp0 = BO->getOperand(0), *BOp1 = BO->getOperand(1); in foldICmpBinOpEqualityWithConstant() local
2923 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName()); in foldICmpBinOpEqualityWithConstant()
2935 return new ICmpInst(Pred, BOp0, SubC); in foldICmpBinOpEqualityWithConstant()
2941 return new ICmpInst(Pred, BOp0, NegVal); in foldICmpBinOpEqualityWithConstant()
2942 if (Value *NegVal = dyn_castNegVal(BOp0)) in foldICmpBinOpEqualityWithConstant()
2947 return new ICmpInst(Pred, BOp0, Neg); in foldICmpBinOpEqualityWithConstant()
2957 return new ICmpInst(Pred, BOp0, ConstantExpr::getXor(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
2960 return new ICmpInst(Pred, BOp0, BOp1); in foldICmpBinOpEqualityWithConstant()
2967 if (match(BOp0, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
2969 Constant *SubC = ConstantExpr::getSub(cast<Constant>(BOp0), RHS); in foldICmpBinOpEqualityWithConstant()
[all …]