Home
last modified time | relevance | path

Searched refs:CurStmt (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DStmtOpenMP.cpp80 Stmt *OrigStmt = CurStmt; in tryToFindNextInnerLoop()
81 CurStmt = CurStmt->IgnoreContainers(); in tryToFindNextInnerLoop()
85 CurStmt = nullptr; in tryToFindNextInnerLoop()
100 if (CurStmt) { in tryToFindNextInnerLoop()
104 CurStmt = S; in tryToFindNextInnerLoop()
113 if (CurStmt) in tryToFindNextInnerLoop()
118 if (!CurStmt) in tryToFindNextInnerLoop()
119 CurStmt = OrigStmt; in tryToFindNextInnerLoop()
122 return CurStmt; in tryToFindNextInnerLoop()
130 CurStmt = CurStmt->IgnoreContainers(); in doForAllLoops()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtOpenMP.h882 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()
918 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument
926 doForAllLoops(const Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument
930 return Callback(Cnt, CurStmt); in doForAllLoops()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp496 for (auto *CurStmt : S.body()) { in EmitCompoundStmtWithoutScope() local
497 if (GetLast && ExprResult == CurStmt) { in EmitCompoundStmtWithoutScope()
531 EmitStmt(CurStmt); in EmitCompoundStmtWithoutScope()
H A DCGStmtOpenMP.cpp171 [&CGF](unsigned Cnt, const Stmt *CurStmt) { in emitPreInitStmt() argument
172 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(CurStmt)) { in emitPreInitStmt()
1845 for (const Stmt *CurStmt : CS->body()) in emitBody() local
1846 emitBody(CGF, CurStmt, NextLoop, MaxLevel, Level); in emitBody()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1773 const Stmt *CurStmt = SP->getStmt(); in VisitNode() local
1774 if (!CurStmt->getBeginLoc().isMacroID()) in VisitNode()
1778 CurTerminatorStmt = Map->getBlock(CurStmt)->getTerminatorStmt(); in VisitNode()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp9495 &IterSpaces, &Captures](unsigned Cnt, Stmt *CurStmt) { in checkOpenMPLoop() argument
9497 DKind, CurStmt, SemaRef, DSA, Cnt, NestedLoopCount, in checkOpenMPLoop()
14490 Stmt *CurStmt) { in checkTransformableLoopNest() argument
14493 checkOpenMPLoop(Kind, nullptr, nullptr, CurStmt, *this, *DSAStack, in checkTransformableLoopNest()
14498 if (auto *For = dyn_cast<ForStmt>(CurStmt)) { in checkTransformableLoopNest()
14502 assert(isa<CXXForRangeStmt>(CurStmt) && in checkTransformableLoopNest()
14504 auto *CXXFor = cast<CXXForRangeStmt>(CurStmt); in checkTransformableLoopNest()