| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopWidening.cpp | 37 return cast<DoStmt>(LoopStmt)->getCond(); in getLoopCondition() 48 assert((isa<ForStmt, WhileStmt, DoStmt>(LoopStmt))); in getWidenedLoopState()
|
| H A D | LoopUnrolling.cpp | 72 return isa_and_nonnull<ForStmt, WhileStmt, DoStmt>(S); in isLoopStmt()
|
| H A D | CoreEngine.cpp | 371 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 65 if (isa<WhileStmt, DoStmt>(Loop)) { in check() 120 if (isa<WhileStmt, DoStmt>(Statement)) in hasKnownBounds() 157 if (const auto *DoWhileLoop = dyn_cast<DoStmt>(Statement)) in getCondExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 394 const DoStmt *DStmt1 = cast<DoStmt>(Stmt1); in isIdenticalStmt() 395 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); in isIdenticalStmt()
|
| H A D | UnreachableCodeChecker.cpp | 156 if (isa<DoStmt>(Parent)) in checkEndAnalysis()
|
| H A D | ErrnoChecker.cpp | 88 CondFound = (S == cast<DoStmt>(ParentS)->getCond()); in isInCondition()
|
| H A D | MallocOverflowSecurityChecker.cpp | 252 void VisitDoStmt(DoStmt *S) { in VisitDoStmt()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | attr-likelihood-if-branch-weights.cpp | 77 void DoStmt() { in DoStmt() function
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 166 isa<DoStmt>(Stmt) || isa<ForStmt>(Stmt) || isa<IfStmt>(Stmt) || in computeInsertionPoint() 381 if (const auto* DS = llvm::dyn_cast<DoStmt>(Outer)) in childExprIsStmt()
|
| H A D | ExtractFunction.cpp | 560 return isa<ForStmt>(S) || isa<DoStmt>(S) || isa<WhileStmt>(S) || in isLoop()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 94 DoStmt, enumerator 263 DEFINE_NESTABLE_TRAVERSAL(DoStmt) in DEFINE_NESTABLE_TRAVERSAL() 280 return PGOHash::DoStmt; in DEFINE_NESTABLE_TRAVERSAL() 512 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 119 bool VisitDoStmt(DoStmt *S) { in VisitDoStmt()
|
| H A D | Transforms.cpp | 272 bool VisitDoStmt(DoStmt *S) { in VisitDoStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ParentMap.cpp | 200 return DirectChild == cast<DoStmt>(P)->getCond(); in isConsumedExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | LexerUtils.cpp | 158 return isa<Expr, DoStmt, ReturnStmt, BreakStmt, ContinueStmt, GotoStmt, SEHLeaveStmt>(S); in breakAndReturnEndPlus1Token()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 53 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) { in isTrivialDoWhile()
|
| H A D | LiveVariables.cpp | 305 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<DoStmt>(S)->getCond()); in Visit()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | BracesAroundStatementsCheck.cpp | 126 } else if (const auto *S = Result.Nodes.getNodeAs<DoStmt>("do")) { in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | PreferMemberInitializerCheck.cpp | 21 return isa<IfStmt, SwitchStmt, ForStmt, WhileStmt, DoStmt, ReturnStmt, in isControlStatement()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | TypeErasedDataflowAnalysis.cpp | 93 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 15 def DoStmt : StmtNode<Stmt>;
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmtAttr.cpp | 87 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 216 friend class DoStmt; in alignas() local 2510 class DoStmt : public Stmt { 2517 DoStmt(Stmt *Body, Expr *Cond, SourceLocation DL, SourceLocation WL, in DoStmt() function 2526 explicit DoStmt(EmptyShell Empty) : Stmt(DoStmtClass, Empty) {} in DoStmt() function
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2177 extern const internal::VariadicDynCastAllOfMatcher<Stmt, DoStmt> doStmt; 5344 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument 5488 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|