Home
last modified time | relevance | path

Searched refs:LoopStmt (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp28 static const Expr *getLoopCondition(const Stmt *LoopStmt) { in getLoopCondition() argument
29 switch (LoopStmt->getStmtClass()) { in getLoopCondition()
33 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition()
35 return cast<WhileStmt>(LoopStmt)->getCond(); in getLoopCondition()
37 return cast<DoStmt>(LoopStmt)->getCond(); in getLoopCondition()
46 unsigned BlockCount, const Stmt *LoopStmt) { in getWidenedLoopState() argument
48 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
49 isa<DoStmt>(LoopStmt)); in getWidenedLoopState()
95 return PrevState->invalidateRegions(Regions, getLoopCondition(LoopStmt), in getWidenedLoopState()
H A DLoopUnrolling.cpp30 const Stmt *LoopStmt; member
34 : K(InK), LoopStmt(S), LCtx(L), maxStep(N) {} in LoopState()
47 const Stmt *getLoopStmt() const { return LoopStmt; } in getLoopStmt()
50 return K == X.K && LoopStmt == X.LoopStmt; in operator ==()
54 ID.AddPointer(LoopStmt); in Profile()
77 if (!LS.isEmpty() && LS.getHead().getLoopStmt() == LoopStmt) in processLoopEnd()
251 if (!isLoopStmt(LoopStmt)) in shouldCompletelyUnroll()
256 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll()
280 bool madeNewBranch(ExplodedNode *N, const Stmt *LoopStmt) { in madeNewBranch() argument
290 if (S == LoopStmt) in madeNewBranch()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DLoopUnrolling.h38 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
43 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
H A DLoopWidening.h30 unsigned BlockCount, const Stmt *LoopStmt);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h715 LoopExit(const Stmt *LoopStmt, const LocationContext *LC) in LoopExit() argument
716 : ProgramPoint(LoopStmt, nullptr, LoopExitKind, LC) {} in LoopExit()
H A DCFG.h1158 void appendLoopExit(const Stmt *LoopStmt, BumpVectorContext &C) { in appendLoopExit() argument
1159 Elements.push_back(CFGLoopExit(LoopStmt), C); in appendLoopExit()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp750 void addLoopExit(const Stmt *LoopStmt);
865 void appendLoopExit(CFGBlock *B, const Stmt *LoopStmt) { in appendLoopExit() argument
866 B->appendLoopExit(LoopStmt, cfg->getBumpVectorContext()); in appendLoopExit()
1727 void CFGBuilder::addLoopExit(const Stmt *LoopStmt){ in addLoopExit() argument
1731 appendLoopExit(Block, LoopStmt); in addLoopExit()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h163 static OMPCanonicalLoop *create(const ASTContext &Ctx, Stmt *LoopStmt, in create() argument
168 S->setLoopStmt(LoopStmt); in create()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h1553 StmtResult RebuildOMPCanonicalLoop(Stmt *LoopStmt) { in RebuildOMPCanonicalLoop() argument
1554 return getSema().ActOnOpenMPCanonicalLoop(LoopStmt); in RebuildOMPCanonicalLoop()