Lines Matching refs:CurrentRegion
4909 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion() argument
4913 if (CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_cancellation_point) in checkCancelRegion()
4926 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions() argument
4946 ((SemaRef.LangOpts.OpenMP <= 45 && CurrentRegion != OMPD_ordered) || in checkNestingOfRegions()
4947 (SemaRef.LangOpts.OpenMP >= 50 && CurrentRegion != OMPD_ordered && in checkNestingOfRegions()
4948 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_atomic && in checkNestingOfRegions()
4949 CurrentRegion != OMPD_scan))) { in checkNestingOfRegions()
4962 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions()
4966 return CurrentRegion != OMPD_simd; in checkNestingOfRegions()
4974 if (CurrentRegion == OMPD_section) { in checkNestingOfRegions()
4992 !isOpenMPNestingTeamsDirective(CurrentRegion) && in checkNestingOfRegions()
4993 CurrentRegion != OMPD_cancellation_point && in checkNestingOfRegions()
4994 CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_scan) in checkNestingOfRegions()
4996 if (CurrentRegion == OMPD_cancellation_point || in checkNestingOfRegions()
4997 CurrentRegion == OMPD_cancel) { in checkNestingOfRegions()
5031 } else if (CurrentRegion == OMPD_master || CurrentRegion == OMPD_masked) { in checkNestingOfRegions()
5038 } else if (CurrentRegion == OMPD_critical && CurrentName.getName()) { in checkNestingOfRegions()
5064 } else if (CurrentRegion == OMPD_barrier) { in checkNestingOfRegions()
5076 } else if (isOpenMPWorksharingDirective(CurrentRegion) && in checkNestingOfRegions()
5077 !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
5078 !isOpenMPTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
5092 } else if (CurrentRegion == OMPD_ordered) { in checkNestingOfRegions()
5106 } else if (isOpenMPNestingTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
5116 } else if (CurrentRegion == OMPD_scan) { in checkNestingOfRegions()
5129 !isOpenMPTargetExecutionDirective(CurrentRegion) && in checkNestingOfRegions()
5130 !isOpenMPTargetDataManagementDirective(CurrentRegion) && in checkNestingOfRegions()
5141 NestingProhibited = !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
5142 !isOpenMPDistributeDirective(CurrentRegion) && in checkNestingOfRegions()
5143 CurrentRegion != OMPD_loop && in checkNestingOfRegions()
5145 CurrentRegion == OMPD_atomic); in checkNestingOfRegions()
5148 if (!NestingProhibited && CurrentRegion == OMPD_loop) { in checkNestingOfRegions()
5159 isOpenMPNestingDistributeDirective(CurrentRegion)) { in checkNestingOfRegions()
5168 (isOpenMPTargetExecutionDirective(CurrentRegion) || in checkNestingOfRegions()
5169 isOpenMPTargetDataManagementDirective(CurrentRegion))) { in checkNestingOfRegions()
5189 << getOpenMPDirectiveName(CurrentRegion) << Recommend; in checkNestingOfRegions()
5193 << Recommend << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()