Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp765 if (auto *Op0BO = dyn_cast<BinaryOperator>(Op0)) { in FoldShiftByConstant() local
769 if (match(Op0BO->getOperand(1), m_APInt(Op0C))) { in FoldShiftByConstant()
770 if (canShiftBinOpWithConstantRHS(I, Op0BO)) { in FoldShiftByConstant()
776 NewShift->takeName(Op0BO); in FoldShiftByConstant()
961 BinaryOperator *Op0BO; in visitShl() local
962 if (match(Op0, m_OneUse(m_BinOp(Op0BO))) && in visitShl()
963 isSuitableBinOpcode(Op0BO->getOpcode())) { in visitShl()
967 Value *Shr = Op0BO->getOperand(0); in visitShl()
968 Value *Y = Op0BO->getOperand(1); in visitShl()
971 if (Op0BO->isCommutative() && Y->hasOneUse() && in visitShl()
[all …]