/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
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()
|
D | DependenceAnalysis.cpp | 894 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop()); in checkSubscript() 905 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSubscript() 907 Loops.set(mapDstLoop(AddRec->getLoop())); in checkSubscript() 1026 const SCEV *BECount = SE->getBackedgeTakenCount(AddRec->getLoop()); in isKnownLessThan() 2162 const Loop *CurLoop = SrcAddRec->getLoop(); in testSIV() 2163 assert(CurLoop == DstAddRec->getLoop() && in testSIV() 2184 const Loop *CurLoop = SrcAddRec->getLoop(); in testSIV() 2194 const Loop *CurLoop = DstAddRec->getLoop(); in testSIV() 2237 SrcLoop = SrcAddRec->getLoop(); in testRDIV() 2240 DstLoop = DstAddRec->getLoop(); in testRDIV() [all …]
|
D | IVUsers.cpp | 66 if (AR->getLoop() == L) in isInteresting() 257 auto *L = AR->getLoop(); in AddUsersImpl() 397 if (AR->getLoop() == L) in findAddRecForLoop()
|
D | ScalarEvolution.cpp | 284 AR->getLoop()->getHeader()->printAsOperand(OS, /*PrintType=*/false); in print() 709 const Loop *LLoop = LA->getLoop(), *RLoop = RA->getLoop(); in CompareSCEVComplexity() 990 Quotient = SE.getAddRecExpr(StartQ, StepQ, Numerator->getLoop(), in visitAddRecExpr() 992 Remainder = SE.getAddRecExpr(StartR, StepR, Numerator->getLoop(), in visitAddRecExpr() 1336 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr() 1449 const Loop *L = AR->getLoop(); in getPreStartForExtend() 1699 const Loop *L = AR->getLoop(); in getZeroExtendExpr() 2043 const Loop *L = AR->getLoop(); in getSignExtendExpr() 2240 return getAddRecExpr(Ops, AR->getLoop(), SCEV::FlagNW); in getAnyExtendExpr() 2705 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr() [all …]
|
D | LoopCacheAnalysis.cpp | 81 assert(AR->getLoop() && "AR should have a loop"); in isOneDimensionalArray() 413 return (AR != nullptr) ? AR->getLoop() != &L in isCoeffForLoopZeroOrInvariant() 423 assert(AR->getLoop() && "AR should have a loop"); in isSimpleAddRecurrence()
|
D | ScalarEvolutionExpander.cpp | 304 S = SE.getAddRecExpr(Start, Step, A->getLoop(), in FactorOutConstant() 357 A->getLoop(), in SplitAddRecs() 636 L = AR->getLoop(); in getRelevantLoop() 882 A->getLoop(), in ExposePointerBase() 1340 const Loop *L = S->getLoop(); in expandAddRecExprLiterally() 1359 Normalized->getLoop(), in expandAddRecExprLiterally() 1378 Start, Step, Normalized->getLoop(), in expandAddRecExprLiterally() 1500 const Loop *L = S->getLoop(); in visitAddRecExpr() 1516 Value *V = expand(SE.getAddRecExpr(NewOps, S->getLoop(), in visitAddRecExpr() 2245 SE.getPredicatedBackedgeTakenCount(AR->getLoop(), Pred); in generateOverflowCheck() [all …]
|
D | IVDescriptors.cpp | 942 const Loop *L = AR->getLoop(); in getCastsForInductionPHI() 1069 if (AR->getLoop() != TheLoop) { in isInductionPHI() 1078 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI() 1080 BasicBlock *Latch = AR->getLoop()->getLoopLatch(); in isInductionPHI()
|
D | LoopUnrollAnalyzer.cpp | 38 if (!AR || AR->getLoop() != L) in simplifyInstWithSCEV()
|
D | Loads.cpp | 219 if (!AddRec || AddRec->getLoop() != L || !AddRec->isAffine()) in isDereferenceableAndAlignedInLoop()
|
D | LoopAccessAnalysis.cpp | 984 return OpAR->getLoop() == L && OpAR->getNoWrapFlags(SCEV::FlagNSW); in isNoWrapAddRec() 1018 if (Lp != AR->getLoop()) { in getPtrStride()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 307 const Loop *getLoop() const { return L; } in getLoop() function 317 getLoop(), FlagAnyWrap); in getStepRecurrence() 732 : SE.getAddRecExpr(Operands, Expr->getLoop(), in visitAddRecExpr() 838 const Loop *L = Expr->getLoop(); in visitAddRecExpr()
|
D | IVUsers.h | 124 Loop *getLoop() const { return L; } in getLoop() function
|
D | LoopIterator.h | 120 Loop *getLoop() const { return L; } in getLoop() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 363 if (!LARSCEV || LARSCEV->getLoop() != L) in collectCandidates() 498 assert(BasePtrSCEV->getLoop() == L && "AddRec for the wrong loop?"); in rewriteLoadStores() 834 if (!LARSCEV || LARSCEV->getLoop() != L) in runOnLoop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 414 AR->getLoop(), SCEV::FlagAnyWrap), in DoInitialMatch() 477 if (SAR && SAR->getLoop() == &L) in isCanonical() 486 (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in isCanonical() 515 if (!SAR || SAR->getLoop() != &L) { in canonicalize() 519 (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in canonicalize() 702 return SE.getAddRecExpr(Start, Step, AR->getLoop(), SCEV::FlagAnyWrap); in getExactSDiv() 762 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate() 788 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractSymbol() 885 for (PHINode &PN : AR->getLoop()->getHeader()->phis()) { in isExistingPhi() 1243 if (AR->getLoop() != L) { in RateRegister() [all …]
|
D | IndVarSimplify.cpp | 656 if (AddRec->getLoop() == L) in rewriteLoopExitValues() 1297 if (!AddRec || AddRec->getLoop() != L) in getExtendedOperandRecurrence() 1338 if (!AddRec || AddRec->getLoop() != L) in getWideRecurrence() 1455 if (!AddRecOp1 || AddRecOp1->getLoop() != L) in widenWithVariantLoadUse() 1742 if (!AddRec || AddRec->getLoop() != L) in createWideIV() 2229 if (!AR || AR->getLoop() != L || !AR->isAffine()) in isLoopCounter() 3100 if (!AR || AR->getLoop()->getLoopPreheader()) in run()
|
D | LoopFuse.cpp | 841 const Loop *ExprL = Expr->getLoop(); in visitAddRecExpr() 904 return !DT.dominates(L0Header, AddRec->getLoop()->getHeader()) && in accessDiffIsPositive() 905 !DT.dominates(AddRec->getLoop()->getHeader(), L0Header); in accessDiffIsPositive()
|
D | LoopIdiomRecognize.cpp | 442 if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in isLegalStore() 501 if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine()) in isLegalStore() 763 if (!Ev || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
|
D | LoopRerollPass.cpp | 585 if (PHISCEV->getLoop() != L) in collectPossibleIVs() 918 if (!IVU_ADR || IVU_ADR->getLoop() != L) in findRootsBase()
|
D | LoopInterchange.cpp | 1053 if (AR->getLoop() == InnerLoop) { in getInstrOrderCost() 1067 if (AR->getLoop() == OuterLoop) { in getInstrOrderCost()
|
D | InductiveRangeCheckElimination.cpp | 364 IndexAddRec && (IndexAddRec->getLoop() == L) && IndexAddRec->isAffine(); in extractRangeChecksFromCond() 1664 const Loop *L = IndVar->getLoop(); in computeSafeIterationSpace()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ModuloSchedule.cpp | 68 BB = Schedule.getLoop()->getTopBlock(); in expand() 1972 KernelRewriter KR(*Schedule.getLoop(), Schedule); in rewriteKernel() 1977 BB = Schedule.getLoop()->getTopBlock(); in expand() 1978 Preheader = Schedule.getLoop()->getLoopPreheader(); in expand() 1989 BB = Schedule.getLoop()->getTopBlock(); in validateAgainstModuloScheduleExpander() 1990 Preheader = Schedule.getLoop()->getLoopPreheader(); in validateAgainstModuloScheduleExpander() 2015 KernelRewriter KR(*Schedule.getLoop(), Schedule); in validateAgainstModuloScheduleExpander()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ModuloSchedule.h | 118 MachineLoop *getLoop() const { return Loop; } in getLoop() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 216 if (!LeftAR->isAffine() || LeftAR->getLoop() != &L) in countToEliminateCompares()
|
D | SimplifyIndVar.cpp | 834 if (AR && AR->getLoop() == L) in isSimpleIVUser()
|