Home
last modified time | relevance | path

Searched refs:SCEVWrapPredicate (Results 1 – 15 of 15) 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-10.0/llvm/include/llvm/Analysis/
DScalarEvolution.h302 class SCEVWrapPredicate final : public SCEVPredicate {
335 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
336 clearFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
337 SCEVWrapPredicate::IncrementWrapFlags OffFlags) {
341 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & ~OffFlags);
344 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
345 maskFlags(SCEVWrapPredicate::IncrementWrapFlags Flags, int Mask) {
349 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & Mask);
352 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
353 setFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
[all …]
DScalarEvolutionExpander.h232 Value *expandWrapPredicate(const SCEVWrapPredicate *P, Instruction *Loc);
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h304 class SCEVWrapPredicate final : public SCEVPredicate {
337 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
338 clearFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
339 SCEVWrapPredicate::IncrementWrapFlags OffFlags) {
343 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & ~OffFlags);
346 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
347 maskFlags(SCEVWrapPredicate::IncrementWrapFlags Flags, int Mask) {
351 return (SCEVWrapPredicate::IncrementWrapFlags)(Flags & Mask);
354 LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
355 setFlags(SCEVWrapPredicate::IncrementWrapFlags Flags,
[all …]
/external/llvm-project/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp651 if (Stride == 1 || PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW)) in isNoWrap()
675 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in createCheckForAccess()
1059 PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW) || in getPtrStride()
1065 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
1119 PSE.setNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW); in getPtrStride()
DScalarEvolution.cpp4895 SCEVWrapPredicate::IncrementWrapFlags AddedFlags = in createAddRecFromPHIWithCastsImpl()
4896 Signed ? SCEVWrapPredicate::IncrementNSSW in createAddRecFromPHIWithCastsImpl()
4897 : SCEVWrapPredicate::IncrementNUSW; in createAddRecFromPHIWithCastsImpl()
12697 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in getWrapPredicate()
12707 SCEVWrapPredicate(ID.Intern(SCEVAllocator), AR, AddedFlags); in getWrapPredicate()
12751 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNUSW)) in visitZeroExtendExpr()
12767 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNSSW)) in visitSignExtendExpr()
12791 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in addOverflowAssumption()
12811 if (auto *WP = dyn_cast<const SCEVWrapPredicate>(P)) { in convertToAddRecWithPreds()
12881 SCEVWrapPredicate::SCEVWrapPredicate(const FoldingSetNodeIDRef ID, in SCEVWrapPredicate() function in SCEVWrapPredicate
[all …]
/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-10.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.cpp4830 SCEVWrapPredicate::IncrementWrapFlags AddedFlags = in createAddRecFromPHIWithCastsImpl()
4831 Signed ? SCEVWrapPredicate::IncrementNSSW in createAddRecFromPHIWithCastsImpl()
4832 : SCEVWrapPredicate::IncrementNUSW; in createAddRecFromPHIWithCastsImpl()
12154 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in getWrapPredicate()
12164 SCEVWrapPredicate(ID.Intern(SCEVAllocator), AR, AddedFlags); in getWrapPredicate()
12208 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNUSW)) in visitZeroExtendExpr()
12224 if (addOverflowAssumption(AR, SCEVWrapPredicate::IncrementNSSW)) in visitSignExtendExpr()
12248 SCEVWrapPredicate::IncrementWrapFlags AddedFlags) { in addOverflowAssumption()
12268 if (auto *WP = dyn_cast<const SCEVWrapPredicate>(P)) { in convertToAddRecWithPreds()
12338 SCEVWrapPredicate::SCEVWrapPredicate(const FoldingSetNodeIDRef ID, in SCEVWrapPredicate() function in SCEVWrapPredicate
[all …]
DScalarEvolutionExpander.cpp2221 auto *AddRecPred = cast<SCEVWrapPredicate>(Pred); in expandCodeForPredicate()
2335 Value *SCEVExpander::expandWrapPredicate(const SCEVWrapPredicate *Pred, in expandWrapPredicate()
2341 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNUSW) in expandWrapPredicate()
2345 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNSSW) in expandWrapPredicate()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DScalarEvolutionExpander.h298 Value *expandWrapPredicate(const SCEVWrapPredicate *P, Instruction *Loc);
/external/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp2443 auto *AddRecPred = cast<SCEVWrapPredicate>(Pred); in expandCodeForPredicate()
2559 Value *SCEVExpander::expandWrapPredicate(const SCEVWrapPredicate *Pred, in expandWrapPredicate()
2565 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNUSW) in expandWrapPredicate()
2569 if (Pred->getFlags() & SCEVWrapPredicate::IncrementNSSW) in expandWrapPredicate()