Lines Matching refs:NewI
228 if (Instruction *NewI = tryReassociate(OrigI, OrigSCEV)) { in doOneIteration() local
230 OrigI->replaceAllUsesWith(NewI); in doOneIteration()
236 const SCEV *NewSCEV = SE->getSCEV(NewI); in doOneIteration()
237 SeenExprs[NewSCEV].push_back(WeakTrackingVH(NewI)); in doOneIteration()
259 SeenExprs[OrigSCEV].push_back(WeakTrackingVH(NewI)); in doOneIteration()
438 if (auto *NewI = tryReassociateBinaryOp(LHS, RHS, I)) in tryReassociateBinaryOp() local
439 return NewI; in tryReassociateBinaryOp()
440 if (auto *NewI = tryReassociateBinaryOp(RHS, LHS, I)) in tryReassociateBinaryOp() local
441 return NewI; in tryReassociateBinaryOp()
456 if (auto *NewI = in tryReassociateBinaryOp() local
458 return NewI; in tryReassociateBinaryOp()
461 if (auto *NewI = in tryReassociateBinaryOp() local
463 return NewI; in tryReassociateBinaryOp()
478 Instruction *NewI = nullptr; in tryReassociatedBinaryOp() local
481 NewI = BinaryOperator::CreateAdd(LHS, RHS, "", I); in tryReassociatedBinaryOp()
484 NewI = BinaryOperator::CreateMul(LHS, RHS, "", I); in tryReassociatedBinaryOp()
489 NewI->takeName(I); in tryReassociatedBinaryOp()
490 return NewI; in tryReassociatedBinaryOp()