Home
last modified time | relevance | path

Searched refs:getMinusSCEV (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp331 const SCEV *Sub = SE->getMinusSCEV(SE->getBackedgeTakenCount(L), Div); in IsSafeActiveMask()
352 return SE->getMinusSCEV(EC, BaseC); in IsSafeActiveMask()
359 return SE->getMinusSCEV(EC, BaseV); in IsSafeActiveMask()
363 return SE->getMinusSCEV(EC, BaseC); in IsSafeActiveMask()
366 return SE->getMinusSCEV(EC, BaseC); in IsSafeActiveMask()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp575 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1A2, C2A1)); in intersectConstraints()
577 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1B2, C2B1)); in intersectConstraints()
579 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A1B2, A2B1)); in intersectConstraints()
581 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A2B1, A1B2)); in intersectConstraints()
1076 const SCEV *Delta = SE->getMinusSCEV(X, Y); in isKnownPredicate()
1110 const SCEV *Bound = SE->getMinusSCEV(S, Size); in isKnownLessThan()
1124 SE->getMinusSCEV(S, SE->getSMaxExpr(Size, SE->getOne(Size->getType()))); in isKnownLessThan()
1245 const SCEV *Delta = SE->getMinusSCEV(SrcConst, DstConst); in strongSIVtest()
1378 const SCEV *Delta = SE->getMinusSCEV(DstConst, SrcConst); in weakCrossingSIVtest()
1580 const SCEV *Delta = SE->getMinusSCEV(DstConst, SrcConst); in exactSIVtest()
[all …]
H A DScalarEvolutionAliasAnalysis.cpp78 const SCEV *BA = SE.getMinusSCEV(BS, AS); in alias()
93 const SCEV *AB = SE.getMinusSCEV(AS, BS); in alias()
H A DScalarEvolutionNormalization.cpp91 Operands[i] = SE.getMinusSCEV(Operands[i], Operands[i + 1]); in visitAddRecExpr()
H A DLoopUnrollAnalyzer.cpp62 dyn_cast<SCEVConstant>(SE.getMinusSCEV(ValueAtIteration, Base)); in simplifyInstWithSCEV()
H A DScalarEvolution.cpp952 const SCEV *S = SE.getMinusSCEV(It, SE.getConstant(It->getType(), i)); in BinomialCoefficient()
2312 Operation = &ScalarEvolution::getMinusSCEV; in willNotOverflow()
3417 return getMinusSCEV(LHS, Mult, SCEV::FlagNUW); in getURemExpr()
4644 return getMinusSCEV(getMinusOne(Ty), V); in getNotSCEV()
4677 const SCEV *ScalarEvolution::getMinusSCEV(const SCEV *LHS, const SCEV *RHS, in getMinusSCEV() function in ScalarEvolution
5066 return SE.getMinusSCEV(Expr, Expr->getStepRecurrence(SE)); in visitAddRecExpr()
6134 const SCEV *LDiff = getMinusSCEV(LA, LS); in createNodeForSelectOrPHIInstWithICmpInstCond()
6135 const SCEV *RDiff = getMinusSCEV(RA, RS); in createNodeForSelectOrPHIInstWithICmpInstCond()
6139 LDiff = getMinusSCEV(LA, RS); in createNodeForSelectOrPHIInstWithICmpInstCond()
6140 RDiff = getMinusSCEV(RA, LS); in createNodeForSelectOrPHIInstWithICmpInstCond()
[all …]
H A DScalarEvolutionDivision.cpp233 const SCEV *Diff = SE.getMinusSCEV(Numerator, Remainder); in visitMulExpr()
H A DLoopAccessAnalysis.cpp415 const SCEV *Diff = SE->getMinusSCEV(J, I); in getMinFromExprs()
913 return SE->getMinusSCEV(L, R); in findForkedSCEVs()
1605 dyn_cast<SCEVConstant>(SE.getMinusSCEV(PtrSCEVB, PtrSCEVA)); in getPointersDiff()
1851 const SCEV *Minus = SE.getMinusSCEV(CastedDist, CastedProduct); in isSafeDependenceDistance()
1858 Minus = SE.getMinusSCEV(NegDist, CastedProduct); in isSafeDependenceDistance()
1937 const SCEV *Dist = SE.getMinusSCEV(Sink, Src); in getDependenceDistanceStrideAndSize()
2973 const SCEV *StrideMinusBETaken = SE->getMinusSCEV(CastedStride, CastedBECount); in collectStridedAccess()
H A DLoopCacheAnalysis.cpp192 SE.getMinusSCEV(LastSubscript, OtherLastSubscript)); in hasSpacialReuse()
402 AccessFn = SE.getMinusSCEV(AccessFn, BasePointer); in delinearize()
H A DStackSafetyAnalysis.cpp302 const SCEV *Diff = SE.getMinusSCEV(AddrExp, BaseExp); in offsetFrom()
394 const SCEV *Diff = SE.getMinusSCEV(AddrExp, BaseExp); in isSafeAccess()
405 const SCEV *Max = SE.getMinusSCEV(ToDiffTy(SE.getConstant(Size.getUpper())), in isSafeAccess()
H A DDelinearization.cpp582 AccessFn = SE->getMinusSCEV(AccessFn, BasePointer); in printDelinearization()
H A DVectorUtils.cpp1368 PSE.getSE()->getMinusSCEV(DesA.Scev, DesB.Scev)); in analyzeInterleaving()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp442 Operation = &ScalarEvolution::getMinusSCEV; in reassociateSubLHS()
600 GreatestSeen = SE.getMinusSCEV(End, One);
733 const SCEV *XMinusSIntMax = SE.getMinusSCEV(X, SIntMax);
734 return SE.getMinusSCEV(X, SE.getSMaxExpr(Y, XMinusSIntMax),
747 return SE.getMinusSCEV(X, SE.getSMinExpr(X, Y), SCEV::FlagNUW);
749 const SCEV *M = SE.getMinusSCEV(C, A);
775 SCEVCheckNonNegative(SE.getMinusSCEV(SIntMaxExt, X)); in LoopConstrainer()
781 SCEVCheckNonNegative(SE.getMinusSCEV(X, SIntMinExt));
1025 cast<SCEVAddRecExpr>(SE.getMinusSCEV(SE.getSCEV(LS.IndVarBase), SE.getSCEV(LS.IndVarStep))); in parseLoopStructure()
H A DAlignmentFromAssumptions.cpp87 const SCEV *DiffSCEV = SE->getMinusSCEV(PtrSCEV, AASCEV); in getNewAlignment()
H A DLoopDataPrefetch.cpp358 const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, Pref.LSCEVAddRec); in runOnLoop()
H A DLoopPredication.cpp572 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in isLoopInvariantValue()
573 SE->getMinusSCEV(LatchStart, SE->getOne(Ty))); in isLoopInvariantValue()
H A DLoopLoadElimination.cpp130 PSE.getSE()->getMinusSCEV(StorePtrSCEV, LoadPtrSCEV)); in isDependenceDistanceOfOne()
H A DIndVarSimplify.cpp1303 Elements.push_back(SE->getMinusSCEV(Op, SE->getOne(Op->getType()))); in createReplacement()
1306 MaxIter = SE->getMinusSCEV(MaxIter, SE->getOne(MaxIter->getType())); in createReplacement()
H A DLoopStrengthReduce.cpp3047 if (isa<SCEVConstant>(SE.getMinusSCEV(OperExpr, HeadExpr))) in isProfitableIncrement()
3176 const SCEV *IncExpr = SE.getMinusSCEV(OperExpr, PrevExpr); in ChainInstruction()
3453 const SCEV *Remainder = SE.getMinusSCEV(Accum, MapScev); in GenerateIVChain()
3585 S = SE.getMinusSCEV(N, S); in CollectFixupsAndInitialFormulae()
3601 S = SE.getMinusSCEV(N, S); in CollectFixupsAndInitialFormulae()
5314 const auto *Diff = dyn_cast<SCEVConstant>(SE.getMinusSCEV(Best, Reg)); in IsSimplerBaseSCEVForTarget()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp57 const SCEV *Limit = SE.getMinusSCEV(SE.getConstant(Min), StepPlusOne); in isSafeDecreasingBound()
60 SE.getMinusSCEV(BoundLG, SE.getOne(BoundLG->getType())); in isSafeDecreasingBound()
100 const SCEV *StepMinusOne = SE.getMinusSCEV(Step, SE.getOne(Step->getType())); in isSafeIncreasingBound()
104 const SCEV *Limit = SE.getMinusSCEV(SE.getConstant(Max), StepMinusOne); in isSafeIncreasingBound()
288 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
293 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
391 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
H A DSimplifyIndVar.cpp400 const auto *NLessOne = SE->getMinusSCEV(N, SE->getOne(T)); in simplifyIVRemainder()
1391 return SE->getMinusSCEV(LHS, RHS); in getSCEVByOpCode()
H A DLoopUtils.cpp1975 Expander.expandCodeFor(SE.getMinusSCEV(SinkStart, SrcStart), Ty, Loc); in addDiffRuntimeChecks()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp466 if (SE->getMinusSCEV(CBucket.Elements[j].Offset, in prepareBasesForCommoningChains()
515 SE->getMinusSCEV(CBucket.Elements[i + j * CBucket.ChainSize].Offset, in prepareBasesForCommoningChains()
599 BaseElemIdx ? SE->getMinusSCEV(Bucket.Elements[Idx].Offset, in rewriteLoadStoresForCommoningChains()
692 BasePtrStartSCEV = SE->getMinusSCEV(BasePtrSCEV->getStart(), in rewriteForBase()
847 const SCEV *Diff = SE->getMinusSCEV(LSCEV, B.BaseSCEV); in addOneCandidate()
961 E.Offset = cast<SCEVConstant>(SE->getMinusSCEV(E.Offset, Offset)); in prepareBaseForDispFormChain()
1006 E.Offset = cast<SCEVConstant>(SE->getMinusSCEV(E.Offset, Offset)); in prepareBaseForUpdateFormChain()
1268 SE->getMinusSCEV(PHIBasePtrSCEV->getStart(), BasePtrStartSCEV)); in alreadyPrepared()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1211 const SCEV *IdxDiffSCEV = SE.getMinusSCEV(OffsetSCEVB, OffsetSCEVA); in getConstantOffsetComplexAddrs()
1499 const SCEV *DistScev = SE.getMinusSCEV(SE.getSCEV(PtrB), SE.getSCEV(PtrA)); in getConstantOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h700 const SCEV *getMinusSCEV(const SCEV *LHS, const SCEV *RHS,

12