Home
last modified time | relevance | path

Searched refs:SCEVWrapPredicate (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h321 class SCEVWrapPredicate final : public SCEVPredicate {
354 [[nodiscard]] static SCEVWrapPredicate::IncrementWrapFlags
355 clearFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
356 SCEVWrapPredicate::IncrementWrapFlags OffFlags) {
360 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & ~OffFlags);
363 [[nodiscard]] static SCEVWrapPredicate::IncrementWrapFlags
364 maskFlags(SCEVWrapPredicate::IncrementWrapFlags Flags, int Mask) {
368 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & Mask);
371 [[nodiscard]] static SCEVWrapPredicate::IncrementWrapFlags
372 setFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h332 Value *expandWrapPredicate(const SCEVWrapPredicate *P, Instruction *Loc);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp5607 SCEVWrapPredicate::IncrementWrapFlags AddedFlags = in createAddRecFromPHIWithCastsImpl()
5608 Signed ? SCEVWrapPredicate::IncrementNSSW in createAddRecFromPHIWithCastsImpl()
5609 : SCEVWrapPredicate::IncrementNUSW; in createAddRecFromPHIWithCastsImpl()
14579 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in getWrapPredicate()
14589 SCEVWrapPredicate(ID.Intern(SCEVAllocator), AR, AddedFlags); in getWrapPredicate()
14639 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNUSW)) in visitZeroExtendExpr()
14655 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNSSW)) in visitSignExtendExpr()
14679 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in addOverflowAssumption()
14700 if (auto *WP = dyn_cast<const SCEVWrapPredicate>(P)) { in convertToAddRecWithPreds()
14777 SCEVWrapPredicate::SCEVWrapPredicate(const FoldingSetNodeIDRef ID, in SCEVWrapPredicate() function in SCEVWrapPredicate
[all …]
H A DLoopAccessAnalysis.cpp841 if (Stride == 1 || PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW)) in isNoWrap()
1094 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in createCheckForAccess()
1413 if (PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW)) in isNoWrapAddRec()
1544 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2066 auto *AddRecPred = cast<SCEVWrapPredicate>(Pred); in expandCodeForPredicate()
2209 Value *SCEVExpander::expandWrapPredicate(const SCEVWrapPredicate *Pred, in expandWrapPredicate()
2215 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNUSW) in expandWrapPredicate()
2219 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNSSW) in expandWrapPredicate()