Lines Matching refs:getCurrentDirective
416 assert(isOpenMPLoopDirective(getCurrentDirective()) && in loopInit()
422 assert(isOpenMPLoopDirective(getCurrentDirective()) && in loopStart()
428 assert(isOpenMPLoopDirective(getCurrentDirective()) && in isLoopStarted()
609 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective() function in __anon5b04668f0111::DSAStackTy
1044 assert(isOpenMPTargetExecutionDirective(getCurrentDirective()) && in getLinkGlobals()
2158 return (isOpenMPTargetExecutionDirective(DSAStack->getCurrentDirective()) && in isInOpenMPTargetExecutionDirective()
2245 if (DSAStack->getCurrentDirective() != OMPD_unknown && in isOpenMPCapturedDecl()
2251 isImplicitOrExplicitTaskingRegion(DSAStack->getCurrentDirective())) || in isOpenMPCapturedDecl()
2292 if (isOpenMPLoopDirective(DSAStack->getCurrentDirective())) in startOpenMPLoop()
2298 if (isOpenMPLoopDirective(DSAStack->getCurrentDirective())) { in startOpenMPCXXRangeFor()
2335 if (isOpenMPLoopDirective(DSAStack->getCurrentDirective())) { in isOpenMPPrivateDecl()
2347 !isOpenMPSimdDirective(DSAStack->getCurrentDirective())) in isOpenMPPrivateDecl()
2561 OpenMPDirectiveKind CurDir = Stack->getCurrentDirective(); in checkReductionClauses()
3359 << getOpenMPDirectiveName(Stack->getCurrentDirective()); in reportOriginalDsa()
3442 (isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()) && in VisitSubCaptures()
3506 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr()
3664 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitMemberExpr()
3746 Stack->getCurrentDirective(), in VisitMemberExpr()
3797 !isOpenMPTaskingDirective(Stack->getCurrentDirective()))) { in VisitOMPExecutableDirective()
3830 if (isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()) && in visitSubCaptures()
3861 if (isOpenMPTargetExecutionDirective(S->getCurrentDirective())) { in DSAAttrChecker()
4389 (isOpenMPTargetExecutionDirective(DSAStack->getCurrentDirective()) || in tryCaptureOpenMPLambdas()
4391 DSAStack->getCurrentDirective()))) { in tryCaptureOpenMPLambdas()
4457 if (DSAStack->getCurrentDirective() == OMPD_atomic || in ActOnOpenMPRegionEnd()
4458 DSAStack->getCurrentDirective() == OMPD_critical || in ActOnOpenMPRegionEnd()
4459 DSAStack->getCurrentDirective() == OMPD_section || in ActOnOpenMPRegionEnd()
4460 DSAStack->getCurrentDirective() == OMPD_master || in ActOnOpenMPRegionEnd()
4461 DSAStack->getCurrentDirective() == OMPD_masked) in ActOnOpenMPRegionEnd()
4466 *this, ErrorFound, DSAStack->getCurrentDirective()); in ActOnOpenMPRegionEnd()
4473 getOpenMPCaptureRegions(CaptureRegions, DSAStack->getCurrentDirective()); in ActOnOpenMPRegionEnd()
4481 isOpenMPTaskingDirective(DSAStack->getCurrentDirective()) && in ActOnOpenMPRegionEnd()
4504 DSAStack->getCurrentDirective())) { in ActOnOpenMPRegionEnd()
4556 if (isOpenMPWorksharingDirective(DSAStack->getCurrentDirective()) && in ActOnOpenMPRegionEnd()
4557 isOpenMPSimdDirective(DSAStack->getCurrentDirective()) && OC && in ActOnOpenMPRegionEnd()
4560 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPRegionEnd()
5129 isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()) && in checkAllocateClauses()
5150 (isOpenMPTaskingDirective(Stack->getCurrentDirective()) || in checkAllocateClauses()
5151 isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()))) { in checkAllocateClauses()
5154 << getOpenMPDirectiveName(Stack->getCurrentDirective()); in checkAllocateClauses()
8468 isOpenMPLoopDirective(DSAStack->getCurrentDirective())) { in ActOnOpenMPLoopInitialization()
8495 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPLoopInitialization()
13717 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
13749 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFinalClause()
13863 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
14510 DSAStack->getCurrentDirective(), OMPC_schedule, in ActOnOpenMPScheduleClause()
14953 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNovariantsClause()
14984 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNocontextClause()
15006 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFilterClause()
15276 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
15431 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
15559 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPFirstprivateClause()
15568 isOpenMPTaskingDirective(DSAStack->getCurrentDirective())) { in ActOnOpenMPFirstprivateClause()
15571 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPFirstprivateClause()
15732 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
16500 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
16663 if (isOpenMPTargetExecutionDirective(Stack->getCurrentDirective())) { in actOnOMPReductionKindClause()
16907 if (Stack->getCurrentDirective() == OMPD_simd || in actOnOMPReductionKindClause()
16909 isOpenMPSimdDirective(Stack->getCurrentDirective()))) { in actOnOMPReductionKindClause()
17007 if (isOpenMPTaskingDirective(Stack->getCurrentDirective()) || in actOnOMPReductionKindClause()
17008 Stack->getCurrentDirective() == OMPD_taskgroup) { in actOnOMPReductionKindClause()
17065 (DSAStack->getCurrentDirective() != OMPD_for && in ActOnOpenMPReductionClause()
17066 DSAStack->getCurrentDirective() != OMPD_for_simd && in ActOnOpenMPReductionClause()
17067 DSAStack->getCurrentDirective() != OMPD_simd && in ActOnOpenMPReductionClause()
17068 DSAStack->getCurrentDirective() != OMPD_parallel_for && in ActOnOpenMPReductionClause()
17069 DSAStack->getCurrentDirective() != OMPD_parallel_for_simd)) { in ActOnOpenMPReductionClause()
17352 if (isOpenMPDistributeDirective(Stack->getCurrentDirective()) && in FinishOpenMPLinearClause()
17353 isOpenMPSimdDirective(Stack->getCurrentDirective()) && !Info.first) { in FinishOpenMPLinearClause()
17652 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPCopyprivateClause()
17763 if (DSAStack->getCurrentDirective() == OMPD_ordered && in ActOnOpenMPDependClause()
17769 if ((DSAStack->getCurrentDirective() != OMPD_ordered || in ActOnOpenMPDependClause()
17770 DSAStack->getCurrentDirective() == OMPD_depobj) && in ActOnOpenMPDependClause()
17774 DSAStack->getCurrentDirective() == OMPD_depobj) && in ActOnOpenMPDependClause()
17779 if (LangOpts.OpenMP < 50 || DSAStack->getCurrentDirective() == OMPD_depobj) in ActOnOpenMPDependClause()
18045 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
19021 SemaRef, SimpleExpr, CurComponents, CKind, DSAS->getCurrentDirective(), in checkMappableExpressionList()
19136 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
19191 << getOpenMPDirectiveName(DSAS->getCurrentDirective()); in checkMappableExpressionList()
19683 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
19710 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
19737 DSAStack->getCurrentDirective(), &CaptureRegion, &HelperValStmt)) in ActOnOpenMPPriorityClause()
19758 DSAStack->getCurrentDirective(), &CaptureRegion, &HelperValStmt)) in ActOnOpenMPGrainsizeClause()
19779 DSAStack->getCurrentDirective(), &CaptureRegion, &HelperValStmt)) in ActOnOpenMPNumTasksClause()
19900 DSAStack->getCurrentDirective(), OMPC_dist_schedule, in ActOnOpenMPDistScheduleClause()
20454 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPIsDevicePtrClause()