Lines Matching refs:NewI
185 if (Instruction *NewI = tryReassociateAdd(I)) {
188 I->replaceAllUsesWith(NewI);
190 I = NewI;
203 if (auto *NewI = tryReassociateAdd(LHS, RHS, I))
204 return NewI;
205 if (auto *NewI = tryReassociateAdd(RHS, LHS, I))
206 return NewI;
219 if (auto *NewI = tryReassociatedAdd(SE->getAddExpr(AExpr, RHSExpr), B, I))
220 return NewI;
221 if (auto *NewI = tryReassociatedAdd(SE->getAddExpr(BExpr, RHSExpr), A, I))
222 return NewI;
245 Instruction *NewI = BinaryOperator::CreateAdd(LHS, RHS, "", I);
246 NewI->takeName(I);
247 return NewI;