Lines Matching refs:NewI
251 if (Instruction *NewI = tryReassociate(&*I)) { in doOneIteration() local
254 I->replaceAllUsesWith(NewI); in doOneIteration()
258 I = NewI->getIterator(); in doOneIteration()
473 if (auto *NewI = tryReassociateBinaryOp(LHS, RHS, I)) in tryReassociateBinaryOp() local
474 return NewI; in tryReassociateBinaryOp()
475 if (auto *NewI = tryReassociateBinaryOp(RHS, LHS, I)) in tryReassociateBinaryOp() local
476 return NewI; in tryReassociateBinaryOp()
491 if (auto *NewI = in tryReassociateBinaryOp() local
493 return NewI; in tryReassociateBinaryOp()
496 if (auto *NewI = in tryReassociateBinaryOp() local
498 return NewI; in tryReassociateBinaryOp()
513 Instruction *NewI = nullptr; in tryReassociatedBinaryOp() local
516 NewI = BinaryOperator::CreateAdd(LHS, RHS, "", I); in tryReassociatedBinaryOp()
519 NewI = BinaryOperator::CreateMul(LHS, RHS, "", I); in tryReassociatedBinaryOp()
524 NewI->takeName(I); in tryReassociatedBinaryOp()
525 return NewI; in tryReassociatedBinaryOp()