Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DOpenMPKinds.cpp436 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective() argument
437 return DKind == OMPD_simd || DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPLoopDirective()
438 DKind == OMPD_parallel_for || DKind == OMPD_parallel_for_simd || in isOpenMPLoopDirective()
439 DKind == OMPD_taskloop || DKind == OMPD_taskloop_simd || in isOpenMPLoopDirective()
440 DKind == OMPD_master_taskloop || DKind == OMPD_master_taskloop_simd || in isOpenMPLoopDirective()
441 DKind == OMPD_parallel_master_taskloop || in isOpenMPLoopDirective()
442 DKind == OMPD_parallel_master_taskloop_simd || in isOpenMPLoopDirective()
443 DKind == OMPD_distribute || DKind == OMPD_target_parallel_for || in isOpenMPLoopDirective()
444 DKind == OMPD_distribute_parallel_for || in isOpenMPLoopDirective()
445 DKind == OMPD_distribute_parallel_for_simd || in isOpenMPLoopDirective()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DOpenMPKinds.h178 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind);
184 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind);
190 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind);
196 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind);
203 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind);
211 bool isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind);
219 bool isOpenMPNestingTeamsDirective(OpenMPDirectiveKind DKind);
225 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind);
231 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind);
238 bool isOpenMPDistributeDirective(OpenMPDirectiveKind DKind);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseOpenMP.cpp99 OpenMPDirectiveKindExWrapper DKind = getOpenMPDirectiveKind(S); in getOpenMPDirectiveKindEx() local
100 if (DKind != OMPD_unknown) in getOpenMPDirectiveKindEx()
101 return DKind; in getOpenMPDirectiveKindEx()
183 OpenMPDirectiveKindExWrapper DKind = in parseOpenMPDirectiveKind() local
187 if (DKind == OMPD_unknown) in parseOpenMPDirectiveKind()
191 if (DKind != F[I][0]) in parseOpenMPDirectiveKind()
204 DKind = F[I][2]; in parseOpenMPDirectiveKind()
207 return unsigned(DKind) < llvm::omp::Directive_enumSize in parseOpenMPDirectiveKind()
208 ? static_cast<OpenMPDirectiveKind>(DKind) in parseOpenMPDirectiveKind()
1533 void Parser::ParseOpenMPAssumesDirective(OpenMPDirectiveKind DKind, in ParseOpenMPAssumesDirective() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp52 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
68 OpenMPDirectiveKind DKind = OMPD_unknown; member
76 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
80 : DKind(DKind), CKind(CKind), Modifier(Modifier), RefExpr(RefExpr), in DSAVarData()
196 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
198 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy()
369 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument
376 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push()
1099 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion() argument
1100 return isOpenMPParallelDirective(DKind) || isOpenMPTeamsDirective(DKind); in isImplicitTaskingRegion()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp634 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedSPMDDirective() local
637 if (isOpenMPParallelDirective(DKind)) in hasNestedSPMDDirective()
639 if (DKind == OMPD_teams) { in hasNestedSPMDDirective()
647 DKind = NND->getDirectiveKind(); in hasNestedSPMDDirective()
648 if (isOpenMPParallelDirective(DKind)) in hasNestedSPMDDirective()
654 return isOpenMPParallelDirective(DKind); in hasNestedSPMDDirective()
832 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedLightweightDirective() local
835 if (isOpenMPParallelDirective(DKind) && in hasNestedLightweightDirective()
836 isOpenMPWorksharingDirective(DKind) && isOpenMPLoopDirective(DKind) && in hasNestedLightweightDirective()
839 if (DKind == OMPD_teams_distribute_simd || DKind == OMPD_simd) in hasNestedLightweightDirective()
[all …]
H A DCGOpenMPRuntime.h1182 OpenMPDirectiveKind DKind,
1217 OpenMPDirectiveKind DKind);
2081 OpenMPDirectiveKind DKind,
2114 OpenMPDirectiveKind DKind) override;
H A DCGOpenMPRuntime.cpp2811 OpenMPDirectiveKind DKind, in emitForStaticInit() argument
2816 assert(isOpenMPWorksharingDirective(DKind) && in emitForStaticInit()
2819 isOpenMPLoopDirective(DKind) in emitForStaticInit()
2848 OpenMPDirectiveKind DKind) { in emitForStaticFinish() argument
2854 isOpenMPDistributeDirective(DKind) in emitForStaticFinish()
2856 : isOpenMPLoopDirective(DKind) in emitForStaticFinish()
9553 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in getNestedDistributeDirective() local
9556 if (isOpenMPDistributeDirective(DKind)) in getNestedDistributeDirective()
9558 if (DKind == OMPD_teams) { in getNestedDistributeDirective()
9566 DKind = NND->getDirectiveKind(); in getNestedDistributeDirective()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h3181 void ParseOpenMPAssumesDirective(OpenMPDirectiveKind DKind,
3197 void skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind);
3256 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
3281 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
3301 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
3312 OMPClause *ParseOpenMPUsesAllocatorClause(OpenMPDirectiveKind DKind);
3350 bool ParseOpenMPVarList(OpenMPDirectiveKind DKind, OpenMPClauseKind Kind,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h10365 OpenMPDirectiveKind DKind,
10470 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);