Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Basic/
H A DOpenMPKinds.cpp481 return DKind == OMPD_simd || DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPLoopDirective()
483 DKind == OMPD_taskloop || DKind == OMPD_taskloop_simd || in isOpenMPLoopDirective()
503 DKind == OMPD_unroll || DKind == OMPD_loop || in isOpenMPLoopDirective()
509 return DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPWorksharingDirective()
510 DKind == OMPD_sections || DKind == OMPD_section || in isOpenMPWorksharingDirective()
511 DKind == OMPD_single || DKind == OMPD_parallel_for || in isOpenMPWorksharingDirective()
524 return DKind == OMPD_taskloop || DKind == OMPD_taskloop_simd || in isOpenMPTaskLoopDirective()
534 return DKind == OMPD_parallel || DKind == OMPD_parallel_for || in isOpenMPParallelDirective()
553 return DKind == OMPD_target || DKind == OMPD_target_parallel || in isOpenMPTargetExecutionDirective()
586 return DKind == OMPD_simd || DKind == OMPD_for_simd || in isOpenMPSimdDirective()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenMPKinds.h193 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind);
199 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind);
205 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind);
211 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind);
218 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind);
234 bool isOpenMPNestingTeamsDirective(OpenMPDirectiveKind DKind);
240 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind);
246 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind);
253 bool isOpenMPDistributeDirective(OpenMPDirectiveKind DKind);
268 bool isOpenMPGenericLoopDirective(OpenMPDirectiveKind DKind);
[all …]
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp101 if (DKind != OMPD_unknown) in getOpenMPDirectiveKindEx()
102 return DKind; in getOpenMPDirectiveKindEx()
198 if (DKind == OMPD_unknown) in parseOpenMPDirectiveKind()
202 if (DKind != F[I][0]) in parseOpenMPDirectiveKind()
215 DKind = F[I][2]; in parseOpenMPDirectiveKind()
2052 if (DKind == OMPD_declare_reduction || DKind == OMPD_declare_mapper) { in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2080 switch (DKind) { in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2505 switch (DKind) { in ParseOpenMPDeclarativeOrExecutableDirective()
2825 if (DKind == OMPD_flush || DKind == OMPD_depobj) { in ParseOpenMPDeclarativeOrExecutableDirective()
2844 } else if (DKind == OMPD_cancellation_point || DKind == OMPD_cancel) { in ParseOpenMPDeclarativeOrExecutableDirective()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp581 if (DKind == OMPD_teams) { in hasNestedSPMDDirective()
589 DKind = NND->getDirectiveKind(); in hasNestedSPMDDirective()
778 isOpenMPWorksharingDirective(DKind) && isOpenMPLoopDirective(DKind) && in hasNestedLightweightDirective()
781 if (DKind == OMPD_teams_distribute_simd || DKind == OMPD_simd) in hasNestedLightweightDirective()
783 if (DKind == OMPD_parallel) { in hasNestedLightweightDirective()
796 } else if (DKind == OMPD_teams) { in hasNestedLightweightDirective()
809 if (DKind == OMPD_parallel) { in hasNestedLightweightDirective()
828 isOpenMPWorksharingDirective(DKind) && isOpenMPLoopDirective(DKind) && in hasNestedLightweightDirective()
831 if (DKind == OMPD_distribute_simd || DKind == OMPD_simd) in hasNestedLightweightDirective()
833 if (DKind == OMPD_parallel) { in hasNestedLightweightDirective()
[all …]
H A DCGOpenMPRuntime.h1208 OpenMPDirectiveKind DKind,
1243 OpenMPDirectiveKind DKind);
2105 OpenMPDirectiveKind DKind,
2138 OpenMPDirectiveKind DKind) override;
H A DCGOpenMPRuntime.cpp2783 OpenMPDirectiveKind DKind, in emitForStaticInit() argument
2788 assert(isOpenMPWorksharingDirective(DKind) && in emitForStaticInit()
2825 OpenMPDirectiveKind DKind) { in emitForStaticFinish() argument
2831 isOpenMPDistributeDirective(DKind) in emitForStaticFinish()
2833 : isOpenMPLoopDirective(DKind) in emitForStaticFinish()
9734 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in getNestedDistributeDirective() local
9737 if (isOpenMPDistributeDirective(DKind)) in getNestedDistributeDirective()
9739 if (DKind == OMPD_teams) { in getNestedDistributeDirective()
9747 DKind = NND->getDirectiveKind(); in getNestedDistributeDirective()
9748 if (isOpenMPDistributeDirective(DKind)) in getNestedDistributeDirective()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp83 : DKind(DKind), CKind(CKind), Modifier(Modifier), RefExpr(RefExpr), in DSAVarData()
4117 switch (DKind) { in ActOnOpenMPRegionStart()
4653 : S(S), ErrorFound(ErrorFound), DKind(DKind) {} in CaptureRegionUnwinderRAII()
15165 switch (DKind) { in getOpenMPCaptureRegionForClause()
15335 switch (DKind) { in getOpenMPCaptureRegionForClause()
15428 switch (DKind) { in getOpenMPCaptureRegionForClause()
15519 switch (DKind) { in getOpenMPCaptureRegionForClause()
15610 switch (DKind) { in getOpenMPCaptureRegionForClause()
15701 switch (DKind) { in getOpenMPCaptureRegionForClause()
15792 switch (DKind) { in getOpenMPCaptureRegionForClause()
[all …]
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h3195 void ParseOpenMPAssumesDirective(OpenMPDirectiveKind DKind,
3211 void skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind);
3272 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
3302 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
3322 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
3333 OMPClause *ParseOpenMPUsesAllocatorClause(OpenMPDirectiveKind DKind);
3355 bool ParseOpenMPVarList(OpenMPDirectiveKind DKind, OpenMPClauseKind Kind,
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h10840 OpenMPDirectiveKind DKind,
10953 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);