| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopWidening.cpp | 34 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition() 49 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
|
| H A D | LoopUnrolling.cpp | 73 return S && (isa<ForStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S)); in isLoopStmt()
|
| H A D | BugReporter.cpp | 488 if (cast<ForStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 947 const auto *FS = cast<ForStmt>(Term); in isInLoopBody() 1179 if (const auto *FS = dyn_cast<ForStmt>(Loop)) in generatePathDiagnosticsForNode() 1291 return cast<ForStmt>(S)->getCond() == Cond; in isConditionForTerminator() 1322 if (const auto *FS = dyn_cast<ForStmt>(FL)) in isIncrementOrInitInForLoop() 1468 if (!(isa<ForStmt>(s1Start) || isa<WhileStmt>(s1Start) || in simplifySimpleBranches()
|
| H A D | CoreEngine.cpp | 332 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 375 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt() 376 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 85 void VisitForStmt(ForStmt *S); 97 void checkLoopConditionForFloat(const ForStmt *FS); 183 void WalkAST::VisitForStmt(ForStmt *FS) { in VisitForStmt() 230 void WalkAST::checkLoopConditionForFloat(const ForStmt *FS) { in checkLoopConditionForFloat()
|
| H A D | MallocOverflowSecurityChecker.cpp | 249 void VisitForStmt(ForStmt *S) { in VisitForStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 38 if (const auto *For = dyn_cast<ForStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 94 ForStmt, enumerator 246 DEFINE_NESTABLE_TRAVERSAL(ForStmt) in DEFINE_NESTABLE_TRAVERSAL() 264 return PGOHash::ForStmt; in DEFINE_NESTABLE_TRAVERSAL() 515 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
|
| H A D | CGStmt.cpp | 144 case Stmt::ForStmtClass: EmitForStmt(cast<ForStmt>(*S), Attrs); break; in EmitStmt() 827 void CodeGenFunction::EmitForStmt(const ForStmt &S, in EmitForStmt()
|
| H A D | CodeGenFunction.cpp | 1455 isa<ForStmt>(S)) in containsBreak() 1477 isa<DoStmt>(S) || isa<ForStmt>(S) || isa<CompoundStmt>(S) || in mightAddDeclToScope()
|
| H A D | CoverageMappingGen.cpp | 1001 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1638 void VisitForStmt(const ForStmt *S) { in VisitForStmt() 2667 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local 2669 ForStmt->setBody(B); in FinishObjCForCollectionStmt() 2798 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 2800 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 2802 ForStmt->getBeginLoc())) { in DiagnoseForRangeVariableCopies() 2806 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies() 2838 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local 2839 ForStmt->setBody(B); in FinishCXXForRangeStmt() 2841 DiagnoseEmptyStmtBody(ForStmt->getRParenLoc(), B, in FinishCXXForRangeStmt() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Stmt.cpp | 889 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt() function in ForStmt 902 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable() 910 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
|
| H A D | ParentMap.cpp | 186 return DirectChild == cast<ForStmt>(P)->getCond(); in isConsumedExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 637 if (const ForStmt *FS = dyn_cast<ForStmt>(LoopTarget)) { in reportDeadCode()
|
| H A D | CFG.cpp | 550 CFGBlock *VisitForStmt(ForStmt *F); 2098 return VisitForStmt(cast<ForStmt>(S)); in Visit() 3106 CFGBlock *CFGBuilder::VisitForStmt(ForStmt *F) { in VisitForStmt() 4820 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper() 4920 void VisitForStmt(ForStmt *F) { in VisitForStmt() 5483 E = cast<ForStmt>(Terminator)->getCond(); in getTerminatorCondition()
|
| H A D | LiveVariables.cpp | 356 AddLiveStmt(val.liveStmts, LV.SSetFact, cast<ForStmt>(S)->getCond()); in Visit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 1835 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; 1845 AST_MATCHER_P(ForStmt, hasIncrement, internal::Matcher<Stmt>, in AST_MATCHER_P() argument 1860 AST_MATCHER_P(ForStmt, hasLoopInit, internal::Matcher<Stmt>, in AST_MATCHER_P() argument 4090 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument 4220 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 20 def ForStmt : Stmt;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Stmt.h | 218 friend class ForStmt; in alignas() local 2237 class ForStmt : public Stmt { 2243 ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, 2248 explicit ForStmt(EmptyShell Empty) : Stmt(ForStmtClass, Empty) {} in ForStmt() function
|
| H A D | StmtOpenMP.h | 963 Body = cast<ForStmt>(Body)->getBody(); in getBody() 966 Body = cast<ForStmt>(Body)->getBody(); in getBody()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 279 bool VisitForStmt(ForStmt *S) { in VisitForStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 695 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 293 void ASTStmtReader::VisitForStmt(ForStmt *S) { in VisitForStmt() 2410 S = new (Context) ForStmt(Empty); in ReadStmtFromStream()
|