/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 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);
|
H A D | LoopWidening.h | 30 unsigned BlockCount, const Stmt *LoopStmt);
|
/freebsd/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 | 1184 void appendLoopExit(const Stmt *LoopStmt, BumpVectorContext &C) { in appendLoopExit() argument 1185 Elements.push_back(CFGLoopExit(LoopStmt), C); in appendLoopExit()
|
/freebsd/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() 1805 void CFGBuilder::addLoopExit(const Stmt *LoopStmt){ in addLoopExit() argument 1809 appendLoopExit(Block, LoopStmt); in addLoopExit()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 971 template <typename LoopStmt> static bool hasEmptyLoopBody(const LoopStmt &S) { in hasEmptyLoopBody() 972 if constexpr (std::is_same_v<LoopStmt, ForStmt>) { in hasEmptyLoopBody()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 14072 Stmt *LoopStmt, ArrayRef<Stmt *> OriginalInit, in addLoopPreInits() argument 14077 if (auto *CXXRangeFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) { in addLoopPreInits() 14259 Stmt *LoopStmt = LoopStmts[I]; in ActOnOpenMPTileDirective() local 14333 if (auto *SourceCXXFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPTileDirective() 14502 Stmt *LoopStmt = nullptr; in ActOnOpenMPUnrollDirective() local 14503 collectLoopStmts(AStmt, {LoopStmt}); in ActOnOpenMPUnrollDirective() 14507 addLoopPreInits(Context, LoopHelper, LoopStmt, OriginalInits[0], PreInits); in ActOnOpenMPUnrollDirective() 14613 if (auto *CXXRangeFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPUnrollDirective() 14709 Stmt *LoopStmt = nullptr; in ActOnOpenMPReverseDirective() local 14710 collectLoopStmts(AStmt, {LoopStmt}); in ActOnOpenMPReverseDirective() [all …]
|
H A D | TreeTransform.h | 1662 StmtResult RebuildOMPCanonicalLoop(Stmt *LoopStmt) { in RebuildOMPCanonicalLoop() argument 1663 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()
|