reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
368 const SCEV *LHSS = SE->getSCEV(LHS); 371 const SCEV *RHSS = SE->getSCEV(RHS); 376 if (SE->isLoopInvariant(LHSS, L)) { 396 if (SE->isLoopInvariant(LHS, L) && SE->isLoopInvariant(RHS, L)) { 396 if (SE->isLoopInvariant(LHS, L) && SE->isLoopInvariant(RHS, L)) { 398 if (SE->isLoopEntryGuardedByCond(L, Pred, LHS, RHS)) 400 if (SE->isLoopEntryGuardedByCond(L, ICmpInst::getInversePredicate(Pred), 508 if (!SE->isLoopInvariant(Op, L) || 509 !isSafeToExpandAt(Op, Preheader->getTerminator(), *SE)) 534 if (SE->isLoopInvariant(S, L)) 575 if (!isSafeToExpandAt(LatchStart, Guard, *SE) || 576 !isSafeToExpandAt(LatchLimit, Guard, *SE)) { 583 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), 583 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), 584 SE->getMinusSCEV(LatchStart, SE->getOne(Ty))); 584 SE->getMinusSCEV(LatchStart, SE->getOne(Ty))); 618 if (!isSafeToExpandAt(LatchStart, Guard, *SE) || 619 !isSafeToExpandAt(LatchLimit, Guard, *SE)) { 625 auto *PostDecLatchCheckIV = LatchCheck.IV->getPostIncExpr(*SE); 643 SE->getOne(Ty)); 690 auto *Step = RangeCheckIV->getStepRecurrence(*SE); 698 auto CurrLatchCheckOpt = generateLoopLatchCheck(*DL, *SE, LatchCheck, Ty); 710 CurrLatchCheck.IV->getStepRecurrence(*SE)->getType() && 712 if (Step != CurrLatchCheck.IV->getStepRecurrence(*SE)) { 874 auto *Step = Result->IV->getStepRecurrence(*SE); 891 normalizePredicate(SE, L, *Result); 1010 SCEVExpander Expander(*SE, *DL, "loop-predication");