Searched refs:DKind (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Basic/ |
D | OpenMPKinds.cpp | 189 bool clang::isAllowedClauseForDirective(OpenMPDirectiveKind DKind, in isAllowedClauseForDirective() argument 191 assert(DKind <= OMPD_unknown); in isAllowedClauseForDirective() 193 switch (DKind) { in isAllowedClauseForDirective() 341 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective() argument 342 return DKind == OMPD_simd || DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPLoopDirective() 343 DKind == OMPD_parallel_for || in isOpenMPLoopDirective() 344 DKind == OMPD_parallel_for_simd; // TODO add next directives. in isOpenMPLoopDirective() 347 bool clang::isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind) { in isOpenMPWorksharingDirective() argument 348 return DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPWorksharingDirective() 349 DKind == OMPD_sections || DKind == OMPD_section || in isOpenMPWorksharingDirective() [all …]
|
/external/clang/lib/Parse/ |
D | ParseOpenMP.cpp | 39 auto DKind = in ParseOpenMPDirectiveKind() local 44 if (DKind == F[i][0]) { in ParseOpenMPDirectiveKind() 52 DKind = F[i][2]; in ParseOpenMPDirectiveKind() 56 return DKind; in ParseOpenMPDirectiveKind() 70 auto DKind = ParseOpenMPDirectiveKind(*this); in ParseOpenMPDeclarativeDirective() local 72 switch (DKind) { in ParseOpenMPDeclarativeDirective() 113 << getOpenMPDirectiveName(DKind); in ParseOpenMPDeclarativeDirective() 145 auto DKind = ParseOpenMPDirectiveKind(*this); in ParseOpenMPDeclarativeOrExecutableDirective() local 152 switch (DKind) { in ParseOpenMPDeclarativeOrExecutableDirective() 181 << getOpenMPDirectiveName(DKind); in ParseOpenMPDeclarativeOrExecutableDirective() [all …]
|
/external/clang/include/clang/Basic/ |
D | OpenMPKinds.h | 74 bool isAllowedClauseForDirective(OpenMPDirectiveKind DKind, 82 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind); 88 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind); 94 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind); 100 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind); 106 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind);
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 69 OpenMPDirectiveKind DKind; member 74 : DKind(OMPD_unknown), CKind(OMPC_unknown), RefExpr(nullptr), in DSAVarData() 97 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy() 100 Directive(DKind), DirectiveName(std::move(Name)), CurScope(CurScope), in SharingMapTy() 124 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument 126 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push() 233 bool isParallelOrTaskRegion(OpenMPDirectiveKind DKind) { in isParallelOrTaskRegion() argument 234 return isOpenMPParallelDirective(DKind) || DKind == OMPD_task || in isParallelOrTaskRegion() 235 isOpenMPTeamsDirective(DKind) || DKind == OMPD_unknown; in isParallelOrTaskRegion() 262 DVar.DKind = Iter->Directive; in getDSA() [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2360 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7434 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);
|