Home
last modified time | relevance | path

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

1234

/external/llvm-project/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()
DBranchProbabilityInfo.cpp262 return (DstBlock.getLoop() && in isLoopEnteringEdge()
263 !DstBlock.getLoop()->contains(SrcBlock.getLoop())) || in isLoopEnteringEdge()
282 ((DstBlock.getLoop() && in isLoopBackEdge()
283 DstBlock.getLoop()->getHeader() == DstBlock.getBlock()) || in isLoopBackEdge()
290 if (LB.getLoop()) { in getLoopEnterBlocks()
291 auto *Header = LB.getLoop()->getHeader(); in getLoopEnterBlocks()
301 if (LB.getLoop()) { in getLoopExitBlocks()
302 LB.getLoop()->getExitBlocks(Exits); in getLoopExitBlocks()
787 if (LB.getLoop()) in calcLoopBranchHeuristics()
788 computeUnlikelySuccessors(BB, LB.getLoop(), UnlikelyBlocks); in calcLoopBranchHeuristics()
[all …]
DIVUsers.cpp66 if (AR->getLoop() == L) in isInteresting()
257 auto *L = AR->getLoop(); in AddUsersImpl()
397 if (AR->getLoop() == L) in findAddRecForLoop()
DScalarEvolutionDivision.cpp142 Quotient = SE.getAddRecExpr(StartQ, StepQ, Numerator->getLoop(), in visitAddRecExpr()
144 Remainder = SE.getAddRecExpr(StartR, StepR, Numerator->getLoop(), in visitAddRecExpr()
DLoopCacheAnalysis.cpp86 assert(AR->getLoop() && "AR should have a loop"); in isOneDimensionalArray()
375 AccessFnAR->getLoop(), in delinearize()
439 return (AR != nullptr) ? AR->getLoop() != &L in isCoeffForLoopZeroOrInvariant()
449 assert(AR->getLoop() && "AR should have a loop"); in isSimpleAddRecurrence()
DDependenceAnalysis.cpp896 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop()); in checkSubscript()
907 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSubscript()
909 Loops.set(mapDstLoop(AddRec->getLoop())); in checkSubscript()
1028 const SCEV *BECount = SE->getBackedgeTakenCount(AddRec->getLoop()); in isKnownLessThan()
2151 const Loop *CurLoop = SrcAddRec->getLoop(); in testSIV()
2152 assert(CurLoop == DstAddRec->getLoop() && in testSIV()
2173 const Loop *CurLoop = SrcAddRec->getLoop(); in testSIV()
2183 const Loop *CurLoop = DstAddRec->getLoop(); in testSIV()
2226 SrcLoop = SrcAddRec->getLoop(); in testRDIV()
2229 DstLoop = DstAddRec->getLoop(); in testRDIV()
[all …]
DScalarEvolution.cpp296 AR->getLoop()->getHeader()->printAsOperand(OS, /*PrintType=*/false); in print()
742 const Loop *LLoop = LA->getLoop(), *RLoop = RA->getLoop(); in CompareSCEVComplexity()
1221 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
1334 const Loop *L = AR->getLoop(); in getPreStartForExtend()
1584 const Loop *L = AR->getLoop(); in getZeroExtendExpr()
1924 const Loop *L = AR->getLoop(); in getSignExtendExpr()
2104 return getAddRecExpr(Ops, AR->getLoop(), SCEV::FlagNW); in getAnyExtendExpr()
2580 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
2633 cast<SCEVAddRecExpr>(Ops[OtherIdx])->getLoop()->getHeader(), in getAddExpr()
2634 AddRec->getLoop()->getHeader()) && in getAddExpr()
[all …]
/external/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()
DIVUsers.cpp66 if (AR->getLoop() == L) in isInteresting()
257 auto *L = AR->getLoop(); in AddUsersImpl()
397 if (AR->getLoop() == L) in findAddRecForLoop()
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 …]
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 …]
/external/llvm-project/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h239 Loop *getLoop() const { return LD.first; } in getLoop() function
242 bool belongsToLoop() const { return getLoop() || getSccNum() != -1; } in belongsToLoop()
244 return (LB.getLoop() && getLoop() == LB.getLoop()) || in belongsToSameLoop()
DLoopNestAnalysis.h83 Loop *getLoop(unsigned Index) const { in getLoop() function
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp860 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop()); in checkSrcSubscript()
870 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSrcSubscript()
885 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop()); in checkDstSubscript()
895 Loops.set(mapDstLoop(AddRec->getLoop())); in checkDstSubscript()
2085 const Loop *CurLoop = SrcAddRec->getLoop(); in testSIV()
2086 assert(CurLoop == DstAddRec->getLoop() && in testSIV()
2107 const Loop *CurLoop = SrcAddRec->getLoop(); in testSIV()
2117 const Loop *CurLoop = DstAddRec->getLoop(); in testSIV()
2160 SrcLoop = SrcAddRec->getLoop(); in testRDIV()
2163 DstLoop = DstAddRec->getLoop(); in testRDIV()
[all …]
DScalarEvolution.cpp176 AR->getLoop()->getHeader()->printAsOperand(OS, /*PrintType=*/false); in print()
551 const Loop *LLoop = LA->getLoop(), *RLoop = RA->getLoop(); in compare()
795 Quotient = SE.getAddRecExpr(StartQ, StepQ, Numerator->getLoop(), in visitAddRecExpr()
797 Remainder = SE.getAddRecExpr(StartR, StepR, Numerator->getLoop(), in visitAddRecExpr()
1136 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
1246 const Loop *L = AR->getLoop(); in getPreStartForExtend()
1452 const Loop *L = AR->getLoop(); in getZeroExtendExpr()
1679 const Loop *L = AR->getLoop(); in getSignExtendExpr()
1866 return getAddRecExpr(Ops, AR->getLoop(), SCEV::FlagNW); in getAnyExtendExpr()
2289 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
[all …]
DIVUsers.cpp59 if (AR->getLoop() == L) in isInteresting()
339 if (AR->getLoop() == L) in findAddRecForLoop()
DScalarEvolutionExpander.cpp287 S = SE.getAddRecExpr(Start, Step, A->getLoop(), in FactorOutConstant()
340 A->getLoop(), in SplitAddRecs()
614 L = AR->getLoop(); in getRelevantLoop()
807 A->getLoop(), in ExposePointerBase()
1261 const Loop *L = S->getLoop(); in expandAddRecExprLiterally()
1281 Normalized->getLoop(), in expandAddRecExprLiterally()
1300 Start, Step, Normalized->getLoop(), in expandAddRecExprLiterally()
1402 const Loop *L = S->getLoop(); in visitAddRecExpr()
1418 Value *V = expand(SE.getAddRecExpr(NewOps, S->getLoop(), in visitAddRecExpr()
2039 SE.getPredicatedBackedgeTakenCount(AR->getLoop(), Pred); in generateOverflowCheck()
[all …]
/external/llvm-project/polly/lib/Support/
DSCEVAffinator.cpp178 if (AddRec->getLoop() != L) in hasNSWAddRecForLoop()
404 assert(S->contains(Expr->getLoop()) && in visitAddRecExpr()
411 unsigned loopDimension = S->getRelativeLoopDepth(Expr->getLoop()); in visitAddRecExpr()
428 Expr->getStepRecurrence(SE), Expr->getLoop(), Flags); in visitAddRecExpr()
DSCEVValidator.cpp246 auto *L = Expr->getLoop(); in visitAddRecExpr()
277 Expr->getStepRecurrence(SE), Expr->getLoop(), Expr->getNoWrapFlags()); in visitAddRecExpr()
544 auto *L = AddRec->getLoop(); in follow()
567 Loops.insert(AddRec->getLoop()); in follow()
727 SE.getAddRecExpr(StartExpr, StepPair.second, AddRec->getLoop(), in extractConstantFactor()
/external/replicaisland/src/com/replica/replicaisland/
DSpriteAnimation.java97 public boolean getLoop() { in getLoop() method in SpriteAnimation
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h291 const Loop *getLoop() const { return L; } in getLoop() function
301 getLoop(), FlagAnyWrap); in getStepRecurrence()
590 return SE.getAddRecExpr(Operands, Expr->getLoop(), in visitAddRecExpr()
670 const Loop *L = Expr->getLoop(); in visitAddRecExpr()
DIVUsers.h146 Loop *getLoop() const { return L; }
/external/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()

1234