Searched refs:LoopStmt (Results 1 – 9 of 9) sorted by relevance
| /freebsd/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() 78 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State) { in processLoopEnd() argument 80 if (!LS.isEmpty() && LS.getHead().getLoopStmt() == LoopStmt) in processLoopEnd() 268 static bool shouldCompletelyUnroll(const Stmt *LoopStmt, ASTContext &ASTCtx, in shouldCompletelyUnroll() argument 271 if (!isLoopStmt(LoopStmt)) in shouldCompletelyUnroll() 276 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll() [all …]
|
| /freebsd/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);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | ProgramPoint.h | 723 LoopExit(const Stmt *LoopStmt, const LocationContext *LC) in LoopExit() argument 724 : ProgramPoint(LoopStmt, nullptr, LoopExitKind, LC) {} in LoopExit()
|
| H A D | CFG.h | 1190 void appendLoopExit(const Stmt *LoopStmt, BumpVectorContext &C) { in appendLoopExit() argument 1191 Elements.push_back(CFGLoopExit(LoopStmt), C); in appendLoopExit()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 794 void addLoopExit(const Stmt *LoopStmt); 920 void appendLoopExit(CFGBlock *B, const Stmt *LoopStmt) { in appendLoopExit() argument 921 B->appendLoopExit(LoopStmt, cfg->getBumpVectorContext()); in appendLoopExit() 1892 void CFGBuilder::addLoopExit(const Stmt *LoopStmt){ in addLoopExit() argument 1896 appendLoopExit(Block, LoopStmt); in addLoopExit()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1062 template <typename LoopStmt> static bool hasEmptyLoopBody(const LoopStmt &S) { in hasEmptyLoopBody() 1063 if constexpr (std::is_same_v<LoopStmt, ForStmt>) { in hasEmptyLoopBody()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 14246 Stmt *LoopStmt, ArrayRef<Stmt *> OriginalInit, in addLoopPreInits() argument 14251 if (auto *CXXRangeFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) { in addLoopPreInits() 14445 Stmt *LoopStmt = LoopStmts[I]; in ActOnOpenMPTileDirective() local 14522 if (auto *SourceCXXFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPTileDirective() 14717 Stmt *LoopStmt = LoopStmts[I]; in ActOnOpenMPStripeDirective() local 14784 if (auto *SourceCXXFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPStripeDirective() 14946 Stmt *LoopStmt = nullptr; in ActOnOpenMPUnrollDirective() local 14947 collectLoopStmts(AStmt, {LoopStmt}); in ActOnOpenMPUnrollDirective() 14951 addLoopPreInits(Context, LoopHelper, LoopStmt, OriginalInits[0], PreInits); in ActOnOpenMPUnrollDirective() 15056 if (auto *CXXRangeFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPUnrollDirective() [all …]
|
| H A D | TreeTransform.h | 1656 StmtResult RebuildOMPCanonicalLoop(Stmt *LoopStmt) { in RebuildOMPCanonicalLoop() argument 1657 return getSema().OpenMP().ActOnOpenMPCanonicalLoop(LoopStmt); in RebuildOMPCanonicalLoop()
|
| /freebsd/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()
|