Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DScalarEvolution.h281 class SCEVWrapPredicate final : public SCEVPredicate {
314 static SCEVWrapPredicate::IncrementWrapFlags LLVM_ATTRIBUTE_UNUSED_RESULT
315 clearFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
316 SCEVWrapPredicate::IncrementWrapFlags OffFlags) {
320 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & ~OffFlags);
323 static SCEVWrapPredicate::IncrementWrapFlags LLVM_ATTRIBUTE_UNUSED_RESULT
324 maskFlags(SCEVWrapPredicate::IncrementWrapFlags Flags, int Mask) {
328 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & Mask);
331 static SCEVWrapPredicate::IncrementWrapFlags LLVM_ATTRIBUTE_UNUSED_RESULT
332 setFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
[all …]
DScalarEvolutionExpander.h217 Value *expandWrapPredicate(const SCEVWrapPredicate *P, Instruction *Loc);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h286 class SCEVWrapPredicate final : public SCEVPredicate {
319 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
320 clearFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
321 SCEVWrapPredicate::IncrementWrapFlags OffFlags) {
325 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & ~OffFlags);
328 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
329 maskFlags(SCEVWrapPredicate::IncrementWrapFlags Flags, int Mask) {
333 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & Mask);
336 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
337 setFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
[all …]
DScalarEvolutionExpander.h229 Value *expandWrapPredicate(const SCEVWrapPredicate *P, Instruction *Loc);
/external/llvm/lib/Analysis/
DScalarEvolution.cpp10086 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in getWrapPredicate()
10096 SCEVWrapPredicate(ID.Intern(SCEVAllocator), AR, AddedFlags); in getWrapPredicate()
10136 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNUSW)) in visitZeroExtendExpr()
10152 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNSSW)) in visitSignExtendExpr()
10162 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in addOverflowAssumption()
10228 SCEVWrapPredicate::SCEVWrapPredicate(const FoldingSetNodeIDRef ID, in SCEVWrapPredicate() function in SCEVWrapPredicate
10233 const SCEV *SCEVWrapPredicate::getExpr() const { return AR; } in getExpr()
10235 bool SCEVWrapPredicate::implies(const SCEVPredicate *N) const { in implies()
10236 const auto *Op = dyn_cast<SCEVWrapPredicate>(N); in implies()
10241 bool SCEVWrapPredicate::isAlwaysTrue() const { in isAlwaysTrue()
[all …]
DScalarEvolutionExpander.cpp2015 auto *AddRecPred = cast<SCEVWrapPredicate>(Pred); in expandCodeForPredicate()
2117 Value *SCEVExpander::expandWrapPredicate(const SCEVWrapPredicate *Pred, in expandWrapPredicate()
2123 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNUSW) in expandWrapPredicate()
2127 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNSSW) in expandWrapPredicate()
DLoopAccessAnalysis.cpp911 PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW) || in getPtrStride()
916 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
968 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp648 if (Stride == 1 || PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW)) in isNoWrap()
672 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in createCheckForAccess()
1033 PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW) || in getPtrStride()
1039 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
1093 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
DScalarEvolution.cpp4826 SCEVWrapPredicate::IncrementWrapFlags AddedFlags = in createAddRecFromPHIWithCastsImpl()
4827 Signed ? SCEVWrapPredicate::IncrementNSSW in createAddRecFromPHIWithCastsImpl()
4828 : SCEVWrapPredicate::IncrementNUSW; in createAddRecFromPHIWithCastsImpl()
11830 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in getWrapPredicate()
11840 SCEVWrapPredicate(ID.Intern(SCEVAllocator), AR, AddedFlags); in getWrapPredicate()
11884 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNUSW)) in visitZeroExtendExpr()
11900 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNSSW)) in visitSignExtendExpr()
11924 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in addOverflowAssumption()
11944 if (auto *WP = dyn_cast<const SCEVWrapPredicate>(P)) { in convertToAddRecWithPreds()
12014 SCEVWrapPredicate::SCEVWrapPredicate(const FoldingSetNodeIDRef ID, in SCEVWrapPredicate() function in SCEVWrapPredicate
[all …]
DScalarEvolutionExpander.cpp2131 auto *AddRecPred = cast<SCEVWrapPredicate>(Pred); in expandCodeForPredicate()
2245 Value *SCEVExpander::expandWrapPredicate(const SCEVWrapPredicate *Pred, in expandWrapPredicate()
2251 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNUSW) in expandWrapPredicate()
2255 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNSSW) in expandWrapPredicate()