| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionNormalization.cpp | 54 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap); in visitAddRecExpr() 93 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap); in visitAddRecExpr() 100 return Loops.count(AR->getLoop()); in normalizeForPostIncUse() 114 return Loops.count(AR->getLoop()); in denormalizeForPostIncUse()
|
| H A D | BranchProbabilityInfo.cpp | 255 return (DstBlock.getLoop() && in isLoopEnteringEdge() 256 !DstBlock.getLoop()->contains(SrcBlock.getLoop())) || in isLoopEnteringEdge() 275 ((DstBlock.getLoop() && in isLoopBackEdge() 276 DstBlock.getLoop()->getHeader() == DstBlock.getBlock()) || in isLoopBackEdge() 283 if (LB.getLoop()) { in getLoopEnterBlocks() 284 auto *Header = LB.getLoop()->getHeader(); in getLoopEnterBlocks() 294 if (LB.getLoop()) { in getLoopExitBlocks() 295 LB.getLoop()->getExitBlocks(Exits); in getLoopExitBlocks() 835 if (LoopBB.getLoop()) in calcEstimatedHeuristics() 836 computeUnlikelySuccessors(BB, LoopBB.getLoop(), UnlikelyBlocks); in calcEstimatedHeuristics() [all …]
|
| H A D | IVUsers.cpp | 66 if (AR->getLoop() == L) in isInteresting() 257 auto *L = AR->getLoop(); in AddUsersImpl() 397 if (AR->getLoop() == L) in findAddRecForLoop()
|
| H A D | LoopCacheAnalysis.cpp | 86 assert(AR->getLoop() && "AR should have a loop"); in isOneDimensionalArray() 373 AccessFnAR->getLoop(), in delinearize() 437 return (AR != nullptr) ? AR->getLoop() != &L in isCoeffForLoopZeroOrInvariant() 447 assert(AR->getLoop() && "AR should have a loop"); in isSimpleAddRecurrence()
|
| H A D | ScalarEvolutionDivision.cpp | 142 Quotient = SE.getAddRecExpr(StartQ, StepQ, Numerator->getLoop(), in visitAddRecExpr() 144 Remainder = SE.getAddRecExpr(StartR, StepR, Numerator->getLoop(), in visitAddRecExpr()
|
| H A D | DependenceAnalysis.cpp | 2228 SrcLoop = SrcAddRec->getLoop(); in testRDIV() 2231 DstLoop = DstAddRec->getLoop(); in testRDIV() 2238 SrcLoop = tmpAddRec->getLoop(); in testRDIV() 2241 DstLoop = SrcAddRec->getLoop(); in testRDIV() 2251 DstLoop = tmpAddRec->getLoop(); in testRDIV() 2254 SrcLoop = DstAddRec->getLoop(); in testRDIV() 2429 if (CurLoop == AddRec->getLoop()) in gcdMIVtest() 2446 if (CurLoop == AddRec->getLoop()) in gcdMIVtest() 2912 const Loop *L = AddRec->getLoop(); in collectCoeffInfo() 2988 if (AddRec->getLoop() == TargetLoop) in findCoefficient() [all …]
|
| H A D | ScalarEvolution.cpp | 745 const Loop *LLoop = LA->getLoop(), *RLoop = RA->getLoop(); in CompareSCEVComplexity() 1381 const Loop *L = AR->getLoop(); in getPreStartForExtend() 4452 if (Expr->getLoop() == L) in visitAddRecExpr() 4493 if (Expr->getLoop() == L) in visitAddRecExpr() 4670 const Loop *L = AR->getLoop(); in proveNoSignedWrapViaInduction() 4720 const Loop *L = AR->getLoop(); in proveNoUnsignedWrapViaInduction() 10079 if (!AR || AR->getLoop() != L) in getLoopInvariantExitCondDuringFirstIterations() 10807 if (LAR->getLoop() != MAR->getLoop()) in computeConstantDifference() 11135 if (LAR->getLoop() != RAR->getLoop()) in IsKnownPredicateViaAddRecStart() 12960 if (AR->getLoop() == L) in computeLoopDisposition() [all …]
|
| H A D | IVDescriptors.cpp | 1101 const Loop *L = AR->getLoop(); in getCastsForInductionPHI() 1228 if (AR->getLoop() != TheLoop) { in isInductionPHI() 1237 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI() 1239 BasicBlock *Latch = AR->getLoop()->getLoopLatch(); in isInductionPHI()
|
| H A D | LoopUnrollAnalyzer.cpp | 44 if (!AR || AR->getLoop() != L) in simplifyInstWithSCEV()
|
| H A D | Loads.cpp | 294 if (!AddRec || AddRec->getLoop() != L || !AddRec->isAffine()) in isDereferenceableAndAlignedInLoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | BranchProbabilityInfo.h | 297 Loop *getLoop() const { return LD.first; } in getLoop() function 300 bool belongsToLoop() const { return getLoop() || getSccNum() != -1; } in belongsToLoop() 302 return (LB.getLoop() && getLoop() == LB.getLoop()) || in belongsToSameLoop()
|
| H A D | LoopNestAnalysis.h | 91 Loop *getLoop(unsigned Index) const { in getLoop() function
|
| H A D | ScalarEvolutionExpressions.h | 364 const Loop *getLoop() const { return L; } in getLoop() function 374 getLoop(), FlagAnyWrap); in getStepRecurrence() 804 : SE.getAddRecExpr(Operands, Expr->getLoop(), in visitAddRecExpr() 905 const Loop *L = Expr->getLoop(); in visitAddRecExpr()
|
| H A D | IVUsers.h | 124 Loop *getLoop() const { return L; } in getLoop() function
|
| H A D | LoopIterator.h | 120 Loop *getLoop() const { return L; } in getLoop() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 353 S = SE.getAddRecExpr(Start, Step, A->getLoop(), in FactorOutConstant() 406 A->getLoop(), in SplitAddRecs() 690 L = AR->getLoop(); in getRelevantLoop() 936 A->getLoop(), in ExposePointerBase() 1406 const Loop *L = S->getLoop(); in expandAddRecExprLiterally() 1425 Normalized->getLoop(), in expandAddRecExprLiterally() 1444 Start, Step, Normalized->getLoop(), in expandAddRecExprLiterally() 1573 const Loop *L = S->getLoop(); in visitAddRecExpr() 1589 Value *V = expand(SE.getAddRecExpr(NewOps, S->getLoop(), in visitAddRecExpr() 2505 SE.getPredicatedBackedgeTakenCount(AR->getLoop(), Pred); in generateOverflowCheck() [all …]
|
| H A D | SimplifyIndVar.cpp | 817 if (AR && AR->getLoop() == L) in isSimpleIVUser() 1350 if (!AddRec || AddRec->getLoop() != L) in getExtendedOperandRecurrence() 1391 if (!AddRec || AddRec->getLoop() != L) in getWideRecurrence() 1579 if (!AddRecOp1 || AddRecOp1->getLoop() != L) in widenWithVariantUse() 1846 if (!AddRec || AddRec->getLoop() != L) in createWideIV()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 368 if (!LARSCEV || LARSCEV->getLoop() != L) in collectCandidates() 503 assert(BasePtrSCEV->getLoop() == L && "AddRec for the wrong loop?"); in rewriteLoadStores() 847 if (!LARSCEV || LARSCEV->getLoop() != L) in runOnLoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ModuloSchedule.cpp | 67 BB = Schedule.getLoop()->getTopBlock(); in expand() 1984 KernelRewriter KR(*Schedule.getLoop(), Schedule, BB); in rewriteKernel() 1989 BB = Schedule.getLoop()->getTopBlock(); in expand() 1990 Preheader = Schedule.getLoop()->getLoopPreheader(); in expand() 2001 BB = Schedule.getLoop()->getTopBlock(); in validateAgainstModuloScheduleExpander() 2002 Preheader = Schedule.getLoop()->getLoopPreheader(); in validateAgainstModuloScheduleExpander() 2027 KernelRewriter KR(*Schedule.getLoop(), Schedule, BB); in validateAgainstModuloScheduleExpander()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 492 if (SAR && SAR->getLoop() == &L) in isCanonical() 500 (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in isCanonical() 535 if (!SAR || SAR->getLoop() != &L) { in canonicalize() 800 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate() 826 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractSymbol() 1272 if (AR->getLoop() != L) { in RateRegister() 1279 if (!AR->getLoop()->contains(L)) { in RateRegister() 2343 assert(AR->getLoop() == L && in OptimizeMax() 2704 if (AR->getLoop() == L) in CollectInterestingTypesAndFactors() 2764 if (AR->getLoop() == L) in findIVOperand() [all …]
|
| H A D | LoopIdiomRecognize.cpp | 509 if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in isLegalStore() 568 if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine()) in isLegalStore() 847 if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in processLoopMemCpy() 850 if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine()) in processLoopMemCpy() 912 if (!Ev || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
|
| H A D | LoopFuse.cpp | 1034 const Loop *ExprL = Expr->getLoop(); in visitAddRecExpr() 1097 return !DT.dominates(L0Header, AddRec->getLoop()->getHeader()) && in accessDiffIsPositive() 1098 !DT.dominates(AddRec->getLoop()->getHeader(), L0Header); in accessDiffIsPositive()
|
| H A D | LoopRerollPass.cpp | 595 if (PHISCEV->getLoop() != L) in collectPossibleIVs() 935 if (!IVU_ADR || IVU_ADR->getLoop() != L) in findRootsBase()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ModuloSchedule.h | 118 MachineLoop *getLoop() const { return Loop; } in getLoop() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 323 if (AddExpr->getLoop() != L) { in IsSafeActiveMask()
|