Lines Matching refs:CreateSub
778 return Builder.CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand()
783 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand()
803 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand()
871 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X); in foldAddWithConstant()
895 BinaryOperator::CreateSub(ConstantExpr::getSub(Op1C, COne), X); in foldAddWithConstant()
954 return BinaryOperator::CreateSub(ConstantInt::get(Ty, *C2 + *C), X); in foldAddWithConstant()
1263 return BinaryOperator::CreateSub(A, NewShl); in combineAddSubWithShlAddSub()
1543 auto *Sub = BinaryOperator::CreateSub(RHS, A); in visitAdd()
1552 return BinaryOperator::CreateSub(LHS, B); in visitAdd()
1563 return BinaryOperator::CreateSub(A, B); in visitAdd()
1579 Value *Sub = Builder.CreateSub(A, B); in visitAdd()
1587 Value *Sub = Builder.CreateSub(B, A, "reass.sub"); in visitAdd()
1692 return BinaryOperator::CreateSub(B, Shl); in visitAdd()
1741 return BinaryOperator::CreateSub( in visitAdd()
1807 Value *Ret = Builder.CreateSub( in visitAdd()
2055 Result = Builder.CreateSub(Result, Offset, "gepdiff", /* NUW */ false, in OptimizePointerDifference()
2159 BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
2230 return BinaryOperator::CreateSub(XZ, YW); in visitSub()
2240 BinaryOperator *Sub = BinaryOperator::CreateSub(X, Add); in visitSub()
2253 return BinaryOperator::CreateSub(X, Y); in visitSub()
2259 Value *OpsSub = Builder.CreateSub(X, Y); in visitSub()
2277 return BinaryOperator::CreateSub(NotOp1, NotOp0); in visitSub()
2289 Value *Sub = Builder.CreateSub(V0, V1); in visitSub()
2503 return Builder->CreateSub(OtherHandOfSelect, in visitSub()
2510 return Builder->CreateSub(/*OtherHandOfSub=*/Op0, in visitSub()
2533 return BinaryOperator::CreateSub(Not, X); in visitSub()
2539 return BinaryOperator::CreateSub(X, Not); in visitSub()
2646 Value *Sub = Builder.CreateSub(X, Y, "sub", PropagateNUW, PropagateNSW); in visitSub()
2656 Builder.CreateSub(X, Y, "sub", /*HasNUW=*/false, /*HasNSW=*/true); in visitSub()