reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
660 if (!SE->isSCEVable(I->getType())) 664 const SCEV *S = SE->getSCEV(I); 670 if (Rewriter.isHighCostExpansion(S, L, I)) 673 auto *IP = GetLoopInvariantInsertPosition(L, I); 674 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); 676 I->replaceAllUsesWith(Invariant); 677 LLVM_DEBUG(dbgs() << "INDVARS: Replace IV user: " << *I 681 DeadInsts.emplace_back(I);