Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDStmt.cpp1015 WhileStmt::WhileStmt(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, in WhileStmt() function in WhileStmt
1029 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() function in WhileStmt
1034 WhileStmt *WhileStmt::Create(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, in Create()
1039 alignof(WhileStmt)); in Create()
1040 return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL); in Create()
1043 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty()
1046 alignof(WhileStmt)); in CreateEmpty()
1047 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()
1050 VarDecl *WhileStmt::getConditionVariable() { in getConditionVariable()
1057 void WhileStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable()
HDParentMap.cpp199 return DirectChild == cast<WhileStmt>(P)->getCond(); in isConsumedExpr()
HDTextNodeDumper.cpp670 void TextNodeDumper::VisitWhileStmt(const WhileStmt *Node) { in VisitWhileStmt()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDLoopWidening.cpp35 return cast<WhileStmt>(LoopStmt)->getCond(); in getLoopCondition()
48 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
HDLoopUnrolling.cpp72 return S && (isa<ForStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S)); in isLoopStmt()
HDBugReporter.cpp689 if (cast<WhileStmt>(Parent)->getCond() != S) in getEnclosingStmtLocation()
1066 LoopBody = cast<WhileStmt>(Term)->getBody(); in isInLoopBody()
1244 else if (const auto *WS = dyn_cast<WhileStmt>(Loop)) in generatePathDiagnosticsForNode()
1366 return cast<WhileStmt>(S)->getCond() == Cond; in isConditionForTerminator()
1540 if (!(isa<ForStmt>(s1Start) || isa<WhileStmt>(s1Start) || in simplifySimpleBranches()
HDCoreEngine.cpp397 HandleBranch(cast<WhileStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDIdenticalExprChecker.cpp404 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); in isIdenticalStmt()
405 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
HDMallocOverflowSecurityChecker.cpp245 void VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
HDSourceExtraction.cpp35 if (const auto *While = dyn_cast<WhileStmt>(S)) in isSemicolonRequiredAfter()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenPGO.cpp92 WhileStmt, enumerator
244 DEFINE_NESTABLE_TRAVERSAL(WhileStmt)
260 return PGOHash::WhileStmt; in DEFINE_NESTABLE_TRAVERSAL()
469 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
HDCGStmt.cpp141 case Stmt::WhileStmtClass: EmitWhileStmt(cast<WhileStmt>(*S), Attrs); break; in EmitStmt()
716 void CodeGenFunction::EmitWhileStmt(const WhileStmt &S, in EmitWhileStmt()
HDCodeGenFunction.cpp1392 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) || in containsBreak()
1414 if (isa<IfStmt>(S) || isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in mightAddDeclToScope()
HDCoverageMappingGen.cpp950 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDStmt.h205 friend class WhileStmt; in alignas() local
2241 class WhileStmt final : public Stmt,
2242 private llvm::TrailingObjects<WhileStmt, Stmt *> {
2272 WhileStmt(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, Stmt *Body,
2276 explicit WhileStmt(EmptyShell Empty, bool HasVar);
2280 static WhileStmt *Create(const ASTContext &Ctx, VarDecl *Var, Expr *Cond,
2285 static WhileStmt *CreateEmpty(const ASTContext &Ctx, bool HasVar);
2321 return const_cast<WhileStmt *>(this)->getConditionVariable(); in getConditionVariable()
HDTextNodeDumper.h227 void VisitWhileStmt(const WhileStmt *Node);
HDJSONNodeDumper.h310 void VisitWhileStmt(const WhileStmt *WS);
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransEmptyStatementsAndDealloc.cpp107 bool VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
HDTransforms.cpp268 bool VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDStmtNodes.td14 def WhileStmt : StmtNode<Stmt>;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h1998 extern const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;
4470 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument
4601 WhileStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDCFG.cpp611 CFGBlock *VisitWhileStmt(WhileStmt *W);
2333 return VisitWhileStmt(cast<WhileStmt>(S)); in Visit()
3677 CFGBlock *CFGBuilder::VisitWhileStmt(WhileStmt *W) { in VisitWhileStmt()
5135 cast<WhileStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
5241 void VisitWhileStmt(WhileStmt *W) { in VisitWhileStmt()
5950 E = cast<WhileStmt>(Terminator)->getCond(); in getTerminatorCondition()
HDLiveVariables.cpp341 AddLiveStmt(val.liveStmts, LV.SSetFact, cast<WhileStmt>(S)->getCond()); in Visit()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
HDBuildTree.cpp498 bool WalkUpFromWhileStmt(WhileStmt *S) { in WalkUpFromWhileStmt()
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchersInternal.cpp750 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;

12