Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineShifts.cpp831 if (auto *Op0BO = dyn_cast<BinaryOperator>(Op0)) { in FoldShiftByConstant() local
835 if (match(Op0BO->getOperand(1), m_APInt(Op0C))) { in FoldShiftByConstant()
836 if (canShiftBinOpWithConstantRHS(I, Op0BO)) { in FoldShiftByConstant()
838 Builder.CreateBinOp(I.getOpcode(), Op0BO->getOperand(1), C1); in FoldShiftByConstant()
841 Builder.CreateBinOp(I.getOpcode(), Op0BO->getOperand(0), C1); in FoldShiftByConstant()
842 NewShift->takeName(Op0BO); in FoldShiftByConstant()
844 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
1151 BinaryOperator *Op0BO; in visitShl() local
1152 if (match(Op0, m_OneUse(m_BinOp(Op0BO))) && in visitShl()
1153 isSuitableBinOpcode(Op0BO->getOpcode())) { in visitShl()
[all …]