Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmtOpenMP.cpp78 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 …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmtOpenMP.h883 static Stmt *tryToFindNextInnerLoop(Stmt *CurStmt,
885 static const Stmt *tryToFindNextInnerLoop(const Stmt *CurStmt, in tryToFindNextInnerLoop() argument
887 return tryToFindNextInnerLoop(const_cast<Stmt *>(CurStmt), in tryToFindNextInnerLoop()
894 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops,
900 doForAllLoops(const Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument
905 auto &&NewCallback = [Callback](unsigned Cnt, Stmt *CurStmt) { in doForAllLoops()
906 return Callback(Cnt, CurStmt); in doForAllLoops()
912 return doForAllLoops(const_cast<Stmt *>(CurStmt), TryImperfectlyNestedLoops, in doForAllLoops()
919 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, in doForAllLoops() argument
923 return doForAllLoops(CurStmt, TryImperfectlyNestedLoops, NumLoops, Callback, in doForAllLoops()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmt.cpp500 for (auto *CurStmt : S.body()) { in EmitCompoundStmtWithoutScope() local
501 if (GetLast && ExprResult == CurStmt) { in EmitCompoundStmtWithoutScope()
535 EmitStmt(CurStmt); in EmitCompoundStmtWithoutScope()
H A DCGStmtOpenMP.cpp172 [&CGF](unsigned Cnt, const Stmt *CurStmt) { in emitPreInitStmt() argument
173 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(CurStmt)) { in emitPreInitStmt()
1853 for (const Stmt *CurStmt : CS->body()) in emitBody() local
1854 emitBody(CGF, CurStmt, NextLoop, MaxLevel, Level); in emitBody()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1932 const Stmt *CurStmt = SP->getStmt(); in VisitNode() local
1933 if (!CurStmt->getBeginLoc().isMacroID()) in VisitNode()
1937 CurTerminatorStmt = Map->getBlock(CurStmt)->getTerminatorStmt(); in VisitNode()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp9578 &IterSpaces, &Captures](unsigned Cnt, Stmt *CurStmt) { in checkOpenMPLoop() argument
9580 DKind, CurStmt, SemaRef, DSA, Cnt, NestedLoopCount, in checkOpenMPLoop()
14630 Stmt *CurStmt) { in checkTransformableLoopNest() argument
14633 checkOpenMPLoop(Kind, nullptr, nullptr, CurStmt, *this, *DSAStack, in checkTransformableLoopNest()
14638 if (auto *For = dyn_cast<ForStmt>(CurStmt)) { in checkTransformableLoopNest()
14642 assert(isa<CXXForRangeStmt>(CurStmt) && in checkTransformableLoopNest()
14644 auto *CXXFor = cast<CXXForRangeStmt>(CurStmt); in checkTransformableLoopNest()