Lines Matching refs:ParentRegion
4511 OpenMPDirectiveKind ParentRegion = Stack->getParentDirective(); in checkNestingOfRegions() local
4512 OpenMPDirectiveKind OffendingRegion = ParentRegion; in checkNestingOfRegions()
4524 if (isOpenMPSimdDirective(ParentRegion) && in checkNestingOfRegions()
4547 if (ParentRegion == OMPD_atomic) { in checkNestingOfRegions()
4558 if (ParentRegion != OMPD_sections && in checkNestingOfRegions()
4559 ParentRegion != OMPD_parallel_sections) { in checkNestingOfRegions()
4561 << (ParentRegion != OMPD_unknown) in checkNestingOfRegions()
4562 << getOpenMPDirectiveName(ParentRegion); in checkNestingOfRegions()
4570 if (ParentRegion == OMPD_unknown && in checkNestingOfRegions()
4590 (ParentRegion == OMPD_parallel || in checkNestingOfRegions()
4591 ParentRegion == OMPD_target_parallel)) || in checkNestingOfRegions()
4593 (ParentRegion == OMPD_for || ParentRegion == OMPD_parallel_for || in checkNestingOfRegions()
4594 ParentRegion == OMPD_target_parallel_for || in checkNestingOfRegions()
4595 ParentRegion == OMPD_distribute_parallel_for || in checkNestingOfRegions()
4596 ParentRegion == OMPD_teams_distribute_parallel_for || in checkNestingOfRegions()
4597 ParentRegion == OMPD_target_teams_distribute_parallel_for)) || in checkNestingOfRegions()
4599 (ParentRegion == OMPD_task || in checkNestingOfRegions()
4601 (ParentRegion == OMPD_taskloop || in checkNestingOfRegions()
4602 ParentRegion == OMPD_master_taskloop || in checkNestingOfRegions()
4603 ParentRegion == OMPD_parallel_master_taskloop)))) || in checkNestingOfRegions()
4605 (ParentRegion == OMPD_section || ParentRegion == OMPD_sections || in checkNestingOfRegions()
4606 ParentRegion == OMPD_parallel_sections))); in checkNestingOfRegions()
4607 OrphanSeen = ParentRegion == OMPD_unknown; in checkNestingOfRegions()
4612 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in checkNestingOfRegions()
4613 isOpenMPTaskingDirective(ParentRegion); in checkNestingOfRegions()
4644 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in checkNestingOfRegions()
4645 isOpenMPTaskingDirective(ParentRegion) || in checkNestingOfRegions()
4646 ParentRegion == OMPD_master || in checkNestingOfRegions()
4647 ParentRegion == OMPD_parallel_master || in checkNestingOfRegions()
4648 ParentRegion == OMPD_critical || in checkNestingOfRegions()
4649 ParentRegion == OMPD_ordered; in checkNestingOfRegions()
4656 NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) || in checkNestingOfRegions()
4657 isOpenMPTaskingDirective(ParentRegion) || in checkNestingOfRegions()
4658 ParentRegion == OMPD_master || in checkNestingOfRegions()
4659 ParentRegion == OMPD_parallel_master || in checkNestingOfRegions()
4660 ParentRegion == OMPD_critical || in checkNestingOfRegions()
4661 ParentRegion == OMPD_ordered; in checkNestingOfRegions()
4672 NestingProhibited = ParentRegion == OMPD_critical || in checkNestingOfRegions()
4673 isOpenMPTaskingDirective(ParentRegion) || in checkNestingOfRegions()
4674 !(isOpenMPSimdDirective(ParentRegion) || in checkNestingOfRegions()
4682 (SemaRef.LangOpts.OpenMP <= 45 && ParentRegion != OMPD_target) || in checkNestingOfRegions()
4683 (SemaRef.LangOpts.OpenMP >= 50 && ParentRegion != OMPD_unknown && in checkNestingOfRegions()
4684 ParentRegion != OMPD_target); in checkNestingOfRegions()
4685 OrphanSeen = ParentRegion == OMPD_unknown; in checkNestingOfRegions()
4693 (ParentRegion != OMPD_simd && ParentRegion != OMPD_for && in checkNestingOfRegions()
4694 ParentRegion != OMPD_for_simd && ParentRegion != OMPD_parallel_for && in checkNestingOfRegions()
4695 ParentRegion != OMPD_parallel_for_simd); in checkNestingOfRegions()
4696 OrphanSeen = ParentRegion == OMPD_unknown; in checkNestingOfRegions()
4702 (ParentRegion == OMPD_teams || ParentRegion == OMPD_target_teams)) { in checkNestingOfRegions()
4717 (ParentRegion != OMPD_teams && ParentRegion != OMPD_target_teams); in checkNestingOfRegions()