Lines Matching refs:getSCEV
164 FoldedExpr = SE->getUDivExpr(SE->getSCEV(IVSrc), SE->getSCEV(D)); in foldIVUser()
168 SE->getSCEV(IVSrc) != SE->getMulExpr(FoldedExpr, SE->getSCEV(D))) in foldIVUser()
176 if (SE->getSCEV(UseInst) != FoldedExpr) in foldIVUser()
183 assert(SE->getSCEV(UseInst) == FoldedExpr && "bad SCEV with folded oper"); in foldIVUser()
236 const SCEV *IncomingS = SE->getSCEV(Incoming); in makeIVComparisonInvariant()
314 auto *N = SE->getSCEV(SDiv->getOperand(0)); in eliminateSDiv()
315 auto *D = SE->getSCEV(SDiv->getOperand(1)); in eliminateSDiv()
387 const SCEV *N = SE->getSCEV(NValue); in simplifyIVRemainder()
399 const SCEV *D = SE->getSCEV(DValue); in simplifyIVRemainder()
426 const SCEV *LHS = SE->getSCEV(WO->getLHS()); in eliminateOverflowIntrinsic()
427 const SCEV *RHS = SE->getSCEV(WO->getRHS()); in eliminateOverflowIntrinsic()
467 const SCEV *LHS = SE->getSCEV(SI->getLHS()); in eliminateSaturatingIntrinsic()
468 const SCEV *RHS = SE->getSCEV(SI->getRHS()); in eliminateSaturatingIntrinsic()
504 const SCEV *IVSCEV = SE->getSCEV(IV); in eliminateTrunc()
505 const SCEV *TISCEV = SE->getSCEV(TI); in eliminateTrunc()
558 const SCEV *SCEVOP1 = SE->getSCEV(ICI->getOperand(0)); in eliminateTrunc()
559 const SCEV *SCEVOP2 = SE->getSCEV(ICI->getOperand(1)); in eliminateTrunc()
649 const SCEV *S = SE->getSCEV(I); in replaceIVUserWithLoopInvariant()
682 (SE->getSCEV(UseInst) != SE->getSCEV(IVOperand))) in eliminateIdentitySCEV()
753 ConstantRange IVRange = SE->getUnsignedRange(SE->getSCEV(IVOperand)); in strengthenRightShift()
813 const SCEV *S = SE->getSCEV(I); in isSimpleIVUser()
1238 WideLHS = SE->getSCEV(WideDef); in cloneArithmeticIVUser()
1239 const SCEV *NarrowRHS = SE->getSCEV(NarrowUse->getOperand(1)); in cloneArithmeticIVUser()
1242 const SCEV *NarrowLHS = SE->getSCEV(NarrowUse->getOperand(0)); in cloneArithmeticIVUser()
1244 WideRHS = SE->getSCEV(WideDef); in cloneArithmeticIVUser()
1328 SE->getSCEV(DU.NarrowUse->getOperand(ExtendOperIdx)), WideType); in getExtendedOperandRecurrence()
1331 SE->getSCEV(DU.NarrowUse->getOperand(ExtendOperIdx)), WideType); in getExtendedOperandRecurrence()
1340 const SCEV *lhs = SE->getSCEV(DU.WideDef); in getExtendedOperandRecurrence()
1365 const SCEV *NarrowExpr = SE->getSCEV(DU.NarrowUse); in getWideRecurrence()
1560 const SCEV *LHS = SE->getSCEV(OBO->getOperand(0)); in widenWithVariantUse()
1561 const SCEV *RHS = SE->getSCEV(OBO->getOperand(1)); in widenWithVariantUse()
1577 const SCEV *Op1 = SE->getSCEV(WideDef); in widenWithVariantUse()
1780 if (WideAddRec.first != SE->getSCEV(WideUse)) { in widenIVUse()
1782 << *SE->getSCEV(WideUse) << " != " << *WideAddRec.first in widenIVUse()
1799 const SCEV *NarrowSCEV = SE->getSCEV(NarrowDef); in pushNarrowIVUsers()
1832 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in createWideIV()
1895 WideIncExpr = SE->getSCEV(WideInc); in createWideIV()
1958 auto CmpRHSRange = SE->getSignedRange(SE->getSCEV(CmpRHS)); in calculatePostIncRange()