Home
last modified time | relevance | path

Searched refs:DoStmt (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp37 return cast<DoStmt>(LoopStmt)->getCond(); in getLoopCondition()
48 assert((isa<ForStmt, WhileStmt, DoStmt>(LoopStmt))); in getWidenedLoopState()
H A DLoopUnrolling.cpp72 return isa_and_nonnull<ForStmt, WhileStmt, DoStmt>(S); in isLoopStmt()
H A DCoreEngine.cpp371 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DUnrollLoopsCheck.cpp65 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 DIdenticalExprChecker.cpp394 const DoStmt *DStmt1 = cast<DoStmt>(Stmt1); in isIdenticalStmt()
395 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); in isIdenticalStmt()
H A DUnreachableCodeChecker.cpp156 if (isa<DoStmt>(Parent)) in checkEndAnalysis()
H A DErrnoChecker.cpp88 CondFound = (S == cast<DoStmt>(ParentS)->getCond()); in isInCondition()
H A DMallocOverflowSecurityChecker.cpp252 void VisitDoStmt(DoStmt *S) { in VisitDoStmt()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dattr-likelihood-if-branch-weights.cpp77 void DoStmt() { in DoStmt() function
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp166 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 DExtractFunction.cpp560 return isa<ForStmt>(S) || isa<DoStmt>(S) || isa<WhileStmt>(S) || in isLoop()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.cpp94 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 DTransEmptyStatementsAndDealloc.cpp119 bool VisitDoStmt(DoStmt *S) { in VisitDoStmt()
H A DTransforms.cpp272 bool VisitDoStmt(DoStmt *S) { in VisitDoStmt()
/llvm-project-15.0.7/clang/lib/AST/
H A DParentMap.cpp200 return DirectChild == cast<DoStmt>(P)->getCond(); in isConsumedExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DLexerUtils.cpp158 return isa<Expr, DoStmt, ReturnStmt, BreakStmt, ContinueStmt, GotoStmt, SEHLeaveStmt>(S); in breakAndReturnEndPlus1Token()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DReachableCode.cpp53 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) { in isTrivialDoWhile()
H A DLiveVariables.cpp305 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<DoStmt>(S)->getCond()); in Visit()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DBracesAroundStatementsCheck.cpp126 } 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 DPreferMemberInitializerCheck.cpp21 return isa<IfStmt, SwitchStmt, ForStmt, WhileStmt, DoStmt, ReturnStmt, in isControlStatement()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp93 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td15 def DoStmt : StmtNode<Stmt>;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmtAttr.cpp87 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h216 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 DASTMatchers.h2177 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

12