Lines Matching refs:CurrentRegion
1867 OpenMPDirectiveKind CurrentRegion, in CheckNestingOfRegions() argument
3113 if (isOpenMPSimdDirective(ParentRegion) && CurrentRegion != OMPD_ordered) { in CheckNestingOfRegions()
3122 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in CheckNestingOfRegions()
3125 return CurrentRegion != OMPD_simd; in CheckNestingOfRegions()
3133 if (CurrentRegion == OMPD_section) { in CheckNestingOfRegions()
3151 if (CurrentRegion == OMPD_cancellation_point || in CheckNestingOfRegions()
3152 CurrentRegion == OMPD_cancel) { in CheckNestingOfRegions()
3175 } else if (CurrentRegion == OMPD_master) { in CheckNestingOfRegions()
3181 } else if (CurrentRegion == OMPD_critical && CurrentName.getName()) { in CheckNestingOfRegions()
3210 } else if (CurrentRegion == OMPD_barrier) { in CheckNestingOfRegions()
3219 } else if (isOpenMPWorksharingDirective(CurrentRegion) && in CheckNestingOfRegions()
3220 !isOpenMPParallelDirective(CurrentRegion)) { in CheckNestingOfRegions()
3230 } else if (CurrentRegion == OMPD_ordered) { in CheckNestingOfRegions()
3244 } else if (isOpenMPTeamsDirective(CurrentRegion)) { in CheckNestingOfRegions()
3257 NestingProhibited = !isOpenMPParallelDirective(CurrentRegion) && in CheckNestingOfRegions()
3258 !isOpenMPDistributeDirective(CurrentRegion); in CheckNestingOfRegions()
3261 if (!NestingProhibited && isOpenMPDistributeDirective(CurrentRegion)) { in CheckNestingOfRegions()
3269 (isOpenMPTargetExecutionDirective(CurrentRegion) || in CheckNestingOfRegions()
3270 isOpenMPTargetDataManagementDirective(CurrentRegion))) { in CheckNestingOfRegions()
3290 << Recommend << getOpenMPDirectiveName(CurrentRegion); in CheckNestingOfRegions()