reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOpenMP.cpp
  624     return isOpenMPThreadPrivate(DVar.CKind);
  914       DVar.CKind = OMPC_shared;
  921       DVar.CKind = OMPC_shared;
  925       DVar.CKind = OMPC_shared;
  936     DVar.CKind = OMPC_private;
  947     DVar.CKind = Data.Attributes;
  958     DVar.CKind = OMPC_shared;
  972       DVar.CKind = OMPC_shared;
  992         if (DVarTemp.CKind != OMPC_shared) {
  994           DVar.CKind = OMPC_firstprivate;
  998       DVar.CKind =
  999           (DVarTemp.CKind == OMPC_unknown) ? OMPC_firstprivate : OMPC_shared;
 1296     DVar.CKind = OMPC_threadprivate;
 1303     DVar.CKind = OMPC_threadprivate;
 1318     DVar.CKind = OMPC_threadprivate;
 1337           DVar.CKind = OMPC_threadprivate;
 1346           DVar.CKind = OMPC_threadprivate;
 1356           DVar.CKind = OMPC_threadprivate;
 1385       DVar.CKind = Data.Attributes;
 1391     DVar.CKind = OMPC_shared;
 1412       if (DVarTemp.CKind != OMPC_unknown && DVarTemp.RefExpr)
 1415       DVar.CKind = OMPC_shared;
 1431     DVar.CKind = Data.Attributes;
 1471     if (I == NewI && CPred(DVar.CKind))
 1492   return (NewI == StartI && CPred(DVar.CKind)) ? DVar : DSAVarData();
 1958     if (DVarPrivate.CKind != OMPC_unknown && isOpenMPPrivate(DVarPrivate.CKind))
 1958     if (DVarPrivate.CKind != OMPC_unknown && isOpenMPPrivate(DVarPrivate.CKind))
 1961     if (isOpenMPThreadPrivate(DVarPrivate.CKind))
 1968     if (DVarPrivate.CKind != OMPC_unknown ||
 2169           if (DVar.CKind == OMPC_lastprivate) {
 2715         << getOpenMPClauseName(DVar.CKind);
 2734     if (DVar.CKind == OMPC_private)
 2736     else if (DVar.CKind == OMPC_lastprivate)
 2741              DVar.CKind == OMPC_firstprivate) {
 2752   else if (VD && VD->isLocalVarDecl() && DVar.CKind == OMPC_private) {
 2762         << getOpenMPClauseName(DVar.CKind);
 2825       if (DVar.CKind == OMPC_unknown && Stack->getDefaultDSA() == DSA_none &&
 2883       if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) {
 2892       if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared &&
 2962       if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) {
 2971       if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared &&
 2977         if (DVar.CKind != OMPC_unknown)
 4219       if (!isOpenMPPrivate(Data.CKind)) {
 6376     if (!isOpenMPPrivate(Data.CKind) || !Data.RefExpr)
 6513         if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
 6514               DVar.CKind != PredeterminedCKind && DVar.RefExpr &&
 6515               (LangOpts.OpenMP <= 45 || (DVar.CKind != OMPC_lastprivate &&
 6516                                          DVar.CKind != OMPC_private))) ||
 6521               !isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
 6522               DVar.CKind != OMPC_private && DVar.CKind != OMPC_lastprivate)) &&
 6522               DVar.CKind != OMPC_private && DVar.CKind != OMPC_lastprivate)) &&
 6523             (DVar.CKind != OMPC_private || DVar.RefExpr)) {
 6525               << getOpenMPClauseName(DVar.CKind)
 6529             DVar.CKind = PredeterminedCKind;
 6537           if (DVar.CKind == OMPC_unknown)
12061     if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_private) {
12061     if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_private) {
12062       Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
12232       if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_firstprivate &&
12232       if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_firstprivate &&
12234            DVar.CKind != OMPC_lastprivate) &&
12237             << getOpenMPClauseName(DVar.CKind)
12255           DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared) {
12255           DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared) {
12257             << getOpenMPClauseName(DVar.CKind)
12283         if (DVar.CKind != OMPC_shared &&
12314         if (DVar.CKind == OMPC_reduction &&
12425       if (TopDVar.CKind == OMPC_lastprivate) {
12508     if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_lastprivate &&
12508     if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_lastprivate &&
12510          DVar.CKind != OMPC_firstprivate) &&
12511         (DVar.CKind != OMPC_private || DVar.RefExpr != nullptr)) {
12513           << getOpenMPClauseName(DVar.CKind)
12530       if (DVar.CKind != OMPC_shared) {
12570       if (TopDVar.CKind == OMPC_firstprivate) {
12577       if (TopDVar.CKind == OMPC_firstprivate ||
12638     if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared &&
12638     if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared &&
12640       Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
12669       if (DVar.CKind == OMPC_shared && !DVar.RefExpr)
12671       if (DVar.CKind != OMPC_unknown)
12676       return DVarPrivate.CKind != OMPC_unknown;
13247       if (DVar.CKind == OMPC_reduction) {
13254       if (DVar.CKind != OMPC_unknown) {
13256             << getOpenMPClauseName(DVar.CKind)
13270         if (DVar.CKind != OMPC_shared) {
13830       Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
14234       if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_copyprivate &&
14234       if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_copyprivate &&
14237             << getOpenMPClauseName(DVar.CKind)
14246       if (DVar.CKind == OMPC_unknown) {
14248         if (DVar.CKind == OMPC_shared) {
15467         if (isOpenMPPrivate(DVar.CKind)) {
15469               << getOpenMPClauseName(DVar.CKind)
16498     if (isOpenMPPrivate(DVar.CKind)) {
16500           << getOpenMPClauseName(DVar.CKind)