Home
last modified time | relevance | path

Searched refs:getNegativeSCEV (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp366 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 DLoopCacheAnalysis.cpp101 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 DScalarEvolution.cpp3755 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 DLoopAccessAnalysis.cpp1731 const SCEV *NegDist = SE.getNegativeSCEV(CastedDist); in isSafeDependenceDistance()
/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVValidator.cpp695 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 DMVETailPredication.cpp300 SE->getNegativeSCEV(VW)), in IsSafeActiveMask()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp1026 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 DScalarEvolutionExpander.cpp790 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 DSimplifyIndVar.cpp1617 SE->getNegativeSCEV(RHS), CtxI); in widenWithVariantUse()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp957 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 DLoopIdiomRecognize.cpp962 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 DInductiveRangeCheckElimination.cpp868 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 DScalarEvolution.h669 const SCEV *getNegativeSCEV(const SCEV *V,