Home | History | Annotate | Download | only in Sema

Lines Matching defs:DKind

52     OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
68 OpenMPDirectiveKind DKind = OMPD_unknown;
76 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind,
80 : DKind(DKind), CKind(CKind), Modifier(Modifier), RefExpr(RefExpr),
196 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name,
198 : Directive(DKind), DirectiveName(Name), CurScope(CurScope),
369 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName,
376 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc);
1099 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) {
1100 return isOpenMPParallelDirective(DKind) || isOpenMPTeamsDirective(DKind);
1103 bool isImplicitOrExplicitTaskingRegion(OpenMPDirectiveKind DKind) {
1104 return isImplicitTaskingRegion(DKind) || isOpenMPTaskingDirective(DKind) ||
1105 DKind == OMPD_unknown;
1190 DVar.DKind = Iter->Directive;
1230 if ((isOpenMPParallelDirective(DVar.DKind) &&
1231 !isOpenMPTaskLoopDirective(DVar.DKind)) ||
1232 isOpenMPTeamsDirective(DVar.DKind)) {
1242 if (isOpenMPTaskingDirective(DVar.DKind)) {
1700 DVar.DKind = I->Directive;
1751 DVar.DKind = I->Directive;
2316 OpenMPDirectiveKind DKind = DSAStack->getDirective(Level);
2318 getOpenMPCaptureRegions(CaptureRegions, DKind);
2516 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind,
2519 DSAStack->push(DKind, DirName, CurScope, Loc);
3215 OpenMPDirectiveKind DKind,
3221 << llvm::omp::getOpenMPDirectiveName(DKind);
3224 if (DKind == llvm::omp::Directive::OMPD_begin_assumes) {
3233 assert(DKind == llvm::omp::Directive::OMPD_assumes &&
3340 } else if (isOpenMPTaskingDirective(DVar.DKind) &&
3506 OpenMPDirectiveKind DKind = Stack->getCurrentDirective();
3514 isImplicitOrExplicitTaskingRegion(DKind) &&
3572 if (isOpenMPTargetExecutionDirective(DKind) &&
3633 if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) {
3642 if (((isOpenMPTaskingDirective(DKind
3652 if (!isOpenMPTargetExecutionDirective(DKind) && Res &&
3664 OpenMPDirectiveKind DKind = Stack->getCurrentDirective();
3674 if (isOpenMPTargetExecutionDirective(DKind) &&
3723 if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) {
3732 if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared &&
3743 if (isOpenMPTargetExecutionDirective(DKind)) {
3869 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) {
3870 switch (DKind) {
4288 int Sema::getOpenMPCaptureLevels(OpenMPDirectiveKind DKind) {
4290 getOpenMPCaptureRegions(CaptureRegions, DKind);
4369 OpenMPDirectiveKind DKind = OMPD_unknown;
4373 OpenMPDirectiveKind DKind)
4374 : S(S), ErrorFound(ErrorFound), DKind(DKind) {}
4377 int ThisCaptureLevel = S.getOpenMPCaptureLevels(DKind);
8495 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
8509 isOpenMPSimdDirective(DKind)
8512 if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
8516 ((isOpenMPWorksharingDirective(DKind) || DKind == OMPD_taskloop ||
8517 DKind == OMPD_master_taskloop ||
8518 DKind == OMPD_parallel_master_taskloop ||
8519 isOpenMPDistributeDirective(DKind)) &&
8520 !isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
8525 << getOpenMPDirectiveName(DKind)
8549 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA,
8556 bool SupportsNonRectangular = !isOpenMPLoopTransformationDirective(DKind);
8568 << getOpenMPDirectiveName(DKind) << TotalNestedLoopCount
8627 assert(isOpenMPLoopDirective(DKind) && "DSA for non-loop vars");
8644 (isOpenMPWorksharingDirective(DKind) ||
8645 isOpenMPTaskLoopDirective(DKind) ||
8646 isOpenMPDistributeDirective(DKind) ||
8647 isOpenMPLoopTransformationDirective(DKind)),
8900 checkOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr,
8907 !isOpenMPLoopTransformationDirective(DKind);
8948 AStmt->IgnoreContainers(!isOpenMPLoopTransformationDirective(DKind)),
8950 [DKind, &SemaRef, &DSA, NumLoops, NestedLoopCount,
8954 DKind, CurStmt, SemaRef, DSA, Cnt, NestedLoopCount,
9073 if (isOpenMPTaskLoopDirective(DKind)) {
9115 if (isOpenMPWorksharingDirective(DKind) || isOpenMPTaskLoopDirective(DKind) ||
9116 isOpenMPDistributeDirective(DKind) ||
9117 isOpenMPLoopTransformationDirective(DKind)) {
9163 if (isOpenMPLoopBoundSharingDirective(DKind)) {
9215 Expr *RHS = (isOpenMPWorksharingDirective(DKind) ||
9216 isOpenMPTaskLoopDirective(DKind) ||
9217 isOpenMPDistributeDirective(DKind) ||
9218 isOpenMPLoopTransformationDirective(DKind))
9224 if (isOpenMPLoopBoundSharingDirective(DKind)) {
9226 (isOpenMPWorksharingDirective(DKind) ||
9227 isOpenMPTaskLoopDirective(DKind) ||
9228 isOpenMPDistributeDirective(DKind))
9257 (isOpenMPWorksharingDirective(DKind) ||
9258 isOpenMPTaskLoopDirective(DKind) || isOpenMPDistributeDirective(DKind) ||
9259 isOpenMPLoopTransformationDirective(DKind))
9266 if (isOpenMPLoopBoundSharingDirective(DKind)) {
9272 if (isOpenMPLoopBoundSharingDirective(DKind)) {
9306 if (isOpenMPWorksharingDirective(DKind) || isOpenMPTaskLoopDirective(DKind) ||
9307 isOpenMPDistributeDirective(DKind) ||
9308 isOpenMPLoopTransformationDirective(DKind)) {
9331 if (isOpenMPLoopBoundSharingDirective(DKind)) {
9364 if (isOpenMPLoopBoundSharingDirective(DKind)) {
12908 OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion,
12913 switch (DKind) {
13058 switch (DKind) {
13139 switch (DKind) {
13218 switch (DKind) {
13297 switch (DKind) {
13376 switch (DKind) {
13455 switch (DKind) {
13539 switch (DKind) {
13618 switch (DKind) {
13717 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
13719 DKind, OMPC_if, LangOpts.OpenMP, NameModifier);
13749 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
13751 getOpenMPCaptureRegionForClause(DKind, OMPC_final, LangOpts.OpenMP);
13811 OpenMPDirectiveKind DKind = OMPD_unknown,
13838 getOpenMPCaptureRegionForClause(DKind, CKind, SemaRef.LangOpts.OpenMP);
13863 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
13865 getOpenMPCaptureRegionForClause(DKind, OMPC_num_threads, LangOpts.OpenMP);
14953 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
14954 CaptureRegion = getOpenMPCaptureRegionForClause(DKind, OMPC_novariants,
14984 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
14986 getOpenMPCaptureRegionForClause(DKind, OMPC_nocontext, LangOpts.OpenMP);
15006 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
15008 getOpenMPCaptureRegionForClause(DKind, OMPC_filter, LangOpts.OpenMP);
15492 (isOpenMPParallelDirective(DVar.DKind) ||
15493 isOpenMPTeamsDirective(DVar.DKind) ||
15494 DVar.DKind == OMPD_unknown)) {
15526 (isOpenMPParallelDirective(DVar.DKind) ||
15527 isOpenMPWorksharingDirective(DVar.DKind) ||
15528 isOpenMPTeamsDirective(DVar.DKind))) {
15530 << getOpenMPDirectiveName(DVar.DKind);
16956 bool IsParentBOK = ParentBOKDSA.DKind != OMPD_unknown;
16957 bool IsParentReductionOp = ParentReductionOpDSA.DKind != OMPD_unknown;
18045 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
18047 getOpenMPCaptureRegionForClause(DKind, OMPC_device, LangOpts.OpenMP);
18207 OpenMPDirectiveKind DKind = OMPD_unknown;
18388 } else if (DKind == OMPD_target_update &&
18503 Sema &SemaRef, OpenMPClauseKind CKind, OpenMPDirectiveKind DKind,
18506 : SemaRef(SemaRef), CKind(CKind), DKind(DKind), Components(Components),
18518 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose) {
18521 MapBaseChecker Checker(SemaRef, CKind, DKind, CurComponents, NoDiagnose, ELoc,
19136 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective();
19137 if (DKind == OMPD_target_enter_data &&
19142 << getOpenMPDirectiveName(DKind);
19150 if (DKind == OMPD_target_exit_data &&
19156 << getOpenMPDirectiveName(DKind);
19164 if ((DKind == OMPD_target_data ||
19165 isOpenMPTargetExecutionDirective(DKind)) &&
19171 << getOpenMPDirectiveName(DKind);
19184 isOpenMPTargetExecutionDirective(DKind)) ||
19185 DKind == OMPD_target)) {
19683 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
19685 getOpenMPCaptureRegionForClause(DKind, OMPC_num_teams, LangOpts.OpenMP);
19710 OpenMPDirectiveKind DKind = DSAStack->getCurrentDirective();
19712 DKind, OMPC_thread_limit, LangOpts.OpenMP);