Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DOpenMPKinds.cpp576 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective() argument
577 return getDirectiveAssociation(DKind) == Association::Loop; in isOpenMPLoopDirective()
580 bool clang::isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind) { in isOpenMPWorksharingDirective() argument
581 return DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPWorksharingDirective()
582 DKind == OMPD_sections || DKind == OMPD_section || in isOpenMPWorksharingDirective()
583 DKind == OMPD_single || DKind == OMPD_parallel_for || in isOpenMPWorksharingDirective()
584 DKind == OMPD_parallel_for_simd || DKind == OMPD_parallel_sections || in isOpenMPWorksharingDirective()
585 DKind == OMPD_target_parallel_for || in isOpenMPWorksharingDirective()
586 DKind == OMPD_distribute_parallel_for || in isOpenMPWorksharingDirective()
587 DKind == OMPD_distribute_parallel_for_simd || in isOpenMPWorksharingDirective()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenMPKinds.h244 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind);
250 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind);
256 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind);
262 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind);
269 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind);
277 bool isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind);
285 bool isOpenMPNestingTeamsDirective(OpenMPDirectiveKind DKind);
291 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind);
297 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind);
304 bool isOpenMPDistributeDirective(OpenMPDirectiveKind DKind);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp104 OpenMPDirectiveKindExWrapper DKind = getOpenMPDirectiveKind(S); in getOpenMPDirectiveKindEx() local
105 if (DKind != OMPD_unknown) in getOpenMPDirectiveKindEx()
106 return DKind; in getOpenMPDirectiveKindEx()
198 OpenMPDirectiveKindExWrapper DKind = in parseOpenMPDirectiveKind() local
202 if (DKind == OMPD_unknown) in parseOpenMPDirectiveKind()
206 if (DKind != I[0]) in parseOpenMPDirectiveKind()
219 DKind = I[2]; in parseOpenMPDirectiveKind()
222 return unsigned(DKind) < llvm::omp::Directive_enumSize in parseOpenMPDirectiveKind()
223 ? static_cast<OpenMPDirectiveKind>(DKind) in parseOpenMPDirectiveKind()
1646 void Parser::ParseOpenMPClauses(OpenMPDirectiveKind DKind, in ParseOpenMPClauses() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp62 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
79 OpenMPDirectiveKind DKind = OMPD_unknown; member
87 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
91 : DKind(DKind), CKind(CKind), Modifier(Modifier), RefExpr(RefExpr), in DSAVarData()
229 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
231 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy()
402 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument
409 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push()
1245 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion() argument
1246 return isOpenMPParallelDirective(DKind) || isOpenMPTeamsDirective(DKind); in isImplicitTaskingRegion()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3441 void ParseOpenMPAssumesDirective(OpenMPDirectiveKind DKind,
3452 void ParseOpenMPClauses(OpenMPDirectiveKind DKind,
3466 void skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind);
3530 OpenMPDirectiveKind DKind, SourceLocation Loc,
3540 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
3570 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
3590 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
3618 OMPClause *ParseOpenMPUsesAllocatorClause(OpenMPDirectiveKind DKind);
3650 bool ParseOpenMPVarList(OpenMPDirectiveKind DKind, OpenMPClauseKind Kind,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h1002 OpenMPDirectiveKind DKind,
1037 OpenMPDirectiveKind DKind);
1864 OpenMPDirectiveKind DKind,
1897 OpenMPDirectiveKind DKind) override;
H A DCGOpenMPRuntimeGPU.cpp524 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedSPMDDirective() local
527 if (isOpenMPParallelDirective(DKind)) in hasNestedSPMDDirective()
529 if (DKind == OMPD_teams) { in hasNestedSPMDDirective()
537 DKind = NND->getDirectiveKind(); in hasNestedSPMDDirective()
538 if (isOpenMPParallelDirective(DKind)) in hasNestedSPMDDirective()
544 return isOpenMPParallelDirective(DKind); in hasNestedSPMDDirective()
H A DCGOpenMPRuntime.cpp2618 OpenMPDirectiveKind DKind, in emitForStaticInit() argument
2623 assert((isOpenMPWorksharingDirective(DKind) || (DKind == OMPD_loop)) && in emitForStaticInit()
2626 isOpenMPLoopDirective(DKind) in emitForStaticInit()
2661 OpenMPDirectiveKind DKind) { in emitForStaticFinish() argument
2662 assert((DKind == OMPD_distribute || DKind == OMPD_for || in emitForStaticFinish()
2663 DKind == OMPD_sections) && in emitForStaticFinish()
2670 isOpenMPDistributeDirective(DKind) || in emitForStaticFinish()
2671 (DKind == OMPD_target_teams_loop) in emitForStaticFinish()
2673 : isOpenMPLoopDirective(DKind) in emitForStaticFinish()
2678 if (isOpenMPDistributeDirective(DKind) && in emitForStaticFinish()
[all …]
H A DCGStmtOpenMP.cpp2956 LoopArgs.DKind); in EmitOMPOuterLoop()
3064 OuterLoopArgs.DKind = LoopArgs.DKind; in EmitOMPForOuterLoop()
3129 OuterLoopArgs.DKind = OMPD_distribute; in EmitOMPDistributeOuterLoop()
3509 LoopArguments.DKind = OMPD_for; in EmitOMPWorksharingLoop()
H A DCodeGenFunction.h4040 OpenMPDirectiveKind DKind = llvm::omp::OMPD_unknown;
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h237 OpenMPDirectiveKind DKind,
380 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);