Home
last modified time | relevance | path

Searched refs:getLoop (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp54 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()
DDependenceAnalysis.cpp894 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 …]
DIVUsers.cpp66 if (AR->getLoop() == L) in isInteresting()
257 auto *L = AR->getLoop(); in AddUsersImpl()
397 if (AR->getLoop() == L) in findAddRecForLoop()
DScalarEvolution.cpp284 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 …]
DLoopCacheAnalysis.cpp81 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()
DScalarEvolutionExpander.cpp304 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 …]
DIVDescriptors.cpp942 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()
DLoopUnrollAnalyzer.cpp38 if (!AR || AR->getLoop() != L) in simplifyInstWithSCEV()
DLoads.cpp219 if (!AddRec || AddRec->getLoop() != L || !AddRec->isAffine()) in isDereferenceableAndAlignedInLoop()
DLoopAccessAnalysis.cpp984 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/
DScalarEvolutionExpressions.h307 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()
DIVUsers.h124 Loop *getLoop() const { return L; } in getLoop() function
DLoopIterator.h120 Loop *getLoop() const { return L; } in getLoop() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp363 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/
DLoopStrengthReduce.cpp414 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 …]
DIndVarSimplify.cpp656 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()
DLoopFuse.cpp841 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()
DLoopIdiomRecognize.cpp442 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()
DLoopRerollPass.cpp585 if (PHISCEV->getLoop() != L) in collectPossibleIVs()
918 if (!IVU_ADR || IVU_ADR->getLoop() != L) in findRootsBase()
DLoopInterchange.cpp1053 if (AR->getLoop() == InnerLoop) { in getInstrOrderCost()
1067 if (AR->getLoop() == OuterLoop) { in getInstrOrderCost()
DInductiveRangeCheckElimination.cpp364 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/
DModuloSchedule.cpp68 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/
DModuloSchedule.h118 MachineLoop *getLoop() const { return Loop; } in getLoop() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp216 if (!LeftAR->isAffine() || LeftAR->getLoop() != &L) in countToEliminateCompares()
DSimplifyIndVar.cpp834 if (AR && AR->getLoop() == L) in isSimpleIVUser()

12