Lines Matching refs:Op1C
813 Constant *Op1C; in foldNoWrapAdd() local
814 if (!match(Op1, m_Constant(Op1C))) in foldNoWrapAdd()
841 Value *NewC = Builder.CreateAdd(WideC, Op1C); in foldNoWrapAdd()
849 Value *NewC = Builder.CreateAdd(WideC, Op1C); in foldNoWrapAdd()
859 Constant *Op1C; in foldAddWithConstant() local
860 if (!match(Op1, m_ImmConstant(Op1C))) in foldAddWithConstant()
871 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X); in foldAddWithConstant()
883 return SelectInst::Create(X, InstCombiner::AddOne(Op1C), Op1); in foldAddWithConstant()
887 return SelectInst::Create(X, InstCombiner::SubOne(Op1C), Op1); in foldAddWithConstant()
892 auto *COne = ConstantInt::get(Op1C->getType(), 1); in foldAddWithConstant()
893 bool WillNotSOV = willNotOverflowSignedSub(Op1C, COne, Add); in foldAddWithConstant()
895 BinaryOperator::CreateSub(ConstantExpr::getSub(Op1C, COne), X); in foldAddWithConstant()
915 BinaryOperator::CreateAdd(X, ConstantExpr::getAdd(Op01C, Op1C)); in foldAddWithConstant()
917 willNotOverflowSignedAdd(Op01C, Op1C, Add)); in foldAddWithConstant()