Lines Matching refs:CurrentRegion

4633 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion,  in checkCancelRegion()  argument
4637 if (CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_cancellation_point) in checkCancelRegion()
4650 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions() argument
4669 ((SemaRef.LangOpts.OpenMP <= 45 && CurrentRegion != OMPD_ordered) || in checkNestingOfRegions()
4670 (SemaRef.LangOpts.OpenMP >= 50 && CurrentRegion != OMPD_ordered && in checkNestingOfRegions()
4671 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_atomic && in checkNestingOfRegions()
4672 CurrentRegion != OMPD_scan))) { in checkNestingOfRegions()
4685 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions()
4689 return CurrentRegion != OMPD_simd; in checkNestingOfRegions()
4697 if (CurrentRegion == OMPD_section) { in checkNestingOfRegions()
4715 !isOpenMPNestingTeamsDirective(CurrentRegion) && in checkNestingOfRegions()
4716 CurrentRegion != OMPD_cancellation_point && in checkNestingOfRegions()
4717 CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_scan) in checkNestingOfRegions()
4719 if (CurrentRegion == OMPD_cancellation_point || in checkNestingOfRegions()
4720 CurrentRegion == OMPD_cancel) { in checkNestingOfRegions()
4752 } else if (CurrentRegion == OMPD_master || CurrentRegion == OMPD_masked) { in checkNestingOfRegions()
4758 } else if (CurrentRegion == OMPD_critical && CurrentName.getName()) { in checkNestingOfRegions()
4784 } else if (CurrentRegion == OMPD_barrier) { in checkNestingOfRegions()
4794 } else if (isOpenMPWorksharingDirective(CurrentRegion) && in checkNestingOfRegions()
4795 !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
4796 !isOpenMPTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
4808 } else if (CurrentRegion == OMPD_ordered) { in checkNestingOfRegions()
4822 } else if (isOpenMPNestingTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
4832 } else if (CurrentRegion == OMPD_scan) { in checkNestingOfRegions()
4845 !isOpenMPTargetExecutionDirective(CurrentRegion) && in checkNestingOfRegions()
4846 !isOpenMPTargetDataManagementDirective(CurrentRegion) && in checkNestingOfRegions()
4852 NestingProhibited = !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
4853 !isOpenMPDistributeDirective(CurrentRegion); in checkNestingOfRegions()
4857 isOpenMPNestingDistributeDirective(CurrentRegion)) { in checkNestingOfRegions()
4866 (isOpenMPTargetExecutionDirective(CurrentRegion) || in checkNestingOfRegions()
4867 isOpenMPTargetDataManagementDirective(CurrentRegion))) { in checkNestingOfRegions()
4887 << getOpenMPDirectiveName(CurrentRegion) << Recommend; in checkNestingOfRegions()
4891 << Recommend << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()