Searched refs:LeftSCEV (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp192 const SCEV *LeftSCEV = SE.getSCEV(LeftVal);
197 if (SE.isKnownPredicate(Pred, LeftSCEV, RightSCEV) ||
198 SE.isKnownPredicate(ICmpInst::getInversePredicate(Pred), LeftSCEV,
203 // expression. Normalize LeftSCEV to be the AddRec.
204 if (!isa<SCEVAddRecExpr>(LeftSCEV)) {
206 std::swap(LeftSCEV, RightSCEV);
212 const SCEVAddRecExpr *LeftAR = cast<SCEVAddRecExpr>(LeftSCEV);
229 SE.getConstant(LeftSCEV->getType(), NewPeelCount), SE);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp806 const SCEV *LeftSCEV = SE.getSCEV(LeftValue); local
812 // We canonicalize `ICI` such that `LeftSCEV` is an add recurrence.
813 if (!isa<SCEVAddRecExpr>(LeftSCEV)) {
815 std::swap(LeftSCEV, RightSCEV);
853 const SCEVAddRecExpr *IndVarBase = cast<SCEVAddRecExpr>(LeftSCEV);

Completed in 117 milliseconds