Lines Matching refs:CurrentRegion
4965 static bool checkCancelRegion(Sema &SemaRef, OpenMPDirectiveKind CurrentRegion, in checkCancelRegion() argument
4969 if (CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_cancellation_point) in checkCancelRegion()
4982 OpenMPDirectiveKind CurrentRegion, in checkNestingOfRegions() argument
5002 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_loop && in checkNestingOfRegions()
5003 CurrentRegion != OMPD_parallel && in checkNestingOfRegions()
5004 !isOpenMPCombinedParallelADirective(CurrentRegion)) { in checkNestingOfRegions()
5006 << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()
5010 ((SemaRef.LangOpts.OpenMP <= 45 && CurrentRegion != OMPD_ordered) || in checkNestingOfRegions()
5011 (SemaRef.LangOpts.OpenMP >= 50 && CurrentRegion != OMPD_ordered && in checkNestingOfRegions()
5012 CurrentRegion != OMPD_simd && CurrentRegion != OMPD_atomic && in checkNestingOfRegions()
5013 CurrentRegion != OMPD_scan))) { in checkNestingOfRegions()
5026 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions()
5030 return CurrentRegion != OMPD_simd; in checkNestingOfRegions()
5038 if (CurrentRegion == OMPD_section) { in checkNestingOfRegions()
5056 !isOpenMPNestingTeamsDirective(CurrentRegion) && in checkNestingOfRegions()
5057 CurrentRegion != OMPD_cancellation_point && in checkNestingOfRegions()
5058 CurrentRegion != OMPD_cancel && CurrentRegion != OMPD_scan) in checkNestingOfRegions()
5060 if (CurrentRegion == OMPD_cancellation_point || in checkNestingOfRegions()
5061 CurrentRegion == OMPD_cancel) { in checkNestingOfRegions()
5095 } else if (CurrentRegion == OMPD_master || CurrentRegion == OMPD_masked) { in checkNestingOfRegions()
5102 } else if (CurrentRegion == OMPD_critical && CurrentName.getName()) { in checkNestingOfRegions()
5128 } else if (CurrentRegion == OMPD_barrier) { in checkNestingOfRegions()
5140 } else if (isOpenMPWorksharingDirective(CurrentRegion) && in checkNestingOfRegions()
5141 !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
5142 !isOpenMPTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
5156 } else if (CurrentRegion == OMPD_ordered) { in checkNestingOfRegions()
5170 } else if (isOpenMPNestingTeamsDirective(CurrentRegion)) { in checkNestingOfRegions()
5180 } else if (CurrentRegion == OMPD_scan) { in checkNestingOfRegions()
5193 !isOpenMPTargetExecutionDirective(CurrentRegion) && in checkNestingOfRegions()
5194 !isOpenMPTargetDataManagementDirective(CurrentRegion) && in checkNestingOfRegions()
5205 NestingProhibited = !isOpenMPParallelDirective(CurrentRegion) && in checkNestingOfRegions()
5206 !isOpenMPDistributeDirective(CurrentRegion) && in checkNestingOfRegions()
5207 CurrentRegion != OMPD_loop && in checkNestingOfRegions()
5209 CurrentRegion == OMPD_atomic); in checkNestingOfRegions()
5212 if (!NestingProhibited && CurrentRegion == OMPD_loop) { in checkNestingOfRegions()
5223 isOpenMPNestingDistributeDirective(CurrentRegion)) { in checkNestingOfRegions()
5232 (isOpenMPTargetExecutionDirective(CurrentRegion) || in checkNestingOfRegions()
5233 isOpenMPTargetDataManagementDirective(CurrentRegion))) { in checkNestingOfRegions()
5253 << getOpenMPDirectiveName(CurrentRegion) << Recommend; in checkNestingOfRegions()
5257 << Recommend << getOpenMPDirectiveName(CurrentRegion); in checkNestingOfRegions()