Lines Matching defs:DKind
68 OpenMPDirectiveKind DKind;
73 : DKind(OMPD_unknown), CKind(OMPC_unknown), RefExpr(nullptr),
94 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name,
97 Directive(DKind), DirectiveName(std::move(Name)), CurScope(CurScope),
121 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName,
123 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc));
221 DVar.DKind = Iter->Directive;
257 if (isOpenMPParallelDirective(DVar.DKind)) {
267 if (DVar.DKind == OMPD_task) {
281 DVar.DKind = OMPD_task;
288 DVar.DKind = OMPD_task;
476 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind,
479 DSAStack->push(DKind, DirName, CurScope, Loc);
849 OpenMPDirectiveKind DKind = Stack->getCurrentDirective();
852 if (DKind == OMPD_task && DVar.CKind != OMPC_shared &&
862 (isOpenMPParallelDirective(DKind) || DKind == OMPD_task) &&
874 if (DKind == OMPD_task && DVar.CKind == OMPC_reduction) {
883 if (DKind == OMPD_task && DVar.CKind != OMPC_shared)
913 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) {
914 switch (DKind) {
1588 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA,
1597 << (NestedLoopCountExpr != nullptr) << getOpenMPDirectiveName(DKind)
1656 isOpenMPSimdDirective(DKind)
1659 if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown &&
1661 (isOpenMPWorksharingDirective(DKind) && DVar.CKind != OMPC_unknown &&
1665 << getOpenMPClauseName(DVar.CKind) << getOpenMPDirectiveName(DKind)
1676 assert(isOpenMPLoopDirective(DKind) && "DSA for non-loop vars");
1719 CheckOpenMPLoop(OpenMPDirectiveKind DKind, Expr *NestedLoopCountExpr,
1733 if (CheckOpenMPIterationSpace(DKind, CurStmt, SemaRef, DSA, Cnt,