Searched refs:getNegativeSCEV (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 366 return SE->getNegativeSCEV(C); in getD() 398 B = SE->getNegativeSCEV(A); in setDistance() 399 C = SE->getNegativeSCEV(D); in setDistance() 1245 SE->getNegativeSCEV(Coeff), in strongSIVtest() 1246 SE->getNegativeSCEV(Delta), CurLoop); in strongSIVtest() 1338 Delta = SE->getNegativeSCEV(Delta); in weakCrossingSIVtest() 1519 NewConstraint.setLine(SrcCoeff, SE->getNegativeSCEV(DstCoeff), Delta, in exactSIVtest() 1730 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroSrcSIVtest() 1839 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroDstSIVtest() 2183 else if (SrcCoeff == SE->getNegativeSCEV(DstCoeff)) in testSIV() [all …]
|
| H A D | LoopCacheAnalysis.cpp | 101 StepRec = SE.getNegativeSCEV(StepRec); in isOneDimensionalArray() 430 SE.getNegativeSCEV(StepRec), in delinearize() 493 Stride = SE.isKnownNegative(Stride) ? SE.getNegativeSCEV(Stride) : Stride; in isConsecutive()
|
| H A D | ScalarEvolution.cpp | 3755 return getSMaxExpr(Op, getNegativeSCEV(Op, Flags)); in getAbsExpr() 4427 const SCEV *ScalarEvolution::getNegativeSCEV(const SCEV *V, in getNegativeSCEV() function in ScalarEvolution 4560 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags, Depth); in getMinusSCEV() 6790 const SCEV *StepAbs = getUMinExpr(Step, getNegativeSCEV(Step)); in getRangeForAffineNoSelfWrappingAR() 7484 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS))); in createSCEV() 10195 const SCEV *Distance = CountDown ? Start : getNegativeSCEV(Start); in howFarToZero() 10231 getUDivExpr(Distance, CountDown ? getNegativeSCEV(Step) : Step); in howFarToZero() 10806 auto *MinusOne = getNegativeSCEV(One); in getLoopInvariantExitCondDuringFirstIterations() 12837 const SCEV *Stride = getNegativeSCEV(IV->getStepRecurrence(*this)); in howManyGreaterThans() 14503 MatchURemWithDivisor(getNegativeSCEV(Mul->getOperand(1))) || in matchURem() [all …]
|
| H A D | LoopAccessAnalysis.cpp | 1731 const SCEV *NegDist = SE.getNegativeSCEV(CastedDist); in isSafeDependenceDistance()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | SCEVValidator.cpp | 695 Factor = cast<SCEVConstant>(SE.getNegativeSCEV(Factor)); in extractConstantFactor() 696 LeftOvers.push_back(SE.getNegativeSCEV(Op0Pair.second)); in extractConstantFactor() 706 else if (Factor == SE.getNegativeSCEV(OpUPair.first)) in extractConstantFactor() 707 LeftOvers.push_back(SE.getNegativeSCEV(OpUPair.second)); in extractConstantFactor()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 300 SE->getNegativeSCEV(VW)), in IsSafeActiveMask()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ScalarEvolutionTest.cpp | 1026 const auto *A0 = SE.getNegativeSCEV(ArgSCEV); in TEST_F() 1028 const auto *A = SE.getNegativeSCEV(A1); in TEST_F() 1031 const auto *B = SE.getNegativeSCEV(B0); in TEST_F() 1444 const SCEV *AddRec_0_N1 = SE.getNegativeSCEV(AddRec_0_1); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 790 Value *W = expandCodeForImpl(SE.getNegativeSCEV(Op), Ty, false); in visitAddExpr() 1297 Step = SE.getNegativeSCEV(Step); in getAddRecExprPHILiterally() 1452 Step = SE.getNegativeSCEV(Step); in expandAddRecExprLiterally() 2397 expandCodeForImpl(SE.getNegativeSCEV(Step), Ty, Loc, false); in generateOverflowCheck()
|
| H A D | SimplifyIndVar.cpp | 1617 SE->getNegativeSCEV(RHS), CtxI); in widenWithVariantUse()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 957 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in prepareBaseForDispFormChain() 1002 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in prepareBaseForUpdateFormChain()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 962 IsNegStride ? SE->getNegativeSCEV(PointerStrideSCEV) in processLoopMemSet() 1069 SE->getNegativeSCEV(SE->getOne(BECount->getType())))) { in getTripCount() 2673 ExtraOffsetExpr = SE->getNegativeSCEV(SE->getSCEV(ExtraOffset)); in detectShiftUntilZeroIdiom()
|
| H A D | InductiveRangeCheckElimination.cpp | 868 const SCEV *Addend = SE.getNegativeSCEV(IndVarBase->getStepRecurrence(SE)); in parseLoopStructure() 1686 const SCEV *NegOne = SE.getNegativeSCEV(One); in computeSafeIterationSpace()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolution.h | 669 const SCEV *getNegativeSCEV(const SCEV *V,
|