Searched refs:CurStmt (Results 1 – 6 of 6) 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 | 898 static Stmt *tryToFindNextInnerLoop(Stmt *CurStmt, 900 static const Stmt *tryToFindNextInnerLoop(const Stmt *CurStmt, in tryToFindNextInnerLoop() argument 902 return tryToFindNextInnerLoop(const_cast<Stmt *>(CurStmt), in tryToFindNextInnerLoop() 909 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, 915 doForAllLoops(const Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument 920 auto &&NewCallback = [Callback](unsigned Cnt, Stmt *CurStmt) { in doForAllLoops() 921 return Callback(Cnt, CurStmt); in doForAllLoops() 927 return doForAllLoops(const_cast<Stmt *>(CurStmt), TryImperfectlyNestedLoops, in doForAllLoops() 934 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument 938 return doForAllLoops(CurStmt, TryImperfectlyNestedLoops, NumLoops, Callback, in doForAllLoops() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 524 for (auto *CurStmt : S.body()) { in EmitCompoundStmtWithoutScope() local 525 if (GetLast && ExprResult == CurStmt) { in EmitCompoundStmtWithoutScope() 559 EmitStmt(CurStmt); in EmitCompoundStmtWithoutScope()
|
H A D | CGStmtOpenMP.cpp | 176 [&CGF](unsigned Cnt, const Stmt *CurStmt) { in emitPreInitStmt() argument 177 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(CurStmt)) { in emitPreInitStmt() 1881 for (const Stmt *CurStmt : CS->body()) in emitBody() local 1882 emitBody(CGF, CurStmt, NextLoop, MaxLevel, Level); in emitBody()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 1953 const Stmt *CurStmt = SP->getStmt(); in VisitNode() local 1954 if (!CurStmt->getBeginLoc().isMacroID()) in VisitNode() 1958 CurTerminatorStmt = Map->getBlock(CurStmt)->getTerminatorStmt(); in VisitNode()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 9628 &IterSpaces, &Captures](unsigned Cnt, Stmt *CurStmt) { in checkOpenMPLoop() argument 9630 DKind, CurStmt, SemaRef, DSA, Cnt, NestedLoopCount, in checkOpenMPLoop() 14028 Stmt *CurStmt) { in checkTransformableLoopNest() argument 14031 checkOpenMPLoop(Kind, nullptr, nullptr, CurStmt, SemaRef, *DSAStack, in checkTransformableLoopNest() 14036 if (auto *For = dyn_cast<ForStmt>(CurStmt)) { in checkTransformableLoopNest() 14040 assert(isa<CXXForRangeStmt>(CurStmt) && in checkTransformableLoopNest() 14042 auto *CXXFor = cast<CXXForRangeStmt>(CurStmt); in checkTransformableLoopNest() 14116 [LoopStmts](unsigned Cnt, Stmt *CurStmt) { in collectLoopStmts() argument 14118 LoopStmts[Cnt] = CurStmt; in collectLoopStmts()
|