Lines Matching refs:getSCEV

162     const auto *LHS = SE->getSCEV(IVSrc);  in foldIVUser()
163 const auto *RHS = SE->getSCEV(D); in foldIVUser()
175 if (SE->getSCEV(UseInst) != FoldedExpr) in foldIVUser()
182 assert(SE->getSCEV(UseInst) == FoldedExpr && "bad SCEV with folded oper"); in foldIVUser()
291 auto *N = SE->getSCEV(SDiv->getOperand(0)); in eliminateSDiv()
292 auto *D = SE->getSCEV(SDiv->getOperand(1)); in eliminateSDiv()
365 const SCEV *N = SE->getSCEV(NValue); in simplifyIVRemainder()
377 const SCEV *D = SE->getSCEV(DValue); in simplifyIVRemainder()
404 const SCEV *LHS = SE->getSCEV(WO->getLHS()); in eliminateOverflowIntrinsic()
405 const SCEV *RHS = SE->getSCEV(WO->getRHS()); in eliminateOverflowIntrinsic()
445 const SCEV *LHS = SE->getSCEV(SI->getLHS()); in eliminateSaturatingIntrinsic()
446 const SCEV *RHS = SE->getSCEV(SI->getRHS()); in eliminateSaturatingIntrinsic()
482 const SCEV *IVSCEV = SE->getSCEV(IV); in eliminateTrunc()
483 const SCEV *TISCEV = SE->getSCEV(TI); in eliminateTrunc()
536 const SCEV *SCEVOP1 = SE->getSCEV(ICI->getOperand(0)); in eliminateTrunc()
537 const SCEV *SCEVOP2 = SE->getSCEV(ICI->getOperand(1)); in eliminateTrunc()
628 const SCEV *S = SE->getSCEV(I); in replaceIVUserWithLoopInvariant()
664 const SCEV *IV = SE->getSCEV(IVOperand); in replaceFloatIVWithIntegerIV()
720 const SCEV *UseSCEV = SE->getSCEV(UseInst); in eliminateIdentitySCEV()
721 if (UseSCEV != SE->getSCEV(IVOperand)) in eliminateIdentitySCEV()
806 ConstantRange IVRange = SE->getUnsignedRange(SE->getSCEV(IVOperand)); in strengthenRightShift()
866 const SCEV *S = SE->getSCEV(I); in isSimpleIVUser()
1307 WideLHS = SE->getSCEV(WideDef); in cloneArithmeticIVUser()
1308 const SCEV *NarrowRHS = SE->getSCEV(NarrowUse->getOperand(1)); in cloneArithmeticIVUser()
1311 const SCEV *NarrowLHS = SE->getSCEV(NarrowUse->getOperand(0)); in cloneArithmeticIVUser()
1313 WideRHS = SE->getSCEV(WideDef); in cloneArithmeticIVUser()
1412 SE->getSCEV(DU.NarrowUse->getOperand(ExtendOperIdx)); in getExtendedOperandRecurrence()
1425 const SCEV *lhs = SE->getSCEV(DU.WideDef); in getExtendedOperandRecurrence()
1450 const SCEV *NarrowExpr = SE->getSCEV(DU.NarrowUse); in getWideRecurrence()
1641 const SCEV *LHS = SE->getSCEV(OBO->getOperand(0)); in widenWithVariantUse()
1642 const SCEV *RHS = SE->getSCEV(OBO->getOperand(1)); in widenWithVariantUse()
1658 const SCEV *Op1 = SE->getSCEV(WideDef); in widenWithVariantUse()
1844 if (WideAddRec.first != SE->getSCEV(WideUse)) { in widenIVUse()
1846 << *SE->getSCEV(WideUse) << " != " << *WideAddRec.first in widenIVUse()
1886 const SCEV *NarrowSCEV = SE->getSCEV(NarrowDef); in pushNarrowIVUsers()
1919 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in createWideIV()
1983 WideIncExpr = SE->getSCEV(WideInc); in createWideIV()
2045 auto CmpRHSRange = SE->getSignedRange(SE->getSCEV(CmpRHS)); in calculatePostIncRange()