Lines Matching refs:getCurrentDirective

437     assert(isOpenMPLoopDirective(getCurrentDirective()) &&  in loopInit()
443 assert(isOpenMPLoopDirective(getCurrentDirective()) && in loopStart()
449 assert(isOpenMPLoopDirective(getCurrentDirective()) && in isLoopStarted()
631 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective() function in __anon296aa5740111::DSAStackTy
1088 assert(isOpenMPTargetExecutionDirective(getCurrentDirective()) && in getLinkGlobals()
2257 return isOpenMPTaskingDirective(DSAStack->getCurrentDirective()) && in isInOpenMPTaskUntiedContext()
2262 return (isOpenMPTargetExecutionDirective(DSAStack->getCurrentDirective()) && in isInOpenMPTargetExecutionDirective()
2372 if (DSAStack->getCurrentDirective() != OMPD_unknown && in isOpenMPCapturedDecl()
2378 isImplicitOrExplicitTaskingRegion(DSAStack->getCurrentDirective())) || in isOpenMPCapturedDecl()
2460 if (isOpenMPLoopDirective(DSAStack->getCurrentDirective())) in startOpenMPLoop()
2466 if (isOpenMPLoopDirective(DSAStack->getCurrentDirective())) { in startOpenMPCXXRangeFor()
2475 if (DSAStack->getCurrentDirective() != OMPD_unknown && in isOpenMPPrivateDecl()
2518 if (isOpenMPLoopDirective(DSAStack->getCurrentDirective())) { in isOpenMPPrivateDecl()
2529 !isOpenMPSimdDirective(DSAStack->getCurrentDirective())) in isOpenMPPrivateDecl()
2747 OpenMPDirectiveKind CurDir = Stack->getCurrentDirective(); in checkReductionClauses()
3557 << getOpenMPDirectiveName(Stack->getCurrentDirective()); in reportOriginalDsa()
3641 (isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()) && in VisitSubCaptures()
3710 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr()
3877 OpenMPDirectiveKind DKind = Stack->getCurrentDirective(); in VisitMemberExpr()
3959 Stack->getCurrentDirective(), in VisitMemberExpr()
4014 !isOpenMPTaskingDirective(Stack->getCurrentDirective()))) { in VisitOMPExecutableDirective()
4059 if (isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()) && in visitSubCaptures()
4091 if (isOpenMPTargetExecutionDirective(S->getCurrentDirective())) { in DSAAttrChecker()
4668 (isOpenMPTargetExecutionDirective(DSAStack->getCurrentDirective()) || in tryCaptureOpenMPLambdas()
4670 DSAStack->getCurrentDirective()))) { in tryCaptureOpenMPLambdas()
4736 handleDeclareVariantConstructTrait(DSAStack, DSAStack->getCurrentDirective(), in ActOnOpenMPRegionEnd()
4738 if (DSAStack->getCurrentDirective() == OMPD_atomic || in ActOnOpenMPRegionEnd()
4739 DSAStack->getCurrentDirective() == OMPD_critical || in ActOnOpenMPRegionEnd()
4740 DSAStack->getCurrentDirective() == OMPD_section || in ActOnOpenMPRegionEnd()
4741 DSAStack->getCurrentDirective() == OMPD_master || in ActOnOpenMPRegionEnd()
4742 DSAStack->getCurrentDirective() == OMPD_masked) in ActOnOpenMPRegionEnd()
4747 *this, ErrorFound, DSAStack->getCurrentDirective()); in ActOnOpenMPRegionEnd()
4754 getOpenMPCaptureRegions(CaptureRegions, DSAStack->getCurrentDirective()); in ActOnOpenMPRegionEnd()
4762 (isOpenMPTaskingDirective(DSAStack->getCurrentDirective()) || in ActOnOpenMPRegionEnd()
4763 DSAStack->getCurrentDirective() == OMPD_target) && in ActOnOpenMPRegionEnd()
4786 DSAStack->getCurrentDirective())) { in ActOnOpenMPRegionEnd()
4838 if (isOpenMPWorksharingDirective(DSAStack->getCurrentDirective()) && in ActOnOpenMPRegionEnd()
4839 isOpenMPSimdDirective(DSAStack->getCurrentDirective()) && OC && in ActOnOpenMPRegionEnd()
4842 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPRegionEnd()
5433 isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()) && in checkAllocateClauses()
5454 (isOpenMPTaskingDirective(Stack->getCurrentDirective()) || in checkAllocateClauses()
5455 isOpenMPTargetExecutionDirective(Stack->getCurrentDirective()))) { in checkAllocateClauses()
5458 << getOpenMPDirectiveName(Stack->getCurrentDirective()); in checkAllocateClauses()
9006 isOpenMPLoopDirective(DSAStack->getCurrentDirective())) { in ActOnOpenMPLoopInitialization()
9033 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPLoopInitialization()
16089 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPIfClause()
16121 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFinalClause()
16235 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumThreadsClause()
16949 DSAStack->getCurrentDirective(), OMPC_schedule, in ActOnOpenMPScheduleClause()
17409 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNovariantsClause()
17440 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNocontextClause()
17462 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPFilterClause()
17741 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPPrivateClause()
17880 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPFirstprivateClause()
18008 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPFirstprivateClause()
18017 isOpenMPTaskingDirective(DSAStack->getCurrentDirective())) { in ActOnOpenMPFirstprivateClause()
18020 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPFirstprivateClause()
18186 OpenMPDirectiveKind CurrDir = DSAStack->getCurrentDirective(); in ActOnOpenMPLastprivateClause()
18954 OpenMPDirectiveKind CurrDir = Stack->getCurrentDirective(); in actOnOMPReductionKindClause()
19117 if (isOpenMPTargetExecutionDirective(Stack->getCurrentDirective())) { in actOnOMPReductionKindClause()
19360 if (Stack->getCurrentDirective() == OMPD_simd || in actOnOMPReductionKindClause()
19362 isOpenMPSimdDirective(Stack->getCurrentDirective()))) { in actOnOMPReductionKindClause()
19460 if (isOpenMPTaskingDirective(Stack->getCurrentDirective()) || in actOnOMPReductionKindClause()
19461 Stack->getCurrentDirective() == OMPD_taskgroup) { in actOnOMPReductionKindClause()
19518 (DSAStack->getCurrentDirective() != OMPD_for && in ActOnOpenMPReductionClause()
19519 DSAStack->getCurrentDirective() != OMPD_for_simd && in ActOnOpenMPReductionClause()
19520 DSAStack->getCurrentDirective() != OMPD_simd && in ActOnOpenMPReductionClause()
19521 DSAStack->getCurrentDirective() != OMPD_parallel_for && in ActOnOpenMPReductionClause()
19522 DSAStack->getCurrentDirective() != OMPD_parallel_for_simd)) { in ActOnOpenMPReductionClause()
19804 if (isOpenMPDistributeDirective(Stack->getCurrentDirective()) && in FinishOpenMPLinearClause()
19805 isOpenMPSimdDirective(Stack->getCurrentDirective()) && !Info.first) { in FinishOpenMPLinearClause()
20102 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPCopyprivateClause()
20214 if (DSAStack->getCurrentDirective() == OMPD_ordered && in ActOnOpenMPDependClause()
20220 if (DSAStack->getCurrentDirective() == OMPD_taskwait && in ActOnOpenMPDependClause()
20225 if ((DSAStack->getCurrentDirective() != OMPD_ordered || in ActOnOpenMPDependClause()
20226 DSAStack->getCurrentDirective() == OMPD_depobj) && in ActOnOpenMPDependClause()
20230 DSAStack->getCurrentDirective() == OMPD_depobj) && in ActOnOpenMPDependClause()
20235 if (LangOpts.OpenMP < 50 || DSAStack->getCurrentDirective() == OMPD_depobj) in ActOnOpenMPDependClause()
20514 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPDeviceClause()
21494 DSAS->getCurrentDirective(), NoDiagnose); in checkMappableExpressionList()
21610 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList()
21680 << getOpenMPDirectiveName(DSAS->getCurrentDirective()); in checkMappableExpressionList()
22180 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPNumTeamsClause()
22207 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective(); in ActOnOpenMPThreadLimitClause()
22234 DSAStack->getCurrentDirective(), &CaptureRegion, &HelperValStmt)) in ActOnOpenMPPriorityClause()
22255 DSAStack->getCurrentDirective(), &CaptureRegion, &HelperValStmt)) in ActOnOpenMPGrainsizeClause()
22276 DSAStack->getCurrentDirective(), &CaptureRegion, &HelperValStmt)) in ActOnOpenMPNumTasksClause()
22398 DSAStack->getCurrentDirective(), OMPC_dist_schedule, in ActOnOpenMPDistScheduleClause()
22974 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPIsDevicePtrClause()
23049 << getOpenMPDirectiveName(DSAStack->getCurrentDirective()); in ActOnOpenMPHasDeviceAddrClause()