Home
last modified time | relevance | path

Searched refs:MaxBECount (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1576 const SCEV *MaxBECount = SE->getSymbolicMaxBackedgeTakenCount(L); in optimizeLoopExits() local
1577 if (isa<SCEVCouldNotCompute>(MaxBECount)) in optimizeLoopExits()
1613 if (CurrMaxExit == MaxBECount) in optimizeLoopExits()
1627 MaxBECount, SkipLastIter, in optimizeLoopExits()
1670 MaxBECount->getType()->isIntegerTy() && in optimizeLoopExits()
1674 SE->getWiderType(MaxBECount->getType(), ExactExitCount->getType()); in optimizeLoopExits()
1676 MaxBECount = SE->getNoopOrZeroExtend(MaxBECount, WiderType); in optimizeLoopExits()
1677 assert(MaxBECount->getType() == ExactExitCount->getType()); in optimizeLoopExits()
1681 if (SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT, MaxBECount, in optimizeLoopExits()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp327 const SCEV *MaxBECount = in isDereferenceableAndAlignedInLoop() local
333 if (isa<SCEVCouldNotCompute>(MaxBECount)) in isDereferenceableAndAlignedInLoop()
339 MaxBECount = in isDereferenceableAndAlignedInLoop()
345 L, PtrScev, LI->getType(), BECount, MaxBECount, &SE, nullptr); in isDereferenceableAndAlignedInLoop()
H A DScalarEvolution.cpp1646 const SCEV *MaxBECount = getConstantMaxBackedgeTakenCount(L); in getZeroExtendExprImpl() local
1647 if (!isa<SCEVCouldNotCompute>(MaxBECount)) { in getZeroExtendExprImpl()
1653 getTruncateOrZeroExtend(MaxBECount, Start->getType(), Depth); in getZeroExtendExprImpl()
1655 CastedMaxBECount, MaxBECount->getType(), Depth); in getZeroExtendExprImpl()
1656 if (MaxBECount == RecastedMaxBECount) { in getZeroExtendExprImpl()
1711 if (!isa<SCEVCouldNotCompute>(MaxBECount) || HasGuards || in getZeroExtendExprImpl()
2019 const SCEV *MaxBECount = getConstantMaxBackedgeTakenCount(L); in getSignExtendExprImpl() local
2020 if (!isa<SCEVCouldNotCompute>(MaxBECount)) { in getSignExtendExprImpl()
2027 getTruncateOrZeroExtend(MaxBECount, Start->getType(), Depth); in getSignExtendExprImpl()
2029 CastedMaxBECount, MaxBECount->getType(), Depth); in getSignExtendExprImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1782 const APInt &MaxBECount);
1787 const SCEV *MaxBECount,
1795 const APInt &MaxBECount);