reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/SimplifyIndVar.cpp
  294   auto *N = SE->getSCEV(SDiv->getOperand(0));
  295   auto *D = SE->getSCEV(SDiv->getOperand(1));
  298   const Loop *L = LI->getLoopFor(SDiv->getParent());
  305         BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1),
  305         BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1),
  306         SDiv->getName() + ".udiv", SDiv);
  306         SDiv->getName() + ".udiv", SDiv);
  307     UDiv->setIsExact(SDiv->isExact());
  308     SDiv->replaceAllUsesWith(UDiv);
  309     LLVM_DEBUG(dbgs() << "INDVARS: Simplified sdiv: " << *SDiv << '\n');
  312     DeadInsts.push_back(SDiv);