Home
last modified time | relevance | path

Searched refs:DKind (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Basic/
DOpenMPKinds.cpp313 bool clang::isAllowedClauseForDirective(OpenMPDirectiveKind DKind, in isAllowedClauseForDirective() argument
315 assert(DKind <= OMPD_unknown); in isAllowedClauseForDirective()
317 switch (DKind) { in isAllowedClauseForDirective()
630 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective() argument
631 return DKind == OMPD_simd || DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPLoopDirective()
632 DKind == OMPD_parallel_for || DKind == OMPD_parallel_for_simd || in isOpenMPLoopDirective()
633 DKind == OMPD_taskloop || DKind == OMPD_taskloop_simd || in isOpenMPLoopDirective()
634 DKind == OMPD_distribute || DKind == OMPD_target_parallel_for || in isOpenMPLoopDirective()
635 DKind == OMPD_distribute_parallel_for || in isOpenMPLoopDirective()
636 DKind == OMPD_distribute_parallel_for_simd || in isOpenMPLoopDirective()
[all …]
/external/clang/include/clang/Basic/
DOpenMPKinds.h139 bool isAllowedClauseForDirective(OpenMPDirectiveKind DKind,
147 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind);
153 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind);
159 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind);
165 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind);
172 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind);
180 bool isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind);
186 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind);
192 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind);
199 bool isOpenMPDistributeDirective(OpenMPDirectiveKind DKind);
/external/clang/lib/Parse/
DParseOpenMP.cpp65 auto DKind = getOpenMPDirectiveKind(S); in getOpenMPDirectiveKindEx() local
66 if (DKind != OMPD_unknown) in getOpenMPDirectiveKindEx()
67 return DKind; in getOpenMPDirectiveKindEx()
115 unsigned DKind = in ParseOpenMPDirectiveKind() local
119 if (DKind == OMPD_unknown) in ParseOpenMPDirectiveKind()
123 if (DKind != F[i][0]) in ParseOpenMPDirectiveKind()
136 DKind = F[i][2]; in ParseOpenMPDirectiveKind()
139 return DKind < OMPD_unknown ? static_cast<OpenMPDirectiveKind>(DKind) in ParseOpenMPDirectiveKind()
553 auto DKind = ParseOpenMPDirectiveKind(*this); in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
555 switch (DKind) { in ParseOpenMPDeclarativeDirectiveWithExtDecl()
[all …]
/external/clang/lib/Sema/
DSemaOpenMP.cpp53 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()
[all …]
/external/clang/include/clang/Parse/
DParser.h2518 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
2545 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
2569 bool ParseOpenMPVarList(OpenMPDirectiveKind DKind, OpenMPClauseKind Kind,
/external/clang/include/clang/Sema/
DSema.h8030 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);