Lines Matching refs:CurrentRegion
4622 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion() argument
4626 if (CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_cancellation_point) in checkCancelRegion()
4639 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions() argument
4658 ((SemaRef.LangOpts.OpenMP <= 45 && CurrentRegion != OMPD_ordered) || in checkNestingOfRegions()
4659 (SemaRef.LangOpts.OpenMP >= 50 && CurrentRegion != OMPD_ordered && in checkNestingOfRegions()
4660 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_atomic && in checkNestingOfRegions()
4661 CurrentRegion != OMPD_scan))) { in checkNestingOfRegions()
4674 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions()
4678 return CurrentRegion != OMPD_simd; in checkNestingOfRegions()
4686 if (CurrentRegion == OMPD_section) { in checkNestingOfRegions()
4704 !isOpenMPNestingTeamsDirective(CurrentRegion) && in checkNestingOfRegions()
4705 CurrentRegion != OMPD_cancellation_point && in checkNestingOfRegions()
4706 CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_scan) in checkNestingOfRegions()
4708 if (CurrentRegion == OMPD_cancellation_point || in checkNestingOfRegions()
4709 CurrentRegion == OMPD_cancel) { in checkNestingOfRegions()
4741 } else if (CurrentRegion == OMPD_master || CurrentRegion == OMPD_masked) { in checkNestingOfRegions()
4747 } else if (CurrentRegion == OMPD_critical && CurrentName.getName()) { in checkNestingOfRegions()
4773 } else if (CurrentRegion == OMPD_barrier) { in checkNestingOfRegions()
4783 } else if (isOpenMPWorksharingDirective(CurrentRegion) && in checkNestingOfRegions()
4784 !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
4785 !isOpenMPTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
4797 } else if (CurrentRegion == OMPD_ordered) { in checkNestingOfRegions()
4811 } else if (isOpenMPNestingTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
4821 } else if (CurrentRegion == OMPD_scan) { in checkNestingOfRegions()
4834 !isOpenMPTargetExecutionDirective(CurrentRegion) && in checkNestingOfRegions()
4835 !isOpenMPTargetDataManagementDirective(CurrentRegion) && in checkNestingOfRegions()
4841 NestingProhibited = !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
4842 !isOpenMPDistributeDirective(CurrentRegion); in checkNestingOfRegions()
4846 isOpenMPNestingDistributeDirective(CurrentRegion)) { in checkNestingOfRegions()
4855 (isOpenMPTargetExecutionDirective(CurrentRegion) || in checkNestingOfRegions()
4856 isOpenMPTargetDataManagementDirective(CurrentRegion))) { in checkNestingOfRegions()
4876 << getOpenMPDirectiveName(CurrentRegion) << Recommend; in checkNestingOfRegions()
4880 << Recommend << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()