Lines Matching refs:ParentRegion
2215 auto ParentRegion = Stack->getParentDirective(); in CheckNestingOfRegions() local
2225 if (isOpenMPSimdDirective(ParentRegion) && CurrentRegion != OMPD_ordered) { in CheckNestingOfRegions()
2234 if (ParentRegion == OMPD_atomic) { in CheckNestingOfRegions()
2245 if (ParentRegion != OMPD_sections && in CheckNestingOfRegions()
2246 ParentRegion != OMPD_parallel_sections) { in CheckNestingOfRegions()
2248 << (ParentRegion != OMPD_unknown) in CheckNestingOfRegions()
2249 << getOpenMPDirectiveName(ParentRegion); in CheckNestingOfRegions()
2256 if (ParentRegion == OMPD_unknown) in CheckNestingOfRegions()
2272 !((CancelRegion == OMPD_parallel && ParentRegion == OMPD_parallel) || in CheckNestingOfRegions()
2274 (ParentRegion == OMPD_for || ParentRegion == OMPD_parallel_for)) || in CheckNestingOfRegions()
2275 (CancelRegion == OMPD_taskgroup && ParentRegion == OMPD_task) || in CheckNestingOfRegions()
2277 (ParentRegion == OMPD_section || ParentRegion == OMPD_sections || in CheckNestingOfRegions()
2278 ParentRegion == OMPD_parallel_sections))); in CheckNestingOfRegions()
2283 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in CheckNestingOfRegions()
2284 ParentRegion == OMPD_task || in CheckNestingOfRegions()
2285 isOpenMPTaskLoopDirective(ParentRegion); in CheckNestingOfRegions()
2320 isOpenMPWorksharingDirective(ParentRegion) || in CheckNestingOfRegions()
2321 ParentRegion == OMPD_task || ParentRegion == OMPD_master || in CheckNestingOfRegions()
2322 ParentRegion == OMPD_critical || ParentRegion == OMPD_ordered || in CheckNestingOfRegions()
2323 isOpenMPTaskLoopDirective(ParentRegion); in CheckNestingOfRegions()
2330 isOpenMPWorksharingDirective(ParentRegion) || in CheckNestingOfRegions()
2331 ParentRegion == OMPD_task || ParentRegion == OMPD_master || in CheckNestingOfRegions()
2332 ParentRegion == OMPD_critical || ParentRegion == OMPD_ordered || in CheckNestingOfRegions()
2333 isOpenMPTaskLoopDirective(ParentRegion); in CheckNestingOfRegions()
2344 NestingProhibited = ParentRegion == OMPD_critical || in CheckNestingOfRegions()
2345 ParentRegion == OMPD_task || in CheckNestingOfRegions()
2346 isOpenMPTaskLoopDirective(ParentRegion) || in CheckNestingOfRegions()
2347 !(isOpenMPSimdDirective(ParentRegion) || in CheckNestingOfRegions()
2354 NestingProhibited = ParentRegion != OMPD_target; in CheckNestingOfRegions()
2358 if (!NestingProhibited && isOpenMPTeamsDirective(ParentRegion)) { in CheckNestingOfRegions()
2371 NestingProhibited = !isOpenMPTeamsDirective(ParentRegion); in CheckNestingOfRegions()
2376 << CloseNesting << getOpenMPDirectiveName(ParentRegion) << Recommend in CheckNestingOfRegions()