Lines Matching refs:ParentRegion

3102     auto ParentRegion = Stack->getParentDirective();  in CheckNestingOfRegions()  local
3103 auto OffendingRegion = ParentRegion; in CheckNestingOfRegions()
3113 if (isOpenMPSimdDirective(ParentRegion) && CurrentRegion != OMPD_ordered) { in CheckNestingOfRegions()
3127 if (ParentRegion == OMPD_atomic) { in CheckNestingOfRegions()
3138 if (ParentRegion != OMPD_sections && in CheckNestingOfRegions()
3139 ParentRegion != OMPD_parallel_sections) { in CheckNestingOfRegions()
3141 << (ParentRegion != OMPD_unknown) in CheckNestingOfRegions()
3142 << getOpenMPDirectiveName(ParentRegion); in CheckNestingOfRegions()
3149 if (ParentRegion == OMPD_unknown) in CheckNestingOfRegions()
3166 (ParentRegion == OMPD_parallel || in CheckNestingOfRegions()
3167 ParentRegion == OMPD_target_parallel)) || in CheckNestingOfRegions()
3169 (ParentRegion == OMPD_for || ParentRegion == OMPD_parallel_for || in CheckNestingOfRegions()
3170 ParentRegion == OMPD_target_parallel_for)) || in CheckNestingOfRegions()
3171 (CancelRegion == OMPD_taskgroup && ParentRegion == OMPD_task) || in CheckNestingOfRegions()
3173 (ParentRegion == OMPD_section || ParentRegion == OMPD_sections || in CheckNestingOfRegions()
3174 ParentRegion == OMPD_parallel_sections))); in CheckNestingOfRegions()
3179 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in CheckNestingOfRegions()
3180 isOpenMPTaskingDirective(ParentRegion); in CheckNestingOfRegions()
3214 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in CheckNestingOfRegions()
3215 isOpenMPTaskingDirective(ParentRegion) || in CheckNestingOfRegions()
3216 ParentRegion == OMPD_master || in CheckNestingOfRegions()
3217 ParentRegion == OMPD_critical || in CheckNestingOfRegions()
3218 ParentRegion == OMPD_ordered; in CheckNestingOfRegions()
3224 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in CheckNestingOfRegions()
3225 isOpenMPTaskingDirective(ParentRegion) || in CheckNestingOfRegions()
3226 ParentRegion == OMPD_master || in CheckNestingOfRegions()
3227 ParentRegion == OMPD_critical || in CheckNestingOfRegions()
3228 ParentRegion == OMPD_ordered; in CheckNestingOfRegions()
3239 NestingProhibited = ParentRegion == OMPD_critical || in CheckNestingOfRegions()
3240 isOpenMPTaskingDirective(ParentRegion) || in CheckNestingOfRegions()
3241 !(isOpenMPSimdDirective(ParentRegion) || in CheckNestingOfRegions()
3248 NestingProhibited = ParentRegion != OMPD_target; in CheckNestingOfRegions()
3252 if (!NestingProhibited && isOpenMPTeamsDirective(ParentRegion)) { in CheckNestingOfRegions()
3265 NestingProhibited = !isOpenMPTeamsDirective(ParentRegion); in CheckNestingOfRegions()