Searched refs:CurStmt (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtOpenMP.cpp | 78 OMPLoopBasedDirective::tryToFindNextInnerLoop(Stmt *CurStmt, in tryToFindNextInnerLoop() argument 80 Stmt *OrigStmt = CurStmt; in tryToFindNextInnerLoop() 81 CurStmt = CurStmt->IgnoreContainers(); in tryToFindNextInnerLoop() 84 if (auto *CS = dyn_cast<CompoundStmt>(CurStmt)) { in tryToFindNextInnerLoop() 85 CurStmt = nullptr; in tryToFindNextInnerLoop() 100 if (CurStmt) { in tryToFindNextInnerLoop() 101 CurStmt = OrigStmt; in tryToFindNextInnerLoop() 104 CurStmt = S; in tryToFindNextInnerLoop() 113 if (CurStmt) in tryToFindNextInnerLoop() 118 if (!CurStmt) in tryToFindNextInnerLoop() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtOpenMP.h | 882 static Stmt *tryToFindNextInnerLoop(Stmt *CurStmt, 884 static const Stmt *tryToFindNextInnerLoop(const Stmt *CurStmt, in tryToFindNextInnerLoop() argument 886 return tryToFindNextInnerLoop(const_cast<Stmt *>(CurStmt), in tryToFindNextInnerLoop() 893 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, 899 doForAllLoops(const Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument 904 auto &&NewCallback = [Callback](unsigned Cnt, Stmt *CurStmt) { in doForAllLoops() 905 return Callback(Cnt, CurStmt); in doForAllLoops() 911 return doForAllLoops(const_cast<Stmt *>(CurStmt), TryImperfectlyNestedLoops, in doForAllLoops() 918 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument 922 return doForAllLoops(CurStmt, TryImperfectlyNestedLoops, NumLoops, Callback, in doForAllLoops() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACC.cpp | 1657 SourceLocation FindInterveningCodeInLoop(const Stmt *CurStmt) { in FindInterveningCodeInLoop() argument 1662 if (!CurStmt || in FindInterveningCodeInLoop() 1664 CurStmt)) in FindInterveningCodeInLoop() 1668 if (isa<OpenACCConstructStmt>(CurStmt)) in FindInterveningCodeInLoop() 1673 if (const auto *CS = dyn_cast<CompoundStmt>(CurStmt)) { in FindInterveningCodeInLoop() 1682 return CurStmt->getBeginLoc(); in FindInterveningCodeInLoop()
|
| H A D | SemaOpenMP.cpp | 9715 &CollapsedLoopVarDecls](unsigned Cnt, Stmt *CurStmt) { in checkOpenMPLoop() argument 9717 DKind, CurStmt, SemaRef, DSA, Cnt, NestedLoopCount, in checkOpenMPLoop() 14200 Stmt *CurStmt) { in checkTransformableLoopNest() argument 14203 checkOpenMPLoop(Kind, nullptr, nullptr, CurStmt, SemaRef, *DSAStack, in checkTransformableLoopNest() 14208 if (auto *For = dyn_cast<ForStmt>(CurStmt)) { in checkTransformableLoopNest() 14212 assert(isa<CXXForRangeStmt>(CurStmt) && in checkTransformableLoopNest() 14214 auto *CXXFor = cast<CXXForRangeStmt>(CurStmt); in checkTransformableLoopNest() 14290 [LoopStmts](unsigned Cnt, Stmt *CurStmt) { in collectLoopStmts() argument 14292 LoopStmts[Cnt] = CurStmt; in collectLoopStmts()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 1905 const Stmt *CurStmt = SP->getStmt(); in VisitNode() local 1906 if (!CurStmt->getBeginLoc().isMacroID()) in VisitNode() 1910 CurTerminatorStmt = Map->getBlock(CurStmt)->getTerminatorStmt(); in VisitNode()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 588 for (auto *CurStmt : S.body()) { in EmitCompoundStmtWithoutScope() local 589 if (GetLast && ExprResult == CurStmt) { in EmitCompoundStmtWithoutScope() 623 EmitStmt(CurStmt); in EmitCompoundStmtWithoutScope()
|
| H A D | CGStmtOpenMP.cpp | 180 [&CGF](unsigned Cnt, const Stmt *CurStmt) { in emitPreInitStmt() argument 181 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(CurStmt)) { in emitPreInitStmt() 1925 for (const Stmt *CurStmt : CS->body()) in emitBody() local 1926 emitBody(CGF, CurStmt, NextLoop, MaxLevel, Level); in emitBody()
|