reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
688 if (!SE->isSCEVable(UseInst->getType()) || 689 (UseInst->getType() != IVOperand->getType()) || 690 (SE->getSCEV(UseInst) != SE->getSCEV(IVOperand))) 709 if (isa<PHINode>(UseInst)) 712 if (!DT || !DT->dominates(IVOperand, UseInst)) 715 if (!LI->replacementPreservesLCSSAForm(UseInst, IVOperand)) 718 LLVM_DEBUG(dbgs() << "INDVARS: Eliminated identity: " << *UseInst << '\n'); 720 UseInst->replaceAllUsesWith(IVOperand); 723 DeadInsts.emplace_back(UseInst);