/external/llvm-project/llvm/lib/Analysis/ |
D | LoopCacheAnalysis.cpp | 100 StepRec = SE.getNegativeSCEV(StepRec); in isOneDimensionalArray() 298 Stride = SE.getNegativeSCEV(Stride); in computeRefCost() 374 SE.getNegativeSCEV(StepRec), in delinearize() 424 Stride = SE.isKnownNegative(Stride) ? SE.getNegativeSCEV(Stride) : Stride; in isConsecutive()
|
D | DependenceAnalysis.cpp | 364 return SE->getNegativeSCEV(C); in getD() 396 B = SE->getNegativeSCEV(A); in setDistance() 397 C = SE->getNegativeSCEV(D); in setDistance() 1169 SE->isKnownNonNegative(Delta) ? Delta : SE->getNegativeSCEV(Delta); in strongSIVtest() 1171 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest() 1223 SE->getNegativeSCEV(Coeff), in strongSIVtest() 1224 SE->getNegativeSCEV(Delta), CurLoop); in strongSIVtest() 1313 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest() 1316 Delta = SE->getNegativeSCEV(Delta); in weakCrossingSIVtest() 1495 NewConstraint.setLine(SrcCoeff, SE->getNegativeSCEV(DstCoeff), in exactSIVtest() [all …]
|
D | ScalarEvolution.cpp | 3485 return getSMaxExpr(Op, getNegativeSCEV(Op, Flags)); in getAbsExpr() 3914 const SCEV *ScalarEvolution::getNegativeSCEV(const SCEV *V, in getNegativeSCEV() function in ScalarEvolution 4004 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags, Depth); in getMinusSCEV() 6011 const SCEV *StepAbs = getUMinExpr(Step, getNegativeSCEV(Step)); in getRangeForAffineNoSelfWrappingAR() 6400 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS))); in createSCEV() 9088 const SCEV *Distance = CountDown ? Start : getNegativeSCEV(Start); in howFarToZero() 9126 getUDivExpr(Distance, CountDown ? getNegativeSCEV(Step) : Step); in howFarToZero() 9136 getNegativeSCEV(Start), *this); in howFarToZero() 9663 auto *MinusOne = getNegativeSCEV(One); in getLoopInvariantExitCondDuringFirstIterations() 11271 const SCEV *Stride = getNegativeSCEV(IV->getStepRecurrence(*this)); in howManyGreaterThans() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 364 return SE->getNegativeSCEV(C); in getD() 396 B = SE->getNegativeSCEV(A); in setDistance() 397 C = SE->getNegativeSCEV(D); in setDistance() 1167 SE->isKnownNonNegative(Delta) ? Delta : SE->getNegativeSCEV(Delta); in strongSIVtest() 1169 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest() 1221 SE->getNegativeSCEV(Coeff), in strongSIVtest() 1222 SE->getNegativeSCEV(Delta), CurLoop); in strongSIVtest() 1311 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest() 1314 Delta = SE->getNegativeSCEV(Delta); in weakCrossingSIVtest() 1506 NewConstraint.setLine(SrcCoeff, SE->getNegativeSCEV(DstCoeff), in exactSIVtest() [all …]
|
D | ScalarEvolutionExpander.cpp | 740 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 1119 SE.getNegativeSCEV(Requested)) == Phi) { in canBeCheaplyTransformed() 1282 Step = SE.getNegativeSCEV(Step); in getAddRecExprPHILiterally() 1425 Step = SE.getNegativeSCEV(Step); in expandAddRecExprLiterally() 2270 Value *NegStepValue = expandCodeFor(SE.getNegativeSCEV(Step), Ty, Loc); in generateOverflowCheck() 2297 const SCEV *NegMulS = SE.getNegativeSCEV(MulS); in generateOverflowCheck()
|
D | ScalarEvolution.cpp | 3953 const SCEV *ScalarEvolution::getNegativeSCEV(const SCEV *V, in getNegativeSCEV() function in ScalarEvolution 4047 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags, Depth); in getMinusSCEV() 6233 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS))); in createSCEV() 8840 const SCEV *Distance = CountDown ? Start : getNegativeSCEV(Start); in howFarToZero() 8875 getUDivExpr(Distance, CountDown ? getNegativeSCEV(Step) : Step); in howFarToZero() 8885 getNegativeSCEV(Start), *this); in howFarToZero() 10330 auto *MinusOne = getNegativeSCEV(getOne(RHS->getType())); in isImpliedViaOperations() 10403 auto *MinusOne = getNegativeSCEV(getOne(WTy)); in isImpliedViaOperations() 10807 const SCEV *Stride = getNegativeSCEV(IV->getStepRecurrence(*this)); in howManyGreaterThans() 12614 MatchURemWithDivisor(getNegativeSCEV(Mul->getOperand(1))) || in matchURem() [all …]
|
/external/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 344 return SE->getNegativeSCEV(C); in getD() 376 B = SE->getNegativeSCEV(A); in setDistance() 377 C = SE->getNegativeSCEV(D); in setDistance() 1090 SE->isKnownNonNegative(Delta) ? Delta : SE->getNegativeSCEV(Delta); in strongSIVtest() 1092 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest() 1144 SE->getNegativeSCEV(Coeff), in strongSIVtest() 1145 SE->getNegativeSCEV(Delta), CurLoop); in strongSIVtest() 1234 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest() 1237 Delta = SE->getNegativeSCEV(Delta); in weakCrossingSIVtest() 1429 NewConstraint.setLine(SrcCoeff, SE->getNegativeSCEV(DstCoeff), in exactSIVtest() [all …]
|
D | ScalarEvolutionExpander.cpp | 718 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 1045 SE.getNegativeSCEV(Requested)) == Phi) { in canBeCheaplyTransformed() 1203 Step = SE.getNegativeSCEV(Step); in getAddRecExprPHILiterally() 1342 Step = SE.getNegativeSCEV(Step); in expandAddRecExprLiterally() 2062 Value *NegStepValue = expandCodeFor(SE.getNegativeSCEV(Step), Ty, Loc); in generateOverflowCheck()
|
D | ScalarEvolution.cpp | 3447 const SCEV *ScalarEvolution::getNegativeSCEV(const SCEV *V, in getNegativeSCEV() function in ScalarEvolution 3507 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags); in getMinusSCEV() 4984 AddOps.push_back(getNegativeSCEV(getSCEV(BO->RHS))); in createSCEV() 7119 const SCEV *Distance = CountDown ? Start : getNegativeSCEV(Start); in howFarToZero() 7202 getUDivExpr(Distance, CountDown ? getNegativeSCEV(Step) : Step); in howFarToZero() 8735 const SCEV *Stride = getNegativeSCEV(IV->getStepRecurrence(*this)); in howManyGreaterThans() 8857 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper())); in getNumIterationsInRange()
|
/external/llvm-project/polly/lib/Support/ |
D | SCEVValidator.cpp | 739 Factor = cast<SCEVConstant>(SE.getNegativeSCEV(Factor)); in extractConstantFactor() 740 LeftOvers.push_back(SE.getNegativeSCEV(Op0Pair.second)); in extractConstantFactor() 750 else if (Factor == SE.getNegativeSCEV(OpUPair.first)) in extractConstantFactor() 751 LeftOvers.push_back(SE.getNegativeSCEV(OpUPair.second)); in extractConstantFactor()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRerollPass.cpp | 486 SE->getUDivExpr(SE->getNegativeSCEV(SCEVExpr), SizeOfExpr); in getIncrmentFactorSCEV() 487 return dyn_cast<SCEVConstant>(SE->getNegativeSCEV(NewSCEV)); in getIncrmentFactorSCEV() 1463 NewInc = SE->getNegativeSCEV(COp); in updateNonLoopCtrlIncr() 1465 NewInc = SE->getNegativeSCEV(NewInc); in updateNonLoopCtrlIncr()
|
D | InductiveRangeCheckElimination.cpp | 794 const SCEV *Addend = SE.getNegativeSCEV(IndVarNext->getStepRecurrence(SE)); in parseLoopStructure() 1328 const SCEV *Begin = SE.getNegativeSCEV(M); in computeSafeIterationSpace()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 297 SE->getNegativeSCEV(VW)), in IsSafeActiveMask()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 433 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in prepareBaseForDispFormChain() 478 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in prepareBaseForUpdateFormChain()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 438 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in prepareBaseForDispFormChain() 483 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in prepareBaseForUpdateFormChain()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ScalarEvolutionExpander.cpp | 767 Value *W = expandCodeForImpl(SE.getNegativeSCEV(Op), Ty, false); in visitAddExpr() 1143 SE.getNegativeSCEV(Requested)) == Phi) { in canBeCheaplyTransformed() 1318 Step = SE.getNegativeSCEV(Step); in getAddRecExprPHILiterally() 1461 Step = SE.getNegativeSCEV(Step); in expandAddRecExprLiterally() 2495 expandCodeForImpl(SE.getNegativeSCEV(Step), Ty, Loc, false); in generateOverflowCheck() 2522 const SCEV *NegMulS = SE.getNegativeSCEV(MulS); in generateOverflowCheck()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 295 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); in runOnLoop()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 981 const auto *A0 = SE.getNegativeSCEV(ArgSCEV); in TEST_F() 983 const auto *A = SE.getNegativeSCEV(A1); in TEST_F() 986 const auto *B = SE.getNegativeSCEV(B0); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 865 const SCEV *Addend = SE.getNegativeSCEV(IndVarBase->getStepRecurrence(SE)); in parseLoopStructure() 1673 const SCEV *NegOne = SE.getNegativeSCEV(One); in computeSafeIterationSpace()
|
D | LoopIdiomRecognize.cpp | 862 SE->getNegativeSCEV(SE->getOne(BECount->getType())))) { in getNumBytes()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 870 const SCEV *Addend = SE.getNegativeSCEV(IndVarBase->getStepRecurrence(SE)); in parseLoopStructure() 1688 const SCEV *NegOne = SE.getNegativeSCEV(One); in computeSafeIterationSpace()
|
D | LoopIdiomRecognize.cpp | 903 SE->getNegativeSCEV(SE->getOne(BECount->getType())))) { in getNumBytes()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 1269 const SCEV *getNegativeSCEV(const SCEV *V,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 600 const SCEV *getNegativeSCEV(const SCEV *V,
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 618 const SCEV *getNegativeSCEV(const SCEV *V,
|