Lines Matching defs:LoopNest
858 // Returns true if Expression is loop invariant in LoopNest.
860 const Loop *LoopNest) const {
865 if (!LoopNest)
870 return SE->isLoopInvariant(Expression, LoopNest->getOutermostLoop());
875 // Finds the set of loops from the LoopNest that
878 const Loop *LoopNest,
880 while (LoopNest) {
881 unsigned Level = LoopNest->getLoopDepth();
882 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest))
884 LoopNest = LoopNest->getParentLoop();
963 bool DependenceInfo::checkSubscript(const SCEV *Expr, const Loop *LoopNest,
967 return isLoopInvariant(Expr, LoopNest);
974 const Loop *L = LoopNest;
990 if (!isLoopInvariant(Step, LoopNest))
996 return checkSubscript(Start, LoopNest, Loops, IsSrc);
1001 bool DependenceInfo::checkSrcSubscript(const SCEV *Src, const Loop *LoopNest,
1003 return checkSubscript(Src, LoopNest, Loops, true);
1008 bool DependenceInfo::checkDstSubscript(const SCEV *Dst, const Loop *LoopNest,
1010 return checkSubscript(Dst, LoopNest, Loops, false);