Lines Matching refs:CKind
69 OpenMPClauseKind CKind;
73 : DKind(OMPD_unknown), CKind(OMPC_unknown), RefExpr(nullptr),
190 return isOpenMPThreadPrivate(DVar.CKind);
209 DVar.CKind = OMPC_shared;
216 DVar.CKind = OMPC_shared;
228 DVar.CKind = OMPC_private;
236 DVar.CKind = Iter->SharingMap[D].Attributes;
246 DVar.CKind = OMPC_shared;
258 DVar.CKind = OMPC_shared;
279 if (DVarTemp.CKind != OMPC_shared) {
282 DVar.CKind = OMPC_firstprivate;
289 DVar.CKind =
290 (DVarTemp.CKind == OMPC_unknown) ? OMPC_firstprivate : OMPC_shared;
353 DVar.CKind = OMPC_threadprivate;
358 DVar.CKind = OMPC_threadprivate;
370 DVar.CKind = OMPC_private;
383 if (DVarTemp.CKind == OMPC_firstprivate && DVarTemp.RefExpr)
386 DVar.CKind = OMPC_shared;
408 if (DVarTemp.CKind == OMPC_firstprivate && DVarTemp.RefExpr)
411 DVar.CKind = OMPC_shared;
420 DVar.CKind = OMPC_shared;
428 DVar.CKind = Stack.back().SharingMap[D].Attributes;
447 if (CPred(DVar.CKind))
461 if (CPred(DVar.CKind))
497 if (DVar.CKind == OMPC_lastprivate) {
787 << getOpenMPClauseName(DVar.CKind);
803 if (DVar.CKind == OMPC_private)
805 else if (DVar.CKind == OMPC_lastprivate)
817 else if (VD->isLocalVarDecl() && DVar.CKind == OMPC_private) {
827 << getOpenMPClauseName(DVar.CKind);
851 if (DVar.CKind != OMPC_unknown) {
852 if (DKind == OMPD_task && DVar.CKind != OMPC_shared &&
861 if (DVar.CKind == OMPC_unknown && Stack->getDefaultDSA() == DSA_none &&
874 if (DKind == OMPD_task && DVar.CKind == OMPC_reduction) {
883 if (DKind == OMPD_task && DVar.CKind != OMPC_shared)
1659 if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
1660 DVar.CKind != PredeterminedCKind) ||
1661 (isOpenMPWorksharingDirective(DKind) && DVar.CKind != OMPC_unknown &&
1662 DVar.CKind != OMPC_private && DVar.CKind != OMPC_lastprivate)) &&
1663 (DVar.CKind != OMPC_private || DVar.RefExpr != nullptr)) {
1665 << getOpenMPClauseName(DVar.CKind) << getOpenMPDirectiveName(DKind)
2034 OpenMPClauseKind CKind) {
2046 CKind) << E->getSourceRange();
2498 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_private) {
2499 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
2629 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_firstprivate &&
2630 DVar.CKind != OMPC_lastprivate && DVar.RefExpr) {
2632 << getOpenMPClauseName(DVar.CKind)
2650 DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared) {
2652 << getOpenMPClauseName(DVar.CKind)
2667 if (DVar.CKind != OMPC_shared) {
2759 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_lastprivate &&
2760 DVar.CKind != OMPC_firstprivate &&
2761 (DVar.CKind != OMPC_private || DVar.RefExpr != nullptr)) {
2763 << getOpenMPClauseName(DVar.CKind)
2779 if (DVar.CKind != OMPC_shared) {
2844 if (DVar.CKind != OMPC_firstprivate)
2899 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared &&
2901 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
2925 if (DVar.CKind == OMPC_shared && !DVar.RefExpr)
2927 if (DVar.CKind != OMPC_unknown)
2931 if (DVarPrivate.CKind != OMPC_unknown)
3149 if (DVar.CKind == OMPC_reduction) {
3155 } else if (DVar.CKind != OMPC_unknown) {
3157 << getOpenMPClauseName(DVar.CKind)
3171 if (DVar.CKind != OMPC_shared) {
3280 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
3562 if (DVar.CKind != OMPC_copyprivate && DVar.CKind != OMPC_unknown &&
3563 !(DVar.CKind == OMPC_private && !DVar.RefExpr)) {
3565 << getOpenMPClauseName(DVar.CKind)
3574 if (DVar.CKind == OMPC_unknown) {
3576 if (DVar.CKind == OMPC_shared) {