Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp155 if (isa<DoStmt>(Parent)) in checkEndAnalysis()
H A DErrnoChecker.cpp88 CondFound = (S == cast<DoStmt>(ParentS)->getCond()); in isInCondition()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp211 return DirectChild == cast<DoStmt>(P)->getCond(); in isConsumedExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp55 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) { in isTrivialDoWhile()
H A DLiveVariables.cpp323 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<DoStmt>(S)->getCond()); in Visit()
H A DCFG.cpp610 CFGBlock *VisitDoStmt(DoStmt *D);
2394 return VisitDoStmt(cast<DoStmt>(S)); in Visit()
4283 CFGBlock *CFGBuilder::VisitDoStmt(DoStmt *D) { in VisitDoStmt()
5676 void VisitDoStmt(DoStmt *D) { in VisitDoStmt()
6401 E = cast<DoStmt>(Terminator)->getCond(); in getTerminatorCondition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp99 DoStmt, enumerator
416 bool TraverseDoStmt(DoStmt *Do) { in TraverseDoStmt()
497 return PGOHash::DoStmt; in DEFINE_NESTABLE_TRAVERSAL()
729 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
H A DCGStmt.cpp160 case Stmt::DoStmtClass: EmitDoStmt(cast<DoStmt>(*S), Attrs); break; in EmitStmt()
1202 void CodeGenFunction::EmitDoStmt(const DoStmt &S, in EmitDoStmt()
H A DCodeGenFunction.cpp1713 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) || in containsBreak()
1736 isa<DoStmt>(S) || isa<ForStmt>(S) || isa<CompoundStmt>(S) || in mightAddDeclToScope()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp404 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
651 if (isa<DoStmt>(Term)) { in getCompletedIterationCount()
H A DLoopUnrolling.cpp75 return isa_and_nonnull<ForStmt, WhileStmt, DoStmt>(S); in isLoopStmt()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenStmt.cpp101 return emitDoStmt(cast<DoStmt>(*s)); in emitStmt()
717 mlir::LogicalResult CIRGenFunction::emitDoStmt(const DoStmt &s) { in emitDoStmt()
H A DCIRGenFunction.h884 mlir::LogicalResult emitDoStmt(const clang::DoStmt &s);
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp86 const Expr *VisitDoStmt(const DoStmt *S) { return S->getCond(); } in VisitDoStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td15 def DoStmt : StmtNode<Stmt>;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h250 friend class DoStmt;
2835 class DoStmt : public Stmt {
2842 DoStmt(Stmt *Body, Expr *Cond, SourceLocation DL, SourceLocation WL,
2851 explicit DoStmt(EmptyShell Empty) : Stmt(DoStmtClass, Empty) {}
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp597 bool VisitDoStmt(const DoStmt *DS) { return VisitChildren(DS); } in VisitDoStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h224 bool visitDoStmt(const DoStmt *S);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp91 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
H A DSemaAvailability.cpp747 return cast<DoStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
H A DAnalysisBasedWarnings.cpp1107 Range = cast<DoStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse()
1501 if (!cast<DoStmt>(S)->getCond()->EvaluateAsInt(Result, Ctx)) in isInLoop()
H A DSemaStmt.cpp1860 return new (Context) DoStmt(Body, Cond, DoLoc, WhileLoc, CondRParen); in ActOnDoStmt()
2170 void VisitDoStmt(const DoStmt *) { in VisitDoStmt() argument
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2290 extern const internal::VariadicDynCastAllOfMatcher<Stmt, DoStmt> doStmt;
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/lib/ASTMatchers/
H A DASTMatchersInternal.cpp937 const internal::VariadicDynCastAllOfMatcher<Stmt, DoStmt> doStmt;
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp4535 isa<DoStmt>(S) || isa<ForStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
4701 isa<DoStmt>(S) || isa<ForStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
4704 isa<DoStmt>(Stmts.back()) || isa<ForStmt>(Stmts.back())) in RewriteFunctionBodyOrGlobalInitializer()

12