Lines Matching defs:Func
69 static bool isVarThatIsPossiblyChanged(const Decl *Func, const Stmt *LoopStmt,
82 return hasPtrOrReferenceInFunc(Func, Var) ||
107 static bool isAtLeastOneCondVarChanged(const Decl *Func, const Stmt *LoopStmt,
109 if (isVarThatIsPossiblyChanged(Func, LoopStmt, Cond, Context))
116 if (isAtLeastOneCondVarChanged(Func, LoopStmt, Child, Context))
198 /// returns true iff `SCC` contains `Func` and its' function set overlaps with
202 const Decl *Func) {
208 ContainsFunc = ContainsFunc || (CanDecl == Func);
229 /// the enclosing function `Func` is recursive.
241 const Decl *Func,
260 // For each `SCC` containing `Func`, if functions in the `SCC`
269 if (overlap(*SCCI, CalleesInLoop, Func->getCanonicalDecl()))
291 const auto *Func = Result.Nodes.getNodeAs<Decl>("func");
309 if (isAtLeastOneCondVarChanged(Func, LoopStmt, Cond, Result.Context))
311 if (hasRecursionOverStaticLoopCondVariables(Cond, LoopStmt, Func,