Searched refs:Op0BO (Results 1 – 1 of 1) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineShifts.cpp | 759 if (BinaryOperator *Op0BO = dyn_cast<BinaryOperator>(Op0)) { in FoldShiftByConstant() local 763 switch (Op0BO->getOpcode()) { in FoldShiftByConstant() 771 if (isLeftShift && Op0BO->getOperand(1)->hasOneUse() && in FoldShiftByConstant() 772 match(Op0BO->getOperand(1), m_Shr(m_Value(V1), in FoldShiftByConstant() 775 Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 777 Value *X = Builder.CreateBinOp(Op0BO->getOpcode(), YS, V1, in FoldShiftByConstant() 778 Op0BO->getOperand(1)->getName()); in FoldShiftByConstant() 789 Value *Op0BOOp1 = Op0BO->getOperand(1); in FoldShiftByConstant() 795 Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 799 return BinaryOperator::Create(Op0BO->getOpcode(), YS, XM); in FoldShiftByConstant() [all …]
|