Lines Matching defs:LoopNest
857 // Returns true if Expression is loop invariant in LoopNest.
859 const Loop *LoopNest) const {
864 if (!LoopNest)
869 return SE->isLoopInvariant(Expression, LoopNest->getOutermostLoop());
874 // Finds the set of loops from the LoopNest that
877 const Loop *LoopNest,
879 while (LoopNest) {
880 unsigned Level = LoopNest->getLoopDepth();
881 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest))
883 LoopNest = LoopNest->getParentLoop();
962 bool DependenceInfo::checkSubscript(const SCEV *Expr, const Loop *LoopNest,
966 return isLoopInvariant(Expr, LoopNest);
973 const Loop *L = LoopNest;
989 if (!isLoopInvariant(Step, LoopNest))
995 return checkSubscript(Start, LoopNest, Loops, IsSrc);
1000 bool DependenceInfo::checkSrcSubscript(const SCEV *Src, const Loop *LoopNest,
1002 return checkSubscript(Src, LoopNest, Loops, true);
1007 bool DependenceInfo::checkDstSubscript(const SCEV *Dst, const Loop *LoopNest,
1009 return checkSubscript(Dst, LoopNest, Loops, false);