/external/llvm-project/llvm/test/Transforms/IndVarSimplify/X86/ |
D | inner-loop.ll | 5 ; and utility function isLoopEntryGuardedByCond and that leads to miscompile.
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 1014 SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_SLT, S, Zero); in isKnownNegativeInLoop() 1021 SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_SGE, S, Zero); in isKnownNonNegativeInLoop() 1031 SE.isLoopEntryGuardedByCond(L, Predicate, S, in cannotBeMinInLoop() 1042 SE.isLoopEntryGuardedByCond(L, Predicate, S, in cannotBeMaxInLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 672 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, BoundSCEV); in isSafeDecreasingBound() 686 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, MinusOne) && in isSafeDecreasingBound() 687 SE.isLoopEntryGuardedByCond(L, BoundPred, BoundSCEV, Limit); in isSafeDecreasingBound() 720 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, BoundSCEV); in isSafeIncreasingBound() 731 return (SE.isLoopEntryGuardedByCond(L, BoundPred, Start, in isSafeIncreasingBound() 733 SE.isLoopEntryGuardedByCond(L, BoundPred, BoundSCEV, Limit)); in isSafeIncreasingBound()
|
D | LoopPredication.cpp | 408 if (SE->isLoopEntryGuardedByCond(L, Pred, LHS, RHS)) in expandCheck() 410 if (SE->isLoopEntryGuardedByCond(L, ICmpInst::getInversePredicate(Pred), in expandCheck()
|
D | LoopIdiomRecognize.cpp | 860 SE->isLoopEntryGuardedByCond( in getNumBytes()
|
D | IndVarSimplify.cpp | 2781 if (SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT, in optimizeLoopExits()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 688 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, BoundSCEV); in isSafeDecreasingBound() 702 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, MinusOne) && in isSafeDecreasingBound() 703 SE.isLoopEntryGuardedByCond(L, BoundPred, BoundSCEV, Limit); in isSafeDecreasingBound() 736 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, BoundSCEV); in isSafeIncreasingBound() 747 return (SE.isLoopEntryGuardedByCond(L, BoundPred, Start, in isSafeIncreasingBound() 749 SE.isLoopEntryGuardedByCond(L, BoundPred, BoundSCEV, Limit)); in isSafeIncreasingBound()
|
D | LoopPredication.cpp | 409 if (SE->isLoopEntryGuardedByCond(L, Pred, LHS, RHS)) in expandCheck() 411 if (SE->isLoopEntryGuardedByCond(L, ICmpInst::getInversePredicate(Pred), in expandCheck()
|
D | IndVarSimplify.cpp | 1525 if (SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT, in optimizeLoopExits()
|
D | LoopIdiomRecognize.cpp | 901 SE->isLoopEntryGuardedByCond( in getNumBytes()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 1128 SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_SLT, S, Zero); in isKnownNegativeInLoop() 1135 SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_SGE, S, Zero); in isKnownNonNegativeInLoop() 1145 SE.isLoopEntryGuardedByCond(L, Predicate, S, in cannotBeMinInLoop() 1156 SE.isLoopEntryGuardedByCond(L, Predicate, S, in cannotBeMaxInLoop()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 391 if (SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, TripCount, in InitLoopCount()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 393 if (SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, ExitCount, in InitLoopCount()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1307 SE->isLoopEntryGuardedByCond(L, Pred, PreStart, OverflowLimit)) in getPreStartForExtend() 1541 (isLoopEntryGuardedByCond(L, ICmpInst::ICMP_ULT, Start, N) && in getZeroExtendExpr() 1556 (isLoopEntryGuardedByCond(L, ICmpInst::ICMP_UGT, Start, N) && in getZeroExtendExpr() 1777 (isLoopEntryGuardedByCond(L, Pred, Start, OverflowLimit) && in getSignExtendExpr() 7590 if (isLoopEntryGuardedByCond(L, Pred, LAR->getStart(), RHS) && in isKnownPredicate() 7598 if (isLoopEntryGuardedByCond(L, Pred, LHS, RAR->getStart()) && in isKnownPredicate() 7976 ScalarEvolution::isLoopEntryGuardedByCond(const Loop *L, in isLoopEntryGuardedByCond() function in ScalarEvolution 8362 return isLoopEntryGuardedByCond(L, Pred, FoundRHS, in isImpliedCondOperandsViaNoOverflow() 8677 if (!isLoopEntryGuardedByCond(L, Cond, getMinusSCEV(Start, Stride), RHS)) in howManyLessThans() 8753 if (!isLoopEntryGuardedByCond(L, Cond, getAddExpr(Start, Stride), RHS)) in howManyGreaterThans()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 1341 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1395 SE->isLoopEntryGuardedByCond(L, Pred, PreStart, OverflowLimit)) in getPreStartForExtend() 9109 if (isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, DistancePlusOne, Zero)) { in howFarToZero() 9485 isLoopEntryGuardedByCond(MDL, Pred, SplitLHS.first, SplitRHS.first); in isKnownViaInduction() 9515 return isLoopEntryGuardedByCond(L, Pred, LHS->getStart(), RHS) && in isKnownOnEveryIteration() 10057 bool ScalarEvolution::isLoopEntryGuardedByCond(const Loop *L, in isLoopEntryGuardedByCond() function in ScalarEvolution 10497 isLoopEntryGuardedByCond(L, Pred, FoundRHS, in isImpliedCondOperandsViaNoOverflow() 11213 if (isLoopEntryGuardedByCond(L, Cond, getMinusSCEV(Start, Stride), RHS)) in howManyLessThans() 11218 if (isLoopEntryGuardedByCond( in howManyLessThans() 11289 if (!isLoopEntryGuardedByCond(L, Cond, getAddExpr(Start, Stride), RHS)) { in howManyGreaterThans() 11292 if (isLoopEntryGuardedByCond( in howManyGreaterThans()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 676 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 694 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1510 SE->isLoopEntryGuardedByCond(L, Pred, PreStart, OverflowLimit)) in getPreStartForExtend() 8858 if (isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, DistancePlusOne, Zero)) { in howFarToZero() 9229 return isLoopEntryGuardedByCond(MDL, Pred, SplitLHS.first, SplitRHS.first) && in isKnownViaInduction() 9253 return isLoopEntryGuardedByCond(L, Pred, LHS->getStart(), RHS) && in isKnownOnEveryIteration() 9624 ScalarEvolution::isLoopEntryGuardedByCond(const Loop *L, in isLoopEntryGuardedByCond() function in ScalarEvolution 10062 isLoopEntryGuardedByCond(L, Pred, FoundRHS, in isImpliedCondOperandsViaNoOverflow() 10755 if (isLoopEntryGuardedByCond(L, Cond, getMinusSCEV(Start, Stride), RHS)) in howManyLessThans() 10825 if (!isLoopEntryGuardedByCond(L, Cond, getAddExpr(Start, Stride), RHS)) in howManyGreaterThans()
|