• Home
  • Raw
  • Download

Lines Matching refs:DKind

53     OpenMPDirectiveKind DKind = OMPD_unknown;  member
106 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
108 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy()
140 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument
142 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push()
387 bool isParallelOrTaskRegion(OpenMPDirectiveKind DKind) { in isParallelOrTaskRegion() argument
388 return isOpenMPParallelDirective(DKind) || isOpenMPTaskingDirective(DKind) || in isParallelOrTaskRegion()
389 isOpenMPTeamsDirective(DKind) || DKind == OMPD_unknown; in isParallelOrTaskRegion()
436 DVar.DKind = Iter->Directive; in getDSA()
474 if (isOpenMPParallelDirective(DVar.DKind) || in getDSA()
475 isOpenMPTeamsDirective(DVar.DKind)) { in getDSA()
485 if (isOpenMPTaskingDirective(DVar.DKind)) { in getDSA()
1044 void Sema::StartOpenMPDSABlock(OpenMPDirectiveKind DKind, in StartOpenMPDSABlock() argument
1047 DSAStack->push(DKind, DirName, CurScope, Loc); in StartOpenMPDSABlock()
1427 } else if (isOpenMPTaskingDirective(DVar.DKind) && in ReportOriginalDSA()
1477 auto DKind = Stack->getCurrentDirective(); in VisitDeclRefExpr() local
1483 isParallelOrTaskRegion(DKind) && in VisitDeclRefExpr()
1500 if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) { in VisitDeclRefExpr()
1509 if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared && in VisitDeclRefExpr()
1527 auto DKind = Stack->getCurrentDirective(); in VisitMemberExpr() local
1540 if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) { in VisitMemberExpr()
1549 if (isOpenMPTaskingDirective(DKind) && DVar.CKind != OMPC_shared && in VisitMemberExpr()
1584 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) { in ActOnOpenMPRegionStart() argument
1585 switch (DKind) { in ActOnOpenMPRegionStart()
4610 OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, in CheckOpenMPIterationSpace() argument
4622 << getOpenMPDirectiveName(DKind) << NestedLoopCount in CheckOpenMPIterationSpace()
4693 isOpenMPSimdDirective(DKind) in CheckOpenMPIterationSpace()
4696 if (((isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown && in CheckOpenMPIterationSpace()
4698 ((isOpenMPWorksharingDirective(DKind) || DKind == OMPD_taskloop || in CheckOpenMPIterationSpace()
4699 isOpenMPDistributeDirective(DKind)) && in CheckOpenMPIterationSpace()
4700 !isOpenMPSimdDirective(DKind) && DVar.CKind != OMPC_unknown && in CheckOpenMPIterationSpace()
4704 << getOpenMPClauseName(DVar.CKind) << getOpenMPDirectiveName(DKind) in CheckOpenMPIterationSpace()
4722 assert(isOpenMPLoopDirective(DKind) && "DSA for non-loop vars"); in CheckOpenMPIterationSpace()
4739 (isOpenMPWorksharingDirective(DKind) || in CheckOpenMPIterationSpace()
4740 isOpenMPTaskLoopDirective(DKind) || isOpenMPDistributeDirective(DKind)), in CheckOpenMPIterationSpace()
4931 CheckOpenMPLoop(OpenMPDirectiveKind DKind, Expr *CollapseLoopCountExpr, in CheckOpenMPLoop() argument
4965 if (CheckOpenMPIterationSpace(DKind, CurStmt, SemaRef, DSA, Cnt, in CheckOpenMPLoop()
5072 if (isOpenMPTaskLoopDirective(DKind)) { in CheckOpenMPLoop()
5115 if (isOpenMPWorksharingDirective(DKind) || isOpenMPTaskLoopDirective(DKind) || in CheckOpenMPLoop()
5116 isOpenMPDistributeDirective(DKind)) { in CheckOpenMPLoop()
5162 if (isOpenMPLoopBoundSharingDirective(DKind)) { in CheckOpenMPLoop()
5190 Expr *RHS = (isOpenMPWorksharingDirective(DKind) || in CheckOpenMPLoop()
5191 isOpenMPTaskLoopDirective(DKind) || in CheckOpenMPLoop()
5192 isOpenMPDistributeDirective(DKind)) in CheckOpenMPLoop()
5202 (isOpenMPWorksharingDirective(DKind) || in CheckOpenMPLoop()
5203 isOpenMPTaskLoopDirective(DKind) || isOpenMPDistributeDirective(DKind)) in CheckOpenMPLoop()
5223 if (isOpenMPWorksharingDirective(DKind) || isOpenMPTaskLoopDirective(DKind) || in CheckOpenMPLoop()
5224 isOpenMPDistributeDirective(DKind)) { in CheckOpenMPLoop()
8431 (isOpenMPParallelDirective(DVar.DKind) || in ActOnOpenMPFirstprivateClause()
8432 DVar.DKind == OMPD_unknown)) { in ActOnOpenMPFirstprivateClause()
8460 (isOpenMPParallelDirective(DVar.DKind) || in ActOnOpenMPFirstprivateClause()
8461 isOpenMPWorksharingDirective(DVar.DKind))) { in ActOnOpenMPFirstprivateClause()
8463 << getOpenMPDirectiveName(DVar.DKind); in ActOnOpenMPFirstprivateClause()
8489 if (DVar.CKind == OMPC_private && isOpenMPTeamsDirective(DVar.DKind)) { in ActOnOpenMPFirstprivateClause()
8501 isOpenMPTeamsDirective(DVar.DKind)) { in ActOnOpenMPFirstprivateClause()
10983 OpenMPDirectiveKind DKind = DSAS->getCurrentDirective(); in checkMappableExpressionList() local
10984 if (DKind == OMPD_target_enter_data && in checkMappableExpressionList()
10989 << getOpenMPDirectiveName(DKind); in checkMappableExpressionList()
10997 if (DKind == OMPD_target_exit_data && in checkMappableExpressionList()
11003 << getOpenMPDirectiveName(DKind); in checkMappableExpressionList()
11010 if (DKind == OMPD_target && VD) { in checkMappableExpressionList()