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

/openbsd-current/gnu/llvm/clang/lib/AST/
H A DStmtOpenMP.cpp78 OMPLoopBasedDirective::tryToFindNextInnerLoop(Stmt *CurStmt, argument
80 Stmt *OrigStmt = CurStmt;
81 CurStmt = CurStmt->IgnoreContainers();
84 if (auto *CS = dyn_cast<CompoundStmt>(CurStmt)) {
85 CurStmt = nullptr;
100 if (CurStmt) {
101 CurStmt = OrigStmt;
104 CurStmt = S;
113 if (CurStmt)
125 doForAllLoops( Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, llvm::function_ref<bool(unsigned, Stmt *)> Callback, llvm::function_ref<void(OMPLoopTransformationDirective *)> OnTransformationCallback) argument
179 doForAllLoopsBodies( Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, llvm::function_ref<void(unsigned, Stmt *, Stmt *)> Callback) argument
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DStmtOpenMP.h880 /// CurStmt.
883 static Stmt *tryToFindNextInnerLoop(Stmt *CurStmt,
885 static const Stmt *tryToFindNextInnerLoop(const Stmt *CurStmt, argument
887 return tryToFindNextInnerLoop(const_cast<Stmt *>(CurStmt),
891 /// Calls the specified callback function for all the loops in \p CurStmt,
894 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops,
900 doForAllLoops(const Stmt *CurStmt, bool TryImperfectlyNestedLoops, argument
905 auto &&NewCallback = [Callback](unsigned Cnt, Stmt *CurStmt) {
906 return Callback(Cnt, CurStmt);
912 return doForAllLoops(const_cast<Stmt *>(CurStmt), TryImperfectlyNestedLoop
919 doForAllLoops(Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, llvm::function_ref<bool(unsigned, Stmt *)> Callback) argument
927 doForAllLoops(const Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, llvm::function_ref<bool(unsigned, const Stmt *)> Callback) argument
942 doForAllLoopsBodies( const Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, llvm::function_ref<void(unsigned, const Stmt *, const Stmt *)> Callback) argument
[all...]
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGStmt.cpp500 for (auto *CurStmt : S.body()) {
501 if (GetLast && ExprResult == CurStmt) {
535 EmitStmt(CurStmt);
H A DCGStmtOpenMP.cpp172 [&CGF](unsigned Cnt, const Stmt *CurStmt) {
173 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(CurStmt)) {
1853 for (const Stmt *CurStmt : CS->body())
1854 emitBody(CGF, CurStmt, NextLoop, MaxLevel, Level);
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1932 const Stmt *CurStmt = SP->getStmt(); local
1933 if (!CurStmt->getBeginLoc().isMacroID())
1937 CurTerminatorStmt = Map->getBlock(CurStmt)->getTerminatorStmt();
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp9578 &IterSpaces, &Captures](unsigned Cnt, Stmt *CurStmt) {
9580 DKind, CurStmt, SemaRef, DSA, Cnt, NestedLoopCount,
14630 Stmt *CurStmt) {
14633 checkOpenMPLoop(Kind, nullptr, nullptr, CurStmt, *this, *DSAStack,
14638 if (auto *For = dyn_cast<ForStmt>(CurStmt)) {
14642 assert(isa<CXXForRangeStmt>(CurStmt) &&
14644 auto *CXXFor = cast<CXXForRangeStmt>(CurStmt);

Completed in 313 milliseconds