reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
235 for (auto I = BB->begin(); I != BB->end(); ++I) { 235 for (auto I = BB->begin(); I != BB->end(); ++I) { 236 if (SE->isSCEVable(I->getType()) && isPotentiallyNaryReassociable(&*I)) { 236 if (SE->isSCEVable(I->getType()) && isPotentiallyNaryReassociable(&*I)) { 237 const SCEV *OldSCEV = SE->getSCEV(&*I); 238 if (Instruction *NewI = tryReassociate(&*I)) { 240 SE->forgetValue(&*I); 241 I->replaceAllUsesWith(NewI); 245 RecursivelyDeleteTriviallyDeadInstructions(&*I, TLI); 250 I = BB->begin(); 253 I = NewI->getIterator(); 257 const SCEV *NewSCEV = SE->getSCEV(&*I); 258 SeenExprs[NewSCEV].push_back(WeakTrackingVH(&*I)); 278 SeenExprs[OldSCEV].push_back(WeakTrackingVH(&*I));