Lines Matching refs:CapturedStmt

3614   CapturedStmt *CS = nullptr;
3643 [](const CapturedStmt::Capture &C) { in VisitSubCaptures()
4052 void visitSubCaptures(CapturedStmt *S) { in visitSubCaptures()
4053 for (const CapturedStmt::Capture &Cap : S->captures()) { in visitSubCaptures()
4088 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) in DSAAttrChecker()
5523 static CapturedStmt *buildDistanceFunc(Sema &Actions, QualType LogicalTy, in buildDistanceFunc()
5654 return cast<CapturedStmt>( in buildDistanceFunc()
5670 static CapturedStmt *buildLoopVarFunc(Sema &Actions, QualType LoopVarTy, in buildLoopVarFunc()
5729 return cast<CapturedStmt>( in buildLoopVarFunc()
5871 CapturedStmt *DistanceFunc = in ActOnOpenMPCanonicalLoop()
5873 CapturedStmt *LoopVarFunc = buildLoopVarFunc( in ActOnOpenMPCanonicalLoop()
6057 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPExecutableDirective()
6060 DSAAttrChecker DSAChecker(DSAStack, *this, cast<CapturedStmt>(AStmt)); in ActOnOpenMPExecutableDirective()
6064 S = cast<CapturedStmt>(S)->getCapturedStmt(); in ActOnOpenMPExecutableDirective()
6069 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPExecutableDirective()
6074 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPExecutableDirective()
7656 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelDirective()
9744 const CapturedDecl *CD = cast<CapturedStmt>(AStmt)->getCapturedDecl(); in checkOpenMPLoop()
10200 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSimdDirective()
10239 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForDirective()
10275 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForSimdDirective()
10315 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSectionsDirective()
10317 while (auto *CS = dyn_cast_or_null<CapturedStmt>(BaseStmt)) in ActOnOpenMPSectionsDirective()
10375 Stmt *S = cast<CapturedStmt>(AStmt)->getCapturedStmt(); in ActOnOpenMPDispatchDirective()
10455 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPGenericLoopDirective()
10491 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsGenericLoopDirective()
10500 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsGenericLoopDirective()
10541 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsGenericLoopDirective()
10550 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsGenericLoopDirective()
10589 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelGenericLoopDirective()
10598 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelGenericLoopDirective()
10638 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelGenericLoopDirective()
10647 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelGenericLoopDirective()
10681 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSingleDirective()
10791 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelForDirective()
10835 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelForSimdDirective()
10879 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMasterDirective()
10880 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMasterDirective()
10902 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMaskedDirective()
10903 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMaskedDirective()
10925 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelSectionsDirective()
10927 while (auto *CS = dyn_cast_or_null<CapturedStmt>(BaseStmt)) in ActOnOpenMPParallelSectionsDirective()
10994 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTaskDirective()
11031 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTaskgroupDirective()
11217 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPOrderedDirective()
12808 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetDirective()
12817 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetDirective()
12873 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelDirective()
12882 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelDirective()
12904 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelForDirective()
12913 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelForDirective()
12992 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTargetDataDirective()
13022 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetEnterDataDirective()
13031 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetEnterDataDirective()
13059 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetExitDataDirective()
13068 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetExitDataDirective()
13096 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetUpdateDirective()
13105 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetUpdateDirective()
13134 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDirective()
13215 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTaskLoopDirective()
13253 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPTaskLoopSimdDirective()
13303 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMasterTaskLoopDirective()
13341 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMaskedTaskLoopDirective()
13379 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMasterTaskLoopSimdDirective()
13429 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPMaskedTaskLoopSimdDirective()
13479 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMasterTaskLoopDirective()
13480 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMasterTaskLoopDirective()
13490 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMasterTaskLoopDirective()
13536 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMaskedTaskLoopDirective()
13537 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMaskedTaskLoopDirective()
13547 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMaskedTaskLoopDirective()
13593 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
13594 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
13604 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMasterTaskLoopSimdDirective()
13662 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPParallelMaskedTaskLoopSimdDirective()
13663 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelMaskedTaskLoopSimdDirective()
13673 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPParallelMaskedTaskLoopSimdDirective()
13731 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPDistributeDirective()
13756 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPDistributeParallelForDirective()
13766 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPDistributeParallelForDirective()
13800 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPDistributeParallelForSimdDirective()
13810 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPDistributeParallelForSimdDirective()
13857 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPDistributeSimdDirective()
13866 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPDistributeSimdDirective()
13913 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetParallelForSimdDirective()
13922 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetParallelForSimdDirective()
13968 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetSimdDirective()
13977 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetSimdDirective()
14024 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeDirective()
14033 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeDirective()
14069 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeSimdDirective()
14079 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeSimdDirective()
14130 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
14141 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
14192 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTeamsDistributeParallelForDirective()
14203 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTeamsDistributeParallelForDirective()
14242 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDirective()
14252 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDirective()
14272 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeDirective()
14282 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeDirective()
14315 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
14325 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
14370 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
14380 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
14429 auto *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPTargetTeamsDistributeSimdDirective()
14439 CS = cast<CapturedStmt>(CS->getCapturedStmt()); in ActOnOpenMPTargetTeamsDistributeSimdDirective()