Lines Matching refs:CapturedStmt
3691 CapturedStmt *CS = nullptr;
3721 [](const CapturedStmt::Capture &C) { in VisitSubCaptures()
4132 void visitSubCaptures(CapturedStmt *S) { in visitSubCaptures()
4133 for (const CapturedStmt::Capture &Cap : S->captures()) { in visitSubCaptures()
4168 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) in DSAAttrChecker()
5624 static CapturedStmt *buildDistanceFunc(Sema &Actions, QualType LogicalTy, in buildDistanceFunc()
5756 return cast<CapturedStmt>( in buildDistanceFunc()
5772 static CapturedStmt *buildLoopVarFunc(Sema &Actions, QualType LoopVarTy, in buildLoopVarFunc()
5831 return cast<CapturedStmt>( in buildLoopVarFunc()
5973 CapturedStmt *DistanceFunc = in ActOnOpenMPCanonicalLoop()
5975 CapturedStmt *LoopVarFunc = buildLoopVarFunc( in ActOnOpenMPCanonicalLoop()
6274 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPExecutableDirective()
6277 DSAAttrChecker DSAChecker(DSAStack, *this, cast<CapturedStmt>(AStmt)); in ActOnOpenMPExecutableDirective()
6281 S = cast<CapturedStmt>(S)->getCapturedStmt(); in ActOnOpenMPExecutableDirective()
6286 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPExecutableDirective()
6291 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPExecutableDirective()
7891 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelDirective()
10042 const CapturedDecl *CD = cast<CapturedStmt>(AStmt)->getCapturedDecl(); in checkOpenMPLoop()
10517 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSimdDirective()
10561 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForDirective()
10598 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForSimdDirective()
10638 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSectionsDirective()
10640 while (auto *CS = dyn_cast_or_null<CapturedStmt>(BaseStmt)) in ActOnOpenMPSectionsDirective()
10698 Stmt *S = cast<CapturedStmt>(AStmt)->getCapturedStmt(); in ActOnOpenMPDispatchDirective()
10778 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPGenericLoopDirective()
10814 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsGenericLoopDirective()
10823 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsGenericLoopDirective()
10864 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsGenericLoopDirective()
10873 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsGenericLoopDirective()
10912 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelGenericLoopDirective()
10921 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelGenericLoopDirective()
10961 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelGenericLoopDirective()
10970 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelGenericLoopDirective()
11004 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSingleDirective()
11114 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelForDirective()
11158 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelForSimdDirective()
11202 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMasterDirective()
11203 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMasterDirective()
11225 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMaskedDirective()
11226 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMaskedDirective()
11248 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelSectionsDirective()
11250 while (auto *CS = dyn_cast_or_null<CapturedStmt>(BaseStmt)) in ActOnOpenMPParallelSectionsDirective()
11317 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTaskDirective()
11395 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTaskgroupDirective()
11602 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPOrderedDirective()
13224 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetDirective()
13233 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetDirective()
13289 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelDirective()
13298 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelDirective()
13320 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelForDirective()
13329 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelForDirective()
13408 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTargetDataDirective()
13438 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetEnterDataDirective()
13447 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetEnterDataDirective()
13475 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetExitDataDirective()
13484 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetExitDataDirective()
13512 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetUpdateDirective()
13521 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetUpdateDirective()
13554 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDirective()
13635 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTaskLoopDirective()
13673 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTaskLoopSimdDirective()
13723 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMasterTaskLoopDirective()
13761 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMaskedTaskLoopDirective()
13799 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMasterTaskLoopSimdDirective()
13849 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMaskedTaskLoopSimdDirective()
13899 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMasterTaskLoopDirective()
13900 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMasterTaskLoopDirective()
13910 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMasterTaskLoopDirective()
13956 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMaskedTaskLoopDirective()
13957 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMaskedTaskLoopDirective()
13967 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMaskedTaskLoopDirective()
14013 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
14014 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
14024 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
14082 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMaskedTaskLoopSimdDirective()
14083 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMaskedTaskLoopSimdDirective()
14093 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMaskedTaskLoopSimdDirective()
14154 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPDistributeDirective()
14181 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPDistributeParallelForDirective()
14191 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPDistributeParallelForDirective()
14225 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPDistributeParallelForSimdDirective()
14235 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPDistributeParallelForSimdDirective()
14282 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPDistributeSimdDirective()
14291 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPDistributeSimdDirective()
14338 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelForSimdDirective()
14347 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelForSimdDirective()
14393 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetSimdDirective()
14402 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetSimdDirective()
14449 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeDirective()
14458 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeDirective()
14494 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeSimdDirective()
14504 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeSimdDirective()
14555 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
14566 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
14617 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeParallelForDirective()
14628 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeParallelForDirective()
14667 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDirective()
14677 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDirective()
14710 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeDirective()
14720 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeDirective()
14753 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
14763 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
14808 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
14818 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
14867 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeSimdDirective()
14877 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeSimdDirective()