/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtCXX.cpp | 48 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range, in CXXForRangeStmt() function in CXXForRangeStmt 66 Expr *CXXForRangeStmt::getRangeInit() { in getRangeInit() 73 const Expr *CXXForRangeStmt::getRangeInit() const { in getRangeInit() 74 return const_cast<CXXForRangeStmt *>(this)->getRangeInit(); in getRangeInit() 77 VarDecl *CXXForRangeStmt::getLoopVariable() { in getLoopVariable() 83 const VarDecl *CXXForRangeStmt::getLoopVariable() const { in getLoopVariable() 84 return const_cast<CXXForRangeStmt *>(this)->getLoopVariable(); in getLoopVariable()
|
H A D | StmtOpenACC.cpp | 89 assert((Loop == nullptr || isa<ForStmt, CXXForRangeStmt>(Loop)) && in OpenACCLoopConstruct() 100 assert((isa<ForStmt, CXXForRangeStmt>(Loop)) && in setLoop()
|
H A D | ParentMapContext.cpp | 185 matchParents<DeclStmt, CXXForRangeStmt>(ParentList, this); in getParents() 187 std::get<const CXXForRangeStmt *>(AncestorNodes) in getParents() 193 auto AncestorNodes = matchParents<VarDecl, DeclStmt, CXXForRangeStmt>( in getParents() 196 std::get<const CXXForRangeStmt *>(AncestorNodes) in getParents()
|
H A D | StmtOpenMP.cpp | 97 if (isa<ForStmt>(S) || isa<CXXForRangeStmt>(S) || in tryToFindNextInnerLoop() 169 assert(isa<CXXForRangeStmt>(CurStmt) && in doForAllLoops() 171 CurStmt = cast<CXXForRangeStmt>(CurStmt)->getBody(); in doForAllLoops() 189 assert(isa<CXXForRangeStmt>(Loop) && in doForAllLoopsBodies() 191 Body = cast<CXXForRangeStmt>(Loop)->getBody(); in doForAllLoopsBodies()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtCXX.h | 135 class CXXForRangeStmt : public Stmt { 147 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin, 151 CXXForRangeStmt(EmptyShell Empty) : Stmt(CXXForRangeStmtClass, Empty) { } in CXXForRangeStmt() function
|
H A D | ASTNodeTraverser.h | 166 isa<LambdaExpr, CXXForRangeStmt, CallExpr, 906 void VisitCXXForRangeStmt(const CXXForRangeStmt *Node) { in VisitCXXForRangeStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
H A D | SourceExtraction.cpp | 40 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(S)) in isSemicolonRequiredAfter()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedLocalVarsChecker.cpp | 166 bool TraverseCXXForRangeStmt(CXXForRangeStmt *FRS) { in checkASTDecl()
|
H A D | PtrTypesSemantics.cpp | 338 bool VisitCXXForRangeStmt(const CXXForRangeStmt *FS) { in VisitCXXForRangeStmt()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 101 CXXForRangeStmt, enumerator 456 bool TraverseCXXForRangeStmt(CXXForRangeStmt *ForRange) { in TraverseCXXForRangeStmt() 501 return PGOHash::CXXForRangeStmt; in DEFINE_NESTABLE_TRAVERSAL() 785 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
|
H A D | CGStmt.cpp | 202 EmitCXXForRangeStmt(cast<CXXForRangeStmt>(*S), Attrs); in EmitStmt() 1317 CodeGenFunction::EmitCXXForRangeStmt(const CXXForRangeStmt &S, in EmitCXXForRangeStmt()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporter.cpp | 687 if (cast<CXXForRangeStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1061 const auto *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody() 1267 } else if (const auto *FRS = dyn_cast<CXXForRangeStmt>(Loop)) { in generatePathDiagnosticsForNode() 1305 } else if (isa<CXXForRangeStmt>(Term)) { in generatePathDiagnosticsForNode() 1410 const auto *FRS = cast<CXXForRangeStmt>(S); in isConditionForTerminator() 1421 if (const auto *FRS = dyn_cast<CXXForRangeStmt>(FL)) in isIncrementOrInitInForLoop() 1565 CXXForRangeStmt>(s1Start)) in simplifySimpleBranches()
|
H A D | CoreEngine.cpp | 362 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | TypeErasedDataflowAnalysis.cpp | 74 const Expr *VisitCXXForRangeStmt(const CXXForRangeStmt *) { in VisitCXXForRangeStmt() argument
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 2192 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXForRangeStmt> 2203 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument 2217 AST_MATCHER_P(CXXForRangeStmt, hasRangeInit, internal::Matcher<Expr>, in AST_MATCHER_P() argument 5592 CXXForRangeStmt), in AST_POLYMORPHIC_MATCHER_P() argument 5751 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 | 51 def CXXForRangeStmt : StmtNode<Stmt>;
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ExprMutationAnalyzer.cpp | 99 AST_MATCHER_P(CXXForRangeStmt, hasRangeStmt, in AST_MATCHER_P() argument
|
H A D | CFG.cpp | 577 CFGBlock *VisitCXXForRangeStmt(CXXForRangeStmt *S); 2296 return VisitCXXForRangeStmt(cast<CXXForRangeStmt>(S)); in Visit() 4665 CFGBlock *CFGBuilder::VisitCXXForRangeStmt(CXXForRangeStmt *S) { in VisitCXXForRangeStmt() 6275 E = cast<CXXForRangeStmt>(Terminator)->getCond(); in getTerminatorCondition()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.h | 206 bool visitCXXForRangeStmt(const CXXForRangeStmt *S);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 2076 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt() 2921 return new (Context) CXXForRangeStmt( in BuildCXXForRangeStmt() 3070 const CXXForRangeStmt *ForStmt) { in DiagnoseForRangeVariableCopies() 3115 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt()
|
H A D | SemaStmtAttr.cpp | 94 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
|
H A D | SemaAvailability.cpp | 708 return cast<CXXForRangeStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
|
H A D | SemaOpenACC.cpp | 1692 !isa<CXXForRangeStmt, ForStmt>(AssocStmt.get())) { in ActOnAssociatedStmt()
|
H A D | SemaOpenMP.cpp | 5633 } else if (auto *RangeFor = dyn_cast<CXXForRangeStmt>(AStmt)) { in ActOnOpenMPCanonicalLoop() 5750 SemaRef, LVTy, LogicalTy, CounterRef, Step, isa<CXXForRangeStmt>(AStmt)); in ActOnOpenMPCanonicalLoop() 5760 if (isa<ForStmt>(AStmt) || isa<CXXForRangeStmt>(AStmt)) in ActOnOpenMPLoopnest() 9170 auto *CXXFor = dyn_cast_or_null<CXXForRangeStmt>(S); in checkOpenMPIterationSpace() 14040 assert(isa<CXXForRangeStmt>(CurStmt) && in checkTransformableLoopNest() 14042 auto *CXXFor = cast<CXXForRangeStmt>(CurStmt); in checkTransformableLoopNest() 14077 if (auto *CXXRangeFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) { in addLoopPreInits() 14333 if (auto *SourceCXXFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPTileDirective() 14613 if (auto *CXXRangeFor = dyn_cast<CXXForRangeStmt>(LoopStmt)) in ActOnOpenMPUnrollDirective() 14844 (isa<CXXForRangeStmt>(LoopStmt) ? 1 : 0)); in ActOnOpenMPReverseDirective() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | BuildTree.cpp | 834 bool TraverseCXXForRangeStmt(CXXForRangeStmt *S) { in TraverseCXXForRangeStmt() 1519 bool WalkUpFromCXXForRangeStmt(CXXForRangeStmt *S) { in WalkUpFromCXXForRangeStmt()
|