Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp37 return cast<DoStmt>(LoopStmt)->getCond(); in getLoopCondition()
50 assert((isa<ForStmt, WhileStmt, DoStmt, CXXForRangeStmt>(LoopStmt))); in getWidenedLoopState()
H A DLoopUnrolling.cpp75 return isa_and_nonnull<ForStmt, WhileStmt, DoStmt>(S); in isLoopStmt()
H A DCoreEngine.cpp370 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
/freebsd-14.2/contrib/llvm-project/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.cpp155 if (isa<DoStmt>(Parent)) in checkEndAnalysis()
H A DErrnoChecker.cpp89 CondFound = (S == cast<DoStmt>(ParentS)->getCond()); in isInCondition()
H A DMallocOverflowSecurityChecker.cpp253 void VisitDoStmt(DoStmt *S) { in VisitDoStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h58 bool visitDoStmt(const DoStmt *S);
H A DByteCodeStmtGen.cpp258 return visitDoStmt(cast<DoStmt>(S)); in visitStmt()
440 bool ByteCodeStmtGen<Emitter>::visitDoStmt(const DoStmt *S) { in visitDoStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp119 bool VisitDoStmt(DoStmt *S) { in VisitDoStmt()
H A DTransforms.cpp272 bool VisitDoStmt(DoStmt *S) { in VisitDoStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp202 return DirectChild == cast<DoStmt>(P)->getCond(); in isConsumedExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp97 DoStmt, enumerator
391 DEFINE_NESTABLE_TRAVERSAL(DoStmt) in DEFINE_NESTABLE_TRAVERSAL()
408 return PGOHash::DoStmt; in DEFINE_NESTABLE_TRAVERSAL()
640 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
H A DCodeGenFunction.cpp1561 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) || in containsBreak()
1584 isa<DoStmt>(S) || isa<ForStmt>(S) || isa<CompoundStmt>(S) || in mightAddDeclToScope()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp55 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) { in isTrivialDoWhile()
H A DLiveVariables.cpp306 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<DoStmt>(S)->getCond()); in Visit()
H A DCFG.cpp588 CFGBlock *VisitDoStmt(DoStmt *D);
2308 return VisitDoStmt(cast<DoStmt>(S)); in Visit()
4174 CFGBlock *CFGBuilder::VisitDoStmt(DoStmt *D) { in VisitDoStmt()
5570 void VisitDoStmt(DoStmt *D) { in VisitDoStmt()
6290 E = cast<DoStmt>(Terminator)->getCond(); in getTerminatorCondition()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp93 TerminatorVisitorRetTy VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td15 def DoStmt : StmtNode<Stmt>;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h248 friend class DoStmt; in alignas() local
2723 class DoStmt : public Stmt {
2730 DoStmt(Stmt *Body, Expr *Cond, SourceLocation DL, SourceLocation WL, in DoStmt() function
2739 explicit DoStmt(EmptyShell Empty) : Stmt(DoStmtClass, Empty) {} in DoStmt() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp93 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
H A DSemaAvailability.cpp627 return cast<DoStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
H A DAnalysisBasedWarnings.cpp970 Range = cast<DoStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse()
1361 if (!cast<DoStmt>(S)->getCond()->EvaluateAsInt(Result, Ctx)) in isInLoop()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2240 extern const internal::VariadicDynCastAllOfMatcher<Stmt, DoStmt> doStmt;
5583 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument
5727 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, WhileStmt, CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp906 const internal::VariadicDynCastAllOfMatcher<Stmt, DoStmt> doStmt;

12