| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopWidening.cpp | 33 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition() 50 assert((isa<ForStmt, WhileStmt, DoStmt, CXXForRangeStmt>(LoopStmt))); in getWidenedLoopState()
|
| H A D | BugReporter.cpp | 683 if (cast<ForStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1060 const auto *FS = cast<ForStmt>(Term); in isInLoopBody() 1251 if (const auto *FS = dyn_cast<ForStmt>(Loop)) in generatePathDiagnosticsForNode() 1376 return cast<ForStmt>(S)->getCond() == Cond; in isConditionForTerminator() 1407 if (const auto *FS = dyn_cast<ForStmt>(FL)) in isIncrementOrInitInForLoop() 1552 if (!isa<ForStmt, WhileStmt, IfStmt, ObjCForCollectionStmt, in simplifySimpleBranches()
|
| H A D | LoopUnrolling.cpp | 75 return isa_and_nonnull<ForStmt, WhileStmt, DoStmt>(S); in isLoopStmt()
|
| H A D | CoreEngine.cpp | 378 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 376 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt() 377 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 88 void VisitForStmt(ForStmt *S); 101 void checkLoopConditionForFloat(const ForStmt *FS); 212 void WalkAST::VisitForStmt(ForStmt *FS) { in VisitForStmt() 260 void WalkAST::checkLoopConditionForFloat(const ForStmt *FS) { in checkLoopConditionForFloat()
|
| H A D | ErrnoChecker.cpp | 86 CondFound = (S == cast<ForStmt>(ParentS)->getCond()); in isInCondition()
|
| H A D | MallocOverflowSecurityChecker.cpp | 250 void VisitForStmt(ForStmt *S) { in VisitForStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 38 if (const auto *For = dyn_cast<ForStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.h | 59 bool visitForStmt(const ForStmt *S);
|
| H A D | ByteCodeStmtGen.cpp | 260 return visitForStmt(cast<ForStmt>(S)); in visitStmt() 468 bool ByteCodeStmtGen<Emitter>::visitForStmt(const ForStmt *S) { in visitForStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 42 return grandParent.begin()->get<ForStmt>() || in isDeclaredInForOrIf()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2036 void VisitForStmt(const ForStmt *S) { in VisitForStmt() 3084 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local 3086 ForStmt->setBody(B); in FinishObjCForCollectionStmt() 3238 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 3240 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 3242 ForStmt->getBeginLoc())) { in DiagnoseForRangeVariableCopies() 3246 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies() 3281 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local 3282 ForStmt->setBody(B); in FinishCXXForRangeStmt() 3284 DiagnoseEmptyStmtBody(ForStmt->getRParenLoc(), B, in FinishCXXForRangeStmt() [all …]
|
| H A D | SemaStmtAttr.cpp | 93 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ParentMap.cpp | 198 return DirectChild == cast<ForStmt>(P)->getCond(); in isConsumedExpr()
|
| H A D | Stmt.cpp | 1020 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt() function in ForStmt 1033 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable() 1041 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 98 ForStmt, enumerator 392 DEFINE_NESTABLE_TRAVERSAL(ForStmt) in DEFINE_NESTABLE_TRAVERSAL() 410 return PGOHash::ForStmt; in DEFINE_NESTABLE_TRAVERSAL() 661 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 647 if (const ForStmt *FS = dyn_cast<ForStmt>(LoopTarget)) { in reportDeadCode()
|
| H A D | LiveVariables.cpp | 313 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<ForStmt>(S)->getCond()); in Visit()
|
| H A D | CFG.cpp | 591 CFGBlock *VisitForStmt(ForStmt *F); 2311 return VisitForStmt(cast<ForStmt>(S)); in Visit() 3498 CFGBlock *CFGBuilder::VisitForStmt(ForStmt *F) { in VisitForStmt() 5451 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper() 5551 void VisitForStmt(ForStmt *F) { in VisitForStmt() 6282 E = cast<ForStmt>(Terminator)->getCond(); in getTerminatorCondition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | TypeErasedDataflowAnalysis.cpp | 99 TerminatorVisitorRetTy VisitForStmt(const ForStmt *S) { in VisitForStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2153 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; 2163 AST_MATCHER_P(ForStmt, hasIncrement, internal::Matcher<Stmt>, in AST_MATCHER_P() argument 2178 AST_MATCHER_P(ForStmt, hasLoopInit, internal::Matcher<Stmt>, in AST_MATCHER_P() argument 5583 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5727 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, WhileStmt, CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 16 def ForStmt : StmtNode<Stmt>;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 277 bool VisitForStmt(ForStmt *S) { in VisitForStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 258 friend class ForStmt; in alignas() local 2779 class ForStmt : public Stmt { 2787 ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, 2792 explicit ForStmt(EmptyShell Empty) : Stmt(ForStmtClass, Empty) {} in ForStmt() function
|