Lines Matching refs:SE

175   auto *SE = &getAnalysis<ScalarEvolutionWrapperPass>().getSE();  in runOnFunction()  local
179 return Impl.runImpl(F, AC, DT, SE, TLI, TTI); in runOnFunction()
186 auto *SE = &AM.getResult<ScalarEvolutionAnalysis>(F); in run() local
190 if (!runImpl(F, AC, DT, SE, TLI, TTI)) in run()
205 SE = SE_; in runImpl()
237 const SCEV *NewSCEV = SE->getSCEV(NewI); in doOneIteration()
268 DeadInsts, TLI, nullptr, [this](Value *V) { SE->forgetValue(V); }); in doOneIteration()
284 OrigSCEV = SE->getSCEV(I); in matchAndReassociateMinOrMax()
298 if (!SE->isSCEVable(I->getType())) in tryReassociate()
304 OrigSCEV = SE->getSCEV(I); in tryReassociate()
307 OrigSCEV = SE->getSCEV(I); in tryReassociate()
402 IndexExprs.push_back(SE->getSCEV(Index)); in tryReassociateGEPAtIndex()
404 IndexExprs[I] = SE->getSCEV(LHS); in tryReassociateGEPAtIndex()
413 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); in tryReassociateGEPAtIndex()
415 const SCEV *CandidateExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), in tryReassociateGEPAtIndex()
468 if (SE->getSCEV(I)->isZero()) in tryReassociateBinaryOp()
485 const SCEV *AExpr = SE->getSCEV(A), *BExpr = SE->getSCEV(B); in tryReassociateBinaryOp()
486 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp()
543 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
545 return SE->getMulExpr(LHS, RHS); in getBinarySCEV()
620 const SCEV *R1Expr = SE->getMinMaxExpr(SCEVType, Ops1); in tryReassociateMinOrMax()
629 SmallVector<const SCEV *, 2> Ops2{SE->getUnknown(C), in tryReassociateMinOrMax()
630 SE->getUnknown(R1MinMax)}; in tryReassociateMinOrMax()
631 const SCEV *R2Expr = SE->getMinMaxExpr(SCEVType, Ops2); in tryReassociateMinOrMax()
633 SCEVExpander Expander(*SE, *DL, "nary-reassociate"); in tryReassociateMinOrMax()
642 const SCEV *AExpr = SE->getSCEV(A); in tryReassociateMinOrMax()
643 const SCEV *BExpr = SE->getSCEV(B); in tryReassociateMinOrMax()
644 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateMinOrMax()