Home | History | Annotate | Download | only in Sema

Lines Matching refs:CKind

72     OpenMPClauseKind CKind;
76 : DKind(OMPD_unknown), CKind(OMPC_unknown), RefExpr(nullptr),
262 return isOpenMPThreadPrivate(DVar.CKind);
377 DVar.CKind = OMPC_shared;
384 DVar.CKind = OMPC_shared;
396 DVar.CKind = OMPC_private;
404 DVar.CKind = Iter->SharingMap[D].Attributes;
415 DVar.CKind = OMPC_shared;
428 DVar.CKind = OMPC_shared;
448 if (DVarTemp.CKind != OMPC_shared) {
451 DVar.CKind = OMPC_firstprivate;
458 DVar.CKind =
459 (DVarTemp.CKind == OMPC_unknown) ? OMPC_firstprivate : OMPC_shared;
576 DVar.CKind = OMPC_threadprivate;
590 if (DVarTemp.CKind != OMPC_unknown && DVarTemp.RefExpr)
593 DVar.CKind = OMPC_shared;
615 if (DVarTemp.CKind == OMPC_firstprivate && DVarTemp.RefExpr)
618 DVar.CKind = OMPC_shared;
632 DVar.CKind = I->SharingMap[D].Attributes;
663 if (CPred(DVar.CKind))
683 if (CPred(DVar.CKind))
871 if (DVarPrivate.CKind != OMPC_unknown && isOpenMPPrivate(DVarPrivate.CKind))
875 return DVarPrivate.CKind != OMPC_unknown;
929 if (DVar.CKind == OMPC_lastprivate) {
1231 << getOpenMPClauseName(DVar.CKind);
1249 if (DVar.CKind == OMPC_private)
1251 else if (DVar.CKind == OMPC_lastprivate)
1255 } else if (DVar.DKind == OMPD_task && DVar.CKind == OMPC_firstprivate) {
1266 else if (VD->isLocalVarDecl() && DVar.CKind == OMPC_private) {
1276 << getOpenMPClauseName(DVar.CKind);
1306 if (DVar.CKind == OMPC_unknown && Stack->getDefaultDSA() == DSA_none &&
1324 if (DKind == OMPD_task && DVar.CKind == OMPC_reduction) {
1333 if (DKind == OMPD_task && DVar.CKind != OMPC_shared)
3470 if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
3471 DVar.CKind != OMPC_threadprivate && DVar.CKind != PredeterminedCKind) ||
3474 !isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
3475 DVar.CKind != OMPC_private && DVar.CKind != OMPC_lastprivate &&
3476 DVar.CKind != OMPC_threadprivate)) &&
3477 ((DVar.CKind != OMPC_private && DVar.CKind != OMPC_threadprivate) ||
3480 << getOpenMPClauseName(DVar.CKind) << getOpenMPDirectiveName(DKind)
3483 DVar.CKind = PredeterminedCKind;
3491 if (DVar.CKind == OMPC_unknown)
5713 OpenMPClauseKind CKind,
5731 << getOpenMPClauseName(CKind) << (StrictlyPositive ? 1 : 0)
5756 OpenMPClauseKind CKind) {
5768 << getOpenMPClauseName(CKind) << 1 << E->getSourceRange();
5771 if (CKind == OMPC_aligned && !Result.isPowerOf2()) {
5776 if (CKind == OMPC_collapse)
5778 else if (CKind == OMPC_ordered)
6381 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_private) {
6382 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
6523 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_firstprivate &&
6524 DVar.CKind != OMPC_lastprivate && DVar.RefExpr) {
6526 << getOpenMPClauseName(DVar.CKind)
6544 DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared) {
6546 << getOpenMPClauseName(DVar.CKind)
6561 if (DVar.CKind != OMPC_shared &&
6590 if (DVar.CKind == OMPC_reduction &&
6619 if (DVar.CKind == OMPC_private && isOpenMPTeamsDirective(DVar.DKind)) {
6629 if (DVar.CKind == OMPC_reduction &&
6636 if (DVar.CKind == OMPC_lastprivate) {
6779 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_lastprivate &&
6780 DVar.CKind != OMPC_firstprivate &&
6781 (DVar.CKind != OMPC_private || DVar.RefExpr != nullptr)) {
6783 << getOpenMPClauseName(DVar.CKind)
6800 if (DVar.CKind != OMPC_shared) {
6843 if (DVar.CKind == OMPC_firstprivate) {
6850 if (TopDVar.CKind != OMPC_firstprivate)
6908 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared &&
6910 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
6934 if (DVar.CKind == OMPC_shared && !DVar.RefExpr)
6936 if (DVar.CKind != OMPC_unknown)
6940 if (DVarPrivate.CKind != OMPC_unknown)
7241 if (DVar.CKind == OMPC_reduction) {
7247 } else if (DVar.CKind != OMPC_unknown) {
7249 << getOpenMPClauseName(DVar.CKind)
7263 if (DVar.CKind != OMPC_shared) {
7509 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
7900 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_copyprivate &&
7903 << getOpenMPClauseName(DVar.CKind)
7912 if (DVar.CKind == OMPC_unknown) {
7914 if (DVar.CKind == OMPC_shared) {