| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | OpenMPKinds.cpp | 610 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective() argument 611 return getDirectiveAssociation(DKind) == Association::Loop; in isOpenMPLoopDirective() 614 bool clang::isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind) { in isOpenMPWorksharingDirective() argument 615 return DKind == OMPD_for || DKind == OMPD_for_simd || in isOpenMPWorksharingDirective() 616 DKind == OMPD_sections || DKind == OMPD_section || in isOpenMPWorksharingDirective() 617 DKind == OMPD_single || DKind == OMPD_parallel_for || in isOpenMPWorksharingDirective() 618 DKind == OMPD_parallel_for_simd || DKind == OMPD_parallel_sections || in isOpenMPWorksharingDirective() 619 DKind == OMPD_target_parallel_for || in isOpenMPWorksharingDirective() 620 DKind == OMPD_distribute_parallel_for || in isOpenMPWorksharingDirective() 621 DKind == OMPD_distribute_parallel_for_simd || in isOpenMPWorksharingDirective() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OpenMPKinds.h | 269 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind); 275 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind); 281 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind); 287 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind); 294 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind); 302 bool isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind); 310 bool isOpenMPNestingTeamsDirective(OpenMPDirectiveKind DKind); 316 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind); 322 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind); 329 bool isOpenMPDistributeDirective(OpenMPDirectiveKind DKind); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseOpenMP.cpp | 91 OpenMPDirectiveKind DKind = S->Value; in parseOpenMPDirectiveKind() local 97 return checkOpenMPDirectiveName(P, Loc, DKind, Concat); in parseOpenMPDirectiveKind() 1592 void Parser::ParseOpenMPClauses(OpenMPDirectiveKind DKind, in ParseOpenMPClauses() argument 1602 ParseOpenMPClause(DKind, CKind, !SeenClauses[unsigned(CKind)]); in ParseOpenMPClauses() 1619 void Parser::ParseOpenMPAssumesDirective(OpenMPDirectiveKind DKind, in ParseOpenMPAssumesDirective() argument 1665 << llvm::omp::getOpenMPDirectiveName(DKind, OMPVersion) in ParseOpenMPAssumesDirective() 1697 Actions.OpenMP().ActOnOpenMPAssumesDirective(Loc, DKind, Assumptions, in ParseOpenMPAssumesDirective() 1907 void Parser::skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind) { in skipUntilPragmaOpenMPEnd() argument 1915 << getOpenMPDirectiveName(DKind, OMPVersion); in skipUntilPragmaOpenMPEnd() 1965 OpenMPDirectiveKind DKind; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 61 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose); 80 OpenMPDirectiveKind DKind = OMPD_unknown; member 88 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData() 92 : DKind(DKind), CKind(CKind), Modifier(Modifier), RefExpr(RefExpr), in DSAVarData() 226 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy() 228 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 399 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument 406 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push() 1225 bool isImplicitTaskingRegion(OpenMPDirectiveKind DKind) { in isImplicitTaskingRegion() argument 1226 return isOpenMPParallelDirective(DKind) || isOpenMPTeamsDirective(DKind); in isImplicitTaskingRegion() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 6405 void ParseOpenMPAssumesDirective(OpenMPDirectiveKind DKind, 6426 void ParseOpenMPClauses(OpenMPDirectiveKind DKind, 6440 void skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind); 6607 OpenMPDirectiveKind DKind, SourceLocation Loc, 6618 ParsedStmtContext StmtCtx, OpenMPDirectiveKind DKind, SourceLocation Loc, 6648 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind, 6758 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind, 6870 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind, 6903 OMPClause *ParseOpenMPUsesAllocatorClause(OpenMPDirectiveKind DKind); 6958 bool ParseOpenMPVarList(OpenMPDirectiveKind DKind, OpenMPClauseKind Kind,
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 984 OpenMPDirectiveKind DKind, 1019 OpenMPDirectiveKind DKind); 1858 OpenMPDirectiveKind DKind, 1891 OpenMPDirectiveKind DKind) override;
|
| H A D | CGOpenMPRuntimeGPU.cpp | 524 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 D | CGOpenMPRuntime.cpp | 2596 OpenMPDirectiveKind DKind, in emitForStaticInit() argument 2601 assert((isOpenMPWorksharingDirective(DKind) || (DKind == OMPD_loop)) && in emitForStaticInit() 2604 isOpenMPLoopDirective(DKind) in emitForStaticInit() 2638 OpenMPDirectiveKind DKind) { in emitForStaticFinish() argument 2639 assert((DKind == OMPD_distribute || DKind == OMPD_for || in emitForStaticFinish() 2640 DKind == OMPD_sections) && in emitForStaticFinish() 2647 isOpenMPDistributeDirective(DKind) || in emitForStaticFinish() 2648 (DKind == OMPD_target_teams_loop) in emitForStaticFinish() 2650 : isOpenMPLoopDirective(DKind) in emitForStaticFinish() 2655 if (isOpenMPDistributeDirective(DKind) && in emitForStaticFinish() [all …]
|
| H A D | CGStmtOpenMP.cpp | 2671 OpenMPDirectiveKind DKind = S.getDirectiveKind(); in emitOMPSimdRegion() local 2672 if (isOpenMPDistributeDirective(DKind) || in emitOMPSimdRegion() 2673 isOpenMPWorksharingDirective(DKind) || isOpenMPTaskLoopDirective(DKind) || in emitOMPSimdRegion() 2674 isOpenMPGenericLoopDirective(DKind)) { in emitOMPSimdRegion() 3099 LoopArgs.DKind); in EmitOMPOuterLoop() 3208 OuterLoopArgs.DKind = LoopArgs.DKind; in EmitOMPForOuterLoop() 3274 OuterLoopArgs.DKind = OMPD_distribute; in EmitOMPDistributeOuterLoop() 3651 LoopArguments.DKind = OMPD_for; in EmitOMPWorksharingLoop()
|
| H A D | CodeGenFunction.h | 4086 OpenMPDirectiveKind DKind = llvm::omp::OMPD_unknown;
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenMP.h | 238 OpenMPDirectiveKind DKind, 381 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);
|