Lines Matching refs:CurrentRegion

4980 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion,  in checkCancelRegion()  argument
4984 if (CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_cancellation_point) in checkCancelRegion()
4997 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions() argument
5017 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_loop && in checkNestingOfRegions()
5018 CurrentRegion != OMPD_parallel && in checkNestingOfRegions()
5019 !isOpenMPCombinedParallelADirective(CurrentRegion)) { in checkNestingOfRegions()
5021 << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()
5025 ((SemaRef.LangOpts.OpenMP <= 45 && CurrentRegion != OMPD_ordered) || in checkNestingOfRegions()
5026 (SemaRef.LangOpts.OpenMP >= 50 && CurrentRegion != OMPD_ordered && in checkNestingOfRegions()
5027 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_atomic && in checkNestingOfRegions()
5028 CurrentRegion != OMPD_scan))) { in checkNestingOfRegions()
5041 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions()
5045 return CurrentRegion != OMPD_simd; in checkNestingOfRegions()
5053 if (CurrentRegion == OMPD_section) { in checkNestingOfRegions()
5071 !isOpenMPNestingTeamsDirective(CurrentRegion) && in checkNestingOfRegions()
5072 CurrentRegion != OMPD_cancellation_point && in checkNestingOfRegions()
5073 CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_scan) in checkNestingOfRegions()
5077 if (SemaRef.LangOpts.OpenMP >= 50 && CurrentRegion == OMPD_loop && in checkNestingOfRegions()
5084 << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()
5087 if (CurrentRegion == OMPD_cancellation_point || in checkNestingOfRegions()
5088 CurrentRegion == OMPD_cancel) { in checkNestingOfRegions()
5122 } else if (CurrentRegion == OMPD_master || CurrentRegion == OMPD_masked) { in checkNestingOfRegions()
5129 } else if (CurrentRegion == OMPD_critical && CurrentName.getName()) { in checkNestingOfRegions()
5155 } else if (CurrentRegion == OMPD_barrier || CurrentRegion == OMPD_scope) { in checkNestingOfRegions()
5170 } else if (isOpenMPWorksharingDirective(CurrentRegion) && in checkNestingOfRegions()
5171 !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
5172 !isOpenMPTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
5186 } else if (CurrentRegion == OMPD_ordered) { in checkNestingOfRegions()
5200 } else if (isOpenMPNestingTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
5210 } else if (CurrentRegion == OMPD_scan) { in checkNestingOfRegions()
5223 !isOpenMPTargetExecutionDirective(CurrentRegion) && in checkNestingOfRegions()
5224 !isOpenMPTargetDataManagementDirective(CurrentRegion) && in checkNestingOfRegions()
5235 NestingProhibited = !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
5236 !isOpenMPDistributeDirective(CurrentRegion) && in checkNestingOfRegions()
5237 CurrentRegion != OMPD_loop && in checkNestingOfRegions()
5239 CurrentRegion == OMPD_atomic); in checkNestingOfRegions()
5242 if (!NestingProhibited && CurrentRegion == OMPD_loop) { in checkNestingOfRegions()
5253 isOpenMPNestingDistributeDirective(CurrentRegion)) { in checkNestingOfRegions()
5262 (isOpenMPTargetExecutionDirective(CurrentRegion) || in checkNestingOfRegions()
5263 isOpenMPTargetDataManagementDirective(CurrentRegion))) { in checkNestingOfRegions()
5283 << getOpenMPDirectiveName(CurrentRegion) << Recommend; in checkNestingOfRegions()
5287 << Recommend << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()