| /freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ErrnoChecker.cpp | 85 CondFound = (S == cast<ForStmt>(ParentS)->getCond()); in isInCondition()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ParentMap.cpp | 207 return DirectChild == cast<ForStmt>(P)->getCond(); in isConsumedExpr()
|
| H A D | Stmt.cpp | 1065 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt() function in ForStmt 1078 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable() 1086 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
|
| H A D | StmtOpenACC.cpp | 58 assert((Loop == nullptr || isa<ForStmt, CXXForRangeStmt>(Loop)) && in OpenACCLoopConstruct()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 690 if (const ForStmt *FS = dyn_cast<ForStmt>(LoopTarget)) { in reportDeadCode()
|
| H A D | LiveVariables.cpp | 330 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<ForStmt>(S)->getCond()); in Visit()
|
| H A D | CFG.cpp | 613 CFGBlock *VisitForStmt(ForStmt *F); 2397 return VisitForStmt(cast<ForStmt>(S)); in Visit() 3607 CFGBlock *CFGBuilder::VisitForStmt(ForStmt *F) { in VisitForStmt() 5557 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper() 5657 void VisitForStmt(ForStmt *F) { in VisitForStmt() 6393 E = cast<ForStmt>(Terminator)->getCond(); in getTerminatorCondition()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 100 ForStmt, enumerator 435 bool TraverseForStmt(ForStmt *For) { in TraverseForStmt() 499 return PGOHash::ForStmt; in DEFINE_NESTABLE_TRAVERSAL() 750 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
|
| H A D | CGStmt.cpp | 161 case Stmt::ForStmtClass: EmitForStmt(cast<ForStmt>(*S), Attrs); break; in EmitStmt() 1063 if constexpr (std::is_same_v<LoopStmt, ForStmt>) { in hasEmptyLoopBody() 1290 void CodeGenFunction::EmitForStmt(const ForStmt &S, in EmitForStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CoreEngine.cpp | 412 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 646 if (isa<ForStmt, WhileStmt, CXXForRangeStmt>(Term)) { in getCompletedIterationCount()
|
| H A D | LoopUnrolling.cpp | 75 return isa_and_nonnull<ForStmt, WhileStmt, DoStmt>(S); in isLoopStmt()
|
| H A D | BugReporter.cpp | 714 if (cast<ForStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1087 const auto *FS = cast<ForStmt>(Term); in isInLoopBody() 1278 if (const auto *FS = dyn_cast<ForStmt>(Loop)) in generatePathDiagnosticsForNode() 1405 return cast<ForStmt>(S)->getCond() == Cond; in isConditionForTerminator() 1436 if (const auto *FS = dyn_cast<ForStmt>(FL)) in isIncrementOrInitInForLoop() 1581 if (!isa<ForStmt, WhileStmt, IfStmt, ObjCForCollectionStmt, in simplifySimpleBranches()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2158 void VisitForStmt(const ForStmt *S) { in VisitForStmt() 2324 ForStmt(Context, First, Second.get().second, Second.get().first, Third, in ActOnForStmt() 3179 const CXXForRangeStmt *ForStmt) { in DiagnoseForRangeVariableCopies() argument 3183 SourceLocation Loc = ForStmt->getBeginLoc(); in DiagnoseForRangeVariableCopies() 3191 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies() 3209 ForStmt->getRangeInit()->getType()); in DiagnoseForRangeVariableCopies() 3222 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local 3223 ForStmt->setBody(B); in FinishCXXForRangeStmt() 3225 DiagnoseEmptyStmtBody(ForStmt->getRParenLoc(), B, in FinishCXXForRangeStmt() 3228 DiagnoseForRangeVariableCopies(*this, ForStmt); in FinishCXXForRangeStmt()
|
| H A D | SemaOpenACC.cpp | 1663 isa<ForStmt, NullStmt, ForStmt, CXXForRangeStmt, WhileStmt, DoStmt>( in FindInterveningCodeInLoop() 2092 if (!isa<CXXForRangeStmt, ForStmt>(AssocStmt.get())) { in ActOnAssociatedStmt()
|
| H A D | SemaStmtAttr.cpp | 91 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
|
| H A D | SemaObjC.cpp | 196 ObjCForCollectionStmt *ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local 198 ForStmt->setBody(B); in FinishObjCForCollectionStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefLocalVarsChecker.cpp | 241 bool TraverseForStmt(ForStmt *FS) override { in checkASTDecl()
|
| H A D | PtrTypesSemantics.cpp | 601 bool VisitForStmt(const ForStmt *FS) { in VisitForStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenStmt.cpp | 97 return emitForStmt(cast<ForStmt>(*s)); in emitStmt() 645 mlir::LogicalResult CIRGenFunction::emitForStmt(const ForStmt &s) { in emitForStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | TypeErasedDataflowAnalysis.cpp | 87 const Expr *VisitForStmt(const ForStmt *S) { return S->getCond(); } in VisitForStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2203 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; 2213 AST_MATCHER_P(ForStmt, hasIncrement, internal::Matcher<Stmt>, in AST_MATCHER_P() argument 2228 AST_MATCHER_P(ForStmt, hasLoopInit, internal::Matcher<Stmt>, in AST_MATCHER_P() argument 5653 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5797 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, WhileStmt, CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 16 def ForStmt : StmtNode<Stmt>;
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 260 friend class ForStmt; 2891 class ForStmt : public Stmt { 2899 ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, 2904 explicit ForStmt(EmptyShell Empty) : Stmt(ForStmtClass, Empty) {}
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.h | 225 bool visitForStmt(const ForStmt *S);
|