Lines Matching refs:getLoop
176 AR->getLoop()->getHeader()->printAsOperand(OS, /*PrintType=*/false); in print()
551 const Loop *LLoop = LA->getLoop(), *RLoop = RA->getLoop(); in compare()
795 Quotient = SE.getAddRecExpr(StartQ, StepQ, Numerator->getLoop(), in visitAddRecExpr()
797 Remainder = SE.getAddRecExpr(StartR, StepR, Numerator->getLoop(), in visitAddRecExpr()
1136 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
1246 const Loop *L = AR->getLoop(); in getPreStartForExtend()
1452 const Loop *L = AR->getLoop(); in getZeroExtendExpr()
1679 const Loop *L = AR->getLoop(); in getSignExtendExpr()
1866 return getAddRecExpr(Ops, AR->getLoop(), SCEV::FlagNW); in getAnyExtendExpr()
2289 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
2333 if (AddRecLoop == cast<SCEVAddRecExpr>(Ops[OtherIdx])->getLoop()) { in getAddExpr()
2340 if (OtherAddRec->getLoop() == AddRecLoop) { in getAddExpr()
2503 return getAddRecExpr(Operands, AddRec->getLoop(), in getMulExpr()
2547 const Loop *AddRecLoop = AddRec->getLoop(); in getMulExpr()
2604 if (!OtherAddRec || OtherAddRec->getLoop() != AddRecLoop) in getMulExpr()
2634 const SCEV *NewAddRec = getAddRecExpr(AddRecOps, AddRec->getLoop(), in getMulExpr()
2709 AR->getLoop(), SCEV::FlagAnyWrap)) { in getUDivExpr()
2713 return getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagNW); in getUDivExpr()
2723 AR->getLoop(), SCEV::FlagAnyWrap)) { in getUDivExpr()
2728 AR->getLoop(), SCEV::FlagNW); in getUDivExpr()
2869 if (StepChrec->getLoop() == L) { in getAddRecExpr()
2909 const Loop *NestedLoop = NestedAR->getLoop(); in getAddRecExpr()
3708 if (Expr->getLoop() == L) in visitAddRecExpr()
3741 if (Expr->getLoop() == L && Expr->isAffine()) in visitAddRecExpr()
3979 cast<SCEVAddRecExpr>(Accum)->getLoop() == L)) { in createAddRecFromPHI()
4098 const auto *ARLoop = cast<SCEVAddRecExpr>(S)->getLoop(); in IsAvailableOnEntry()
4544 const SCEV *MaxBECount = getMaxBackedgeTakenCount(AddRec->getLoop()); in getRange()
4832 if (!isLoopInvariant(OtherOp, AddRec->getLoop())) { in isSCEVExprNeverPoison()
4839 isGuaranteedToExecuteForEveryIteration(I, AddRec->getLoop())) in isSCEVExprNeverPoison()
5976 if (AddRec->getLoop() == L) { in computeExitLimitFromICmp()
6867 getAddRecExpr(NewOps, AddRec->getLoop(), in computeSCEVAtScope()
6880 if (!AddRec->getLoop()->contains(L)) { in computeSCEVAtScope()
6883 const SCEV *BackedgeTakenCount = getBackedgeTakenCount(AddRec->getLoop()); in computeSCEVAtScope()
7058 if (!AddRec || AddRec->getLoop() != L) in howFarToZero()
7200 loopHasNoAbnormalExits(AddRec->getLoop())) { in howFarToZero()
7310 const Loop *L = AR->getLoop(); in SimplifyICmpOperands()
7589 const Loop *L = LAR->getLoop(); in isKnownPredicate()
7597 const Loop *L = RAR->getLoop(); in isKnownPredicate()
7705 if (!ArLHS || ArLHS->getLoop() != L) in isLoopInvariantPredicate()
8246 if (LAR->getLoop() != MAR->getLoop()) in computeConstantDifference()
8307 const Loop *L = AddRecFoundLHS->getLoop(); in isImpliedCondOperandsViaNoOverflow()
8308 if (L != AddRecLHS->getLoop()) in isImpliedCondOperandsViaNoOverflow()
8441 if (LAR->getLoop() != RAR->getLoop()) in IsKnownPredicateViaAddRecStart()
8654 if (!IV || IV->getLoop() != L || !IV->isAffine()) in howManyLessThans()
8729 if (!IV || IV->getLoop() != L || !IV->isAffine()) in howManyGreaterThans()
8799 const SCEV *Shifted = SE.getAddRecExpr(Operands, getLoop(), in getNumIterationsInRange()
8858 const SCEV *NewAddRec = SE.getAddRecExpr(NewOps, getLoop(), in getNumIterationsInRange()
9721 if (AR->getLoop() == L) in computeLoopDisposition()
9729 if (L->contains(AR->getLoop())) in computeLoopDisposition()
9733 if (AR->getLoop()->contains(L)) in computeLoopDisposition()
9826 if (!DT.dominates(AR->getLoop()->getHeader(), BB)) in computeBlockDisposition()
10131 if (AR && AR->getLoop() == L && AR->isAffine()) { in visitZeroExtendExpr()
10147 if (AR && AR->getLoop() == L && AR->isAffine()) { in visitSignExtendExpr()