Lines Matching refs:CKind
54 OpenMPClauseKind CKind = OMPC_unknown; member
257 return isOpenMPThreadPrivate(DVar.CKind); in isThreadPrivate()
420 DVar.CKind = OMPC_shared; in getDSA()
427 DVar.CKind = OMPC_shared; in getDSA()
431 DVar.CKind = OMPC_shared; in getDSA()
443 DVar.CKind = OMPC_private; in getDSA()
452 DVar.CKind = Iter->SharingMap[D].Attributes; in getDSA()
463 DVar.CKind = OMPC_shared; in getDSA()
476 DVar.CKind = OMPC_shared; in getDSA()
495 if (DVarTemp.CKind != OMPC_shared) { in getDSA()
497 DVar.CKind = OMPC_firstprivate; in getDSA()
503 DVar.CKind = in getDSA()
504 (DVarTemp.CKind == OMPC_unknown) ? OMPC_firstprivate : OMPC_shared; in getDSA()
664 DVar.CKind = OMPC_threadprivate; in getTopDSA()
683 if (DVarTemp.CKind != OMPC_unknown && DVarTemp.RefExpr) in getTopDSA()
686 DVar.CKind = OMPC_shared; in getTopDSA()
710 if (DVarTemp.CKind == OMPC_firstprivate && DVarTemp.RefExpr) in getTopDSA()
713 DVar.CKind = OMPC_shared; in getTopDSA()
728 DVar.CKind = I->SharingMap[D].Attributes; in getTopDSA()
761 if (CPred(DVar.CKind)) in hasDSA()
781 if (CPred(DVar.CKind)) in hasInnermostDSA()
1015 if (DVarPrivate.CKind != OMPC_unknown && isOpenMPPrivate(DVarPrivate.CKind)) in IsOpenMPCapturedDecl()
1020 if (DVarPrivate.CKind != OMPC_unknown) in IsOpenMPCapturedDecl()
1078 if (DVar.CKind == OMPC_lastprivate) { in EndOpenMPDSABlock()
1402 << getOpenMPClauseName(DVar.CKind); in ReportOriginalDSA()
1421 if (DVar.CKind == OMPC_private) in ReportOriginalDSA()
1423 else if (DVar.CKind == OMPC_lastprivate) in ReportOriginalDSA()
1428 DVar.CKind == OMPC_firstprivate) { in ReportOriginalDSA()
1439 else if (VD && VD->isLocalVarDecl() && DVar.CKind == OMPC_private) { in ReportOriginalDSA()
1449 << getOpenMPClauseName(DVar.CKind); in ReportOriginalDSA()
1482 if (DVar.CKind == OMPC_unknown && Stack->getDefaultDSA() == DSA_none && in VisitDeclRefExpr()
1500 if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) { in VisitDeclRefExpr()
1509 if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared && in VisitDeclRefExpr()
1540 if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) { in VisitMemberExpr()
1549 if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared && in VisitMemberExpr()
4526 if (!isOpenMPPrivate(Data.CKind) || !Data.RefExpr) in BuildCounterVar()
4696 if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown && in CheckOpenMPIterationSpace()
4697 DVar.CKind != PredeterminedCKind) || in CheckOpenMPIterationSpace()
4700 !isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown && in CheckOpenMPIterationSpace()
4701 DVar.CKind != OMPC_private && DVar.CKind != OMPC_lastprivate)) && in CheckOpenMPIterationSpace()
4702 (DVar.CKind != OMPC_private || DVar.RefExpr != nullptr)) { in CheckOpenMPIterationSpace()
4704 << getOpenMPClauseName(DVar.CKind) << getOpenMPDirectiveName(DKind) in CheckOpenMPIterationSpace()
4707 DVar.CKind = PredeterminedCKind; in CheckOpenMPIterationSpace()
4715 if (DVar.CKind == OMPC_unknown) in CheckOpenMPIterationSpace()
7416 OpenMPClauseKind CKind, in IsNonNegativeIntegerValue() argument
7434 << getOpenMPClauseName(CKind) << (StrictlyPositive ? 1 : 0) in IsNonNegativeIntegerValue()
7459 OpenMPClauseKind CKind, in VerifyPositiveIntegerConstantInClause() argument
7473 << getOpenMPClauseName(CKind) << (StrictlyPositive ? 1 : 0) in VerifyPositiveIntegerConstantInClause()
7477 if (CKind == OMPC_aligned && !Result.isPowerOf2()) { in VerifyPositiveIntegerConstantInClause()
7482 if (CKind == OMPC_collapse && DSAStack->getAssociatedLoops() == 1) in VerifyPositiveIntegerConstantInClause()
7484 else if (CKind == OMPC_ordered) in VerifyPositiveIntegerConstantInClause()
8240 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_private) { in ActOnOpenMPPrivateClause()
8241 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPPrivateClause()
8392 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_firstprivate && in ActOnOpenMPFirstprivateClause()
8393 DVar.CKind != OMPC_lastprivate && DVar.RefExpr) { in ActOnOpenMPFirstprivateClause()
8395 << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPFirstprivateClause()
8413 DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared) { in ActOnOpenMPFirstprivateClause()
8415 << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPFirstprivateClause()
8430 if (DVar.CKind != OMPC_shared && in ActOnOpenMPFirstprivateClause()
8459 if (DVar.CKind == OMPC_reduction && in ActOnOpenMPFirstprivateClause()
8489 if (DVar.CKind == OMPC_private && isOpenMPTeamsDirective(DVar.DKind)) { in ActOnOpenMPFirstprivateClause()
8500 if (DVar.CKind == OMPC_reduction && in ActOnOpenMPFirstprivateClause()
8507 if (DVar.CKind == OMPC_lastprivate) { in ActOnOpenMPFirstprivateClause()
8598 if (TopDVar.CKind == OMPC_lastprivate) in ActOnOpenMPFirstprivateClause()
8666 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_lastprivate && in ActOnOpenMPLastprivateClause()
8667 DVar.CKind != OMPC_firstprivate && in ActOnOpenMPLastprivateClause()
8668 (DVar.CKind != OMPC_private || DVar.RefExpr != nullptr)) { in ActOnOpenMPLastprivateClause()
8670 << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPLastprivateClause()
8687 if (DVar.CKind != OMPC_shared) { in ActOnOpenMPLastprivateClause()
8701 if (DVar.CKind == OMPC_firstprivate) { in ActOnOpenMPLastprivateClause()
8739 if (TopDVar.CKind == OMPC_firstprivate) in ActOnOpenMPLastprivateClause()
8746 if (TopDVar.CKind == OMPC_firstprivate || in ActOnOpenMPLastprivateClause()
8807 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_shared && in ActOnOpenMPSharedClause()
8809 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPSharedClause()
8838 if (DVar.CKind == OMPC_shared && !DVar.RefExpr) in VisitDeclRefExpr()
8840 if (DVar.CKind != OMPC_unknown) in VisitDeclRefExpr()
8845 if (DVarPrivate.CKind != OMPC_unknown) in VisitDeclRefExpr()
9196 if (DVar.CKind == OMPC_reduction) { in ActOnOpenMPReductionClause()
9201 } else if (DVar.CKind != OMPC_unknown) { in ActOnOpenMPReductionClause()
9203 << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPReductionClause()
9217 if (DVar.CKind != OMPC_shared) { in ActOnOpenMPReductionClause()
9642 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPLinearClause()
10029 if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_copyprivate && in ActOnOpenMPCopyprivateClause()
10032 << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPCopyprivateClause()
10041 if (DVar.CKind == OMPC_unknown) { in ActOnOpenMPCopyprivateClause()
10043 if (DVar.CKind == OMPC_shared) { in ActOnOpenMPCopyprivateClause()
10444 OpenMPClauseKind CKind) { in CheckMapClauseExpressionBase() argument
10531 << CurE->getSourceRange() << getOpenMPClauseName(CKind); in CheckMapClauseExpressionBase()
10654 OpenMPClauseKind CKind) { in CheckMapConflicts() argument
10729 if (CKind == OMPC_map) in CheckMapConflicts()
10732 assert(CKind == OMPC_to || CKind == OMPC_from); in CheckMapConflicts()
10790 if (CKind == OMPC_map) in CheckMapConflicts()
10793 assert(CKind == OMPC_to || CKind == OMPC_from); in CheckMapConflicts()
10870 OpenMPClauseKind CKind, MappableVarListInfo &MVLI, in checkMappableExpressionList() argument
10875 assert((CKind == OMPC_map || CKind == OMPC_to || CKind == OMPC_from) && in checkMappableExpressionList()
10914 CheckMapClauseExpressionBase(SemaRef, SimpleExpr, CurComponents, CKind); in checkMappableExpressionList()
10943 << getOpenMPClauseName(CKind); in checkMappableExpressionList()
10957 /*CurrentRegionOnly=*/true, CurComponents, CKind)) in checkMappableExpressionList()
10959 if (CKind == OMPC_map && in checkMappableExpressionList()
10961 /*CurrentRegionOnly=*/false, CurComponents, CKind)) in checkMappableExpressionList()
10978 if (CKind == OMPC_map) { in checkMappableExpressionList()
11012 if (isOpenMPPrivate(DVar.CKind)) { in checkMappableExpressionList()
11014 << getOpenMPClauseName(DVar.CKind) in checkMappableExpressionList()