Lines Matching defs:Op1C
813 Constant *Op1C;
814 if (!match(Op1, m_Constant(Op1C)))
841 Value *NewC = Builder.CreateAdd(WideC, Op1C);
849 Value *NewC = Builder.CreateAdd(WideC, Op1C);
859 Constant *Op1C;
860 if (!match(Op1, m_ImmConstant(Op1C)))
871 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X);
883 return SelectInst::Create(X, InstCombiner::AddOne(Op1C), Op1);
887 return SelectInst::Create(X, InstCombiner::SubOne(Op1C), Op1);
892 auto *COne = ConstantInt::get(Op1C->getType(), 1);
893 bool WillNotSOV = willNotOverflowSignedSub(Op1C, COne, Add);
895 BinaryOperator::CreateSub(ConstantExpr::getSub(Op1C, COne), X);
911 // (X | Op01C) + Op1C --> X + (Op01C + Op1C) iff the `or` is actually an `add`
915 BinaryOperator::CreateAdd(X, ConstantExpr::getAdd(Op01C, Op1C));
917 willNotOverflowSignedAdd(Op01C, Op1C, Add));