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

References

lib/Transforms/Utils/SimplifyIndVar.cpp
  178   ICmpInst::Predicate Pred = ICmp->getPredicate();
  179   if (IVOperand != ICmp->getOperand(0)) {
  181     assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand");
  188   const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
  189   const SCEV *S = SE->getSCEVAtScope(ICmp->getOperand(IVOperIdx), ICmpLoop);
  190   const SCEV *X = SE->getSCEVAtScope(ICmp->getOperand(1 - IVOperIdx), ICmpLoop);
  207   CheapExpansions[S] = ICmp->getOperand(IVOperIdx);
  208   CheapExpansions[X] = ICmp->getOperand(1 - IVOperIdx);
  236   LLVM_DEBUG(dbgs() << "INDVARS: Simplified comparison: " << *ICmp << '\n');
  237   ICmp->setPredicate(InvariantPredicate);
  238   ICmp->setOperand(0, NewLHS);
  239   ICmp->setOperand(1, NewRHS);