Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:BinOp

27 /// adds all have a single use, turn this into a phi and a single binop.
108 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst);
110 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
498 // Can fold binop, compare or shift here if the RHS is a constant,
556 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) {
557 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp);
558 BinOp->copyIRFlags(PN.getIncomingValue(0));
561 BinOp->andIRFlags(PN.getIncomingValue(i));
563 BinOp->setDebugLoc(FirstInst->getDebugLoc());
564 return BinOp;