Searched refs:LoopStmt (Results 1 – 9 of 9) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 32 const Stmt *LoopStmt; member 36 : K(InK), LoopStmt(S), LCtx(L), maxStep(N) {} in LoopState() 49 const Stmt *getLoopStmt() const { return LoopStmt; } in getLoopStmt() 52 return K == X.K && LoopStmt == X.LoopStmt; in operator ==() 56 ID.AddPointer(LoopStmt); in Profile() 80 if (!LS.isEmpty() && LS.getHead().getLoopStmt() == LoopStmt) in processLoopEnd() 254 if (!isLoopStmt(LoopStmt)) in shouldCompletelyUnroll() 259 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll() 283 bool madeNewBranch(ExplodedNode *N, const Stmt *LoopStmt) { in madeNewBranch() argument 293 if (S == LoopStmt) in madeNewBranch() [all …]
|
| H A D | LoopWidening.cpp | 28 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() 39 return cast<CXXForRangeStmt>(LoopStmt)->getCond(); in getLoopCondition() 48 unsigned BlockCount, const Stmt *LoopStmt) { in getWidenedLoopState() argument 50 assert((isa<ForStmt, WhileStmt, DoStmt, CXXForRangeStmt>(LoopStmt))); in getWidenedLoopState() 96 return PrevState->invalidateRegions(Regions, getLoopCondition(LoopStmt), in getWidenedLoopState()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | LoopUnrolling.h | 37 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx, 42 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
|
| H A D | LoopWidening.h | 30 unsigned BlockCount, const Stmt *LoopStmt);
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | ProgramPoint.h | 713 LoopExit(const Stmt *LoopStmt, const LocationContext *LC) in LoopExit() argument 714 : ProgramPoint(LoopStmt, nullptr, LoopExitKind, LC) {} in LoopExit()
|
| H A D | CFG.h | 1181 void appendLoopExit(const Stmt *LoopStmt, BumpVectorContext &C) { in appendLoopExit() argument 1182 Elements.push_back(CFGLoopExit(LoopStmt), C); in appendLoopExit()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 771 void addLoopExit(const Stmt *LoopStmt); 892 void appendLoopExit(CFGBlock *B, const Stmt *LoopStmt) { in appendLoopExit() argument 893 B->appendLoopExit(LoopStmt, cfg->getBumpVectorContext()); in appendLoopExit() 1808 void CFGBuilder::addLoopExit(const Stmt *LoopStmt){ in addLoopExit() argument 1812 appendLoopExit(Block, LoopStmt); in addLoopExit()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtOpenMP.h | 163 static OMPCanonicalLoop *create(const ASTContext &Ctx, Stmt *LoopStmt, in create() argument 168 S->setLoopStmt(LoopStmt); in create()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TreeTransform.h | 1643 StmtResult RebuildOMPCanonicalLoop(Stmt *LoopStmt) { in RebuildOMPCanonicalLoop() argument 1644 return getSema().ActOnOpenMPCanonicalLoop(LoopStmt); in RebuildOMPCanonicalLoop()
|