Skip to content

Commit b861ee3

Browse files
author
git apple-llvm automerger
committed
Merge commit '185bc3609075' from apple/master into swift/master-next
2 parents 8ccc996 + 185bc36 commit b861ee3

File tree

48 files changed

+6385
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+6385
-15
lines changed

clang/include/clang-c/Index.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,12 @@ enum CXCursorKind {
25632563
*/
25642564
CXCursor_OMPParallelMasterTaskLoopDirective = 282,
25652565

2566-
CXCursor_LastStmt = CXCursor_OMPParallelMasterTaskLoopDirective,
2566+
/** OpenMP master taskloop simd directive.
2567+
*/
2568+
CXCursor_OMPMasterTaskLoopSimdDirective = 283,
2569+
2570+
2571+
CXCursor_LastStmt = CXCursor_OMPMasterTaskLoopSimdDirective,
25672572

25682573
/**
25692574
* Cursor that represents the translation unit itself.

clang/include/clang/AST/RecursiveASTVisitor.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2799,6 +2799,9 @@ DEF_TRAVERSE_STMT(OMPTaskLoopSimdDirective,
27992799
DEF_TRAVERSE_STMT(OMPMasterTaskLoopDirective,
28002800
{ TRY_TO(TraverseOMPExecutableDirective(S)); })
28012801

2802+
DEF_TRAVERSE_STMT(OMPMasterTaskLoopSimdDirective,
2803+
{ TRY_TO(TraverseOMPExecutableDirective(S)); })
2804+
28022805
DEF_TRAVERSE_STMT(OMPParallelMasterTaskLoopDirective,
28032806
{ TRY_TO(TraverseOMPExecutableDirective(S)); })
28042807

clang/include/clang/AST/StmtOpenMP.h

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,7 @@ class OMPLoopDirective : public OMPExecutableDirective {
11651165
T->getStmtClass() == OMPTaskLoopDirectiveClass ||
11661166
T->getStmtClass() == OMPTaskLoopSimdDirectiveClass ||
11671167
T->getStmtClass() == OMPMasterTaskLoopDirectiveClass ||
1168+
T->getStmtClass() == OMPMasterTaskLoopSimdDirectiveClass ||
11681169
T->getStmtClass() == OMPParallelMasterTaskLoopDirectiveClass ||
11691170
T->getStmtClass() == OMPDistributeDirectiveClass ||
11701171
T->getStmtClass() == OMPTargetParallelForDirectiveClass ||
@@ -3189,6 +3190,73 @@ class OMPMasterTaskLoopDirective : public OMPLoopDirective {
31893190
}
31903191
};
31913192

3193+
/// This represents '#pragma omp master taskloop simd' directive.
3194+
///
3195+
/// \code
3196+
/// #pragma omp master taskloop simd private(a,b) grainsize(val) num_tasks(num)
3197+
/// \endcode
3198+
/// In this example directive '#pragma omp master taskloop simd' has clauses
3199+
/// 'private' with the variables 'a' and 'b', 'grainsize' with expression 'val'
3200+
/// and 'num_tasks' with expression 'num'.
3201+
///
3202+
class OMPMasterTaskLoopSimdDirective : public OMPLoopDirective {
3203+
friend class ASTStmtReader;
3204+
/// Build directive with the given start and end location.
3205+
///
3206+
/// \param StartLoc Starting location of the directive kind.
3207+
/// \param EndLoc Ending location of the directive.
3208+
/// \param CollapsedNum Number of collapsed nested loops.
3209+
/// \param NumClauses Number of clauses.
3210+
///
3211+
OMPMasterTaskLoopSimdDirective(SourceLocation StartLoc, SourceLocation EndLoc,
3212+
unsigned CollapsedNum, unsigned NumClauses)
3213+
: OMPLoopDirective(this, OMPMasterTaskLoopSimdDirectiveClass,
3214+
OMPD_master_taskloop_simd, StartLoc, EndLoc,
3215+
CollapsedNum, NumClauses) {}
3216+
3217+
/// Build an empty directive.
3218+
///
3219+
/// \param CollapsedNum Number of collapsed nested loops.
3220+
/// \param NumClauses Number of clauses.
3221+
///
3222+
explicit OMPMasterTaskLoopSimdDirective(unsigned CollapsedNum,
3223+
unsigned NumClauses)
3224+
: OMPLoopDirective(this, OMPMasterTaskLoopSimdDirectiveClass,
3225+
OMPD_master_taskloop_simd, SourceLocation(),
3226+
SourceLocation(), CollapsedNum, NumClauses) {}
3227+
3228+
public:
3229+
/// Creates directive with a list of \p Clauses.
3230+
///
3231+
/// \param C AST context.
3232+
/// \param StartLoc Starting location of the directive kind.
3233+
/// \param EndLoc Ending Location of the directive.
3234+
/// \param CollapsedNum Number of collapsed loops.
3235+
/// \param Clauses List of clauses.
3236+
/// \param AssociatedStmt Statement, associated with the directive.
3237+
/// \param Exprs Helper expressions for CodeGen.
3238+
///
3239+
static OMPMasterTaskLoopSimdDirective *
3240+
Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
3241+
unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses,
3242+
Stmt *AssociatedStmt, const HelperExprs &Exprs);
3243+
3244+
/// Creates an empty directive with the place for \p NumClauses clauses.
3245+
///
3246+
/// \param C AST context.
3247+
/// \param CollapsedNum Number of collapsed nested loops.
3248+
/// \param NumClauses Number of clauses.
3249+
///
3250+
static OMPMasterTaskLoopSimdDirective *CreateEmpty(const ASTContext &C,
3251+
unsigned NumClauses,
3252+
unsigned CollapsedNum,
3253+
EmptyShell);
3254+
3255+
static bool classof(const Stmt *T) {
3256+
return T->getStmtClass() == OMPMasterTaskLoopSimdDirectiveClass;
3257+
}
3258+
};
3259+
31923260
/// This represents '#pragma omp parallel master taskloop' directive.
31933261
///
31943262
/// \code

clang/include/clang/Basic/OpenMPKinds.def

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
#ifndef OPENMP_MASTER_TASKLOOP_CLAUSE
9696
# define OPENMP_MASTER_TASKLOOP_CLAUSE(Name)
9797
#endif
98+
#ifndef OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE
99+
# define OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(Name)
100+
#endif
98101
#ifndef OPENMP_PARALLEL_MASTER_TASKLOOP_CLAUSE
99102
# define OPENMP_PARALLEL_MASTER_TASKLOOP_CLAUSE(Name)
100103
#endif
@@ -266,6 +269,7 @@ OPENMP_DIRECTIVE(allocate)
266269
OPENMP_DIRECTIVE_EXT(declare_variant, "declare variant")
267270
OPENMP_DIRECTIVE_EXT(master_taskloop, "master taskloop")
268271
OPENMP_DIRECTIVE_EXT(parallel_master_taskloop, "parallel master taskloop")
272+
OPENMP_DIRECTIVE_EXT(master_taskloop_simd, "master taskloop simd")
269273

270274
// OpenMP clauses.
271275
OPENMP_CLAUSE(allocator, OMPAllocatorClause)
@@ -693,6 +697,29 @@ OPENMP_MASTER_TASKLOOP_CLAUSE(reduction)
693697
OPENMP_MASTER_TASKLOOP_CLAUSE(in_reduction)
694698
OPENMP_MASTER_TASKLOOP_CLAUSE(allocate)
695699

700+
// Clauses allowed for OpenMP directive 'master taskloop simd'.
701+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(if)
702+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(shared)
703+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(private)
704+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(firstprivate)
705+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(lastprivate)
706+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(default)
707+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(collapse)
708+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(final)
709+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(untied)
710+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(mergeable)
711+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(priority)
712+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(linear)
713+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(aligned)
714+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(safelen)
715+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(simdlen)
716+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(grainsize)
717+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(nogroup)
718+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(num_tasks)
719+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(reduction)
720+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(in_reduction)
721+
OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(allocate)
722+
696723
// Clauses allowed for OpenMP directive 'parallel master taskloop'.
697724
OPENMP_PARALLEL_MASTER_TASKLOOP_CLAUSE(if)
698725
OPENMP_PARALLEL_MASTER_TASKLOOP_CLAUSE(shared)
@@ -1027,6 +1054,7 @@ OPENMP_MATCH_KIND(implementation)
10271054
#undef OPENMP_DECLARE_MAPPER_CLAUSE
10281055
#undef OPENMP_TASKGROUP_CLAUSE
10291056
#undef OPENMP_PARALLEL_MASTER_TASKLOOP_CLAUSE
1057+
#undef OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE
10301058
#undef OPENMP_MASTER_TASKLOOP_CLAUSE
10311059
#undef OPENMP_TASKLOOP_SIMD_CLAUSE
10321060
#undef OPENMP_TASKLOOP_CLAUSE

clang/include/clang/Basic/OpenMPKinds.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ bool isOpenMPPrivate(OpenMPClauseKind Kind);
269269
bool isOpenMPThreadPrivate(OpenMPClauseKind Kind);
270270

271271
/// Checks if the specified directive kind is one of tasking directives - task,
272-
/// taskloop or taksloop simd.
272+
/// taskloop, taksloop simd, master taskloop, parallel master taskloop or master
273+
/// taskloop simd.
273274
bool isOpenMPTaskingDirective(OpenMPDirectiveKind Kind);
274275

275276
/// Checks if the specified directive kind is one of the composite or combined

clang/include/clang/Basic/StmtNodes.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def OMPCancelDirective : DStmt<OMPExecutableDirective>;
246246
def OMPTaskLoopDirective : DStmt<OMPLoopDirective>;
247247
def OMPTaskLoopSimdDirective : DStmt<OMPLoopDirective>;
248248
def OMPMasterTaskLoopDirective : DStmt<OMPLoopDirective>;
249+
def OMPMasterTaskLoopSimdDirective : DStmt<OMPLoopDirective>;
249250
def OMPParallelMasterTaskLoopDirective : DStmt<OMPLoopDirective>;
250251
def OMPDistributeDirective : DStmt<OMPLoopDirective>;
251252
def OMPDistributeParallelForDirective : DStmt<OMPLoopDirective>;

clang/include/clang/Sema/Sema.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9643,6 +9643,11 @@ class Sema {
96439643
StmtResult ActOnOpenMPMasterTaskLoopDirective(
96449644
ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
96459645
SourceLocation EndLoc, VarsWithInheritedDSAType &VarsWithImplicitDSA);
9646+
/// Called on well-formed '\#pragma omp master taskloop simd' after parsing of
9647+
/// the associated statement.
9648+
StmtResult ActOnOpenMPMasterTaskLoopSimdDirective(
9649+
ArrayRef<OMPClause *> Clauses, Stmt *AStmt, SourceLocation StartLoc,
9650+
SourceLocation EndLoc, VarsWithInheritedDSAType &VarsWithImplicitDSA);
96469651
/// Called on well-formed '\#pragma omp parallel master taskloop' after
96479652
/// parsing of the associated statement.
96489653
StmtResult ActOnOpenMPParallelMasterTaskLoopDirective(

clang/include/clang/Serialization/ASTBitCodes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,6 +1947,7 @@ namespace serialization {
19471947
STMT_OMP_TASKLOOP_DIRECTIVE,
19481948
STMT_OMP_TASKLOOP_SIMD_DIRECTIVE,
19491949
STMT_OMP_MASTER_TASKLOOP_DIRECTIVE,
1950+
STMT_OMP_MASTER_TASKLOOP_SIMD_DIRECTIVE,
19501951
STMT_OMP_PARALLEL_MASTER_TASKLOOP_DIRECTIVE,
19511952
STMT_OMP_DISTRIBUTE_DIRECTIVE,
19521953
STMT_OMP_TARGET_UPDATE_DIRECTIVE,

clang/lib/AST/StmtOpenMP.cpp

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,60 @@ OMPMasterTaskLoopDirective::CreateEmpty(const ASTContext &C,
10731073
return new (Mem) OMPMasterTaskLoopDirective(CollapsedNum, NumClauses);
10741074
}
10751075

1076+
OMPMasterTaskLoopSimdDirective *OMPMasterTaskLoopSimdDirective::Create(
1077+
const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
1078+
unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt,
1079+
const HelperExprs &Exprs) {
1080+
unsigned Size = llvm::alignTo(sizeof(OMPMasterTaskLoopSimdDirective),
1081+
alignof(OMPClause *));
1082+
void *Mem =
1083+
C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() +
1084+
sizeof(Stmt *) *
1085+
numLoopChildren(CollapsedNum, OMPD_master_taskloop_simd));
1086+
auto *Dir = new (Mem) OMPMasterTaskLoopSimdDirective(
1087+
StartLoc, EndLoc, CollapsedNum, Clauses.size());
1088+
Dir->setClauses(Clauses);
1089+
Dir->setAssociatedStmt(AssociatedStmt);
1090+
Dir->setIterationVariable(Exprs.IterationVarRef);
1091+
Dir->setLastIteration(Exprs.LastIteration);
1092+
Dir->setCalcLastIteration(Exprs.CalcLastIteration);
1093+
Dir->setPreCond(Exprs.PreCond);
1094+
Dir->setCond(Exprs.Cond);
1095+
Dir->setInit(Exprs.Init);
1096+
Dir->setInc(Exprs.Inc);
1097+
Dir->setIsLastIterVariable(Exprs.IL);
1098+
Dir->setLowerBoundVariable(Exprs.LB);
1099+
Dir->setUpperBoundVariable(Exprs.UB);
1100+
Dir->setStrideVariable(Exprs.ST);
1101+
Dir->setEnsureUpperBound(Exprs.EUB);
1102+
Dir->setNextLowerBound(Exprs.NLB);
1103+
Dir->setNextUpperBound(Exprs.NUB);
1104+
Dir->setNumIterations(Exprs.NumIterations);
1105+
Dir->setCounters(Exprs.Counters);
1106+
Dir->setPrivateCounters(Exprs.PrivateCounters);
1107+
Dir->setInits(Exprs.Inits);
1108+
Dir->setUpdates(Exprs.Updates);
1109+
Dir->setFinals(Exprs.Finals);
1110+
Dir->setDependentCounters(Exprs.DependentCounters);
1111+
Dir->setDependentInits(Exprs.DependentInits);
1112+
Dir->setFinalsConditions(Exprs.FinalsConditions);
1113+
Dir->setPreInits(Exprs.PreInits);
1114+
return Dir;
1115+
}
1116+
1117+
OMPMasterTaskLoopSimdDirective *
1118+
OMPMasterTaskLoopSimdDirective::CreateEmpty(const ASTContext &C,
1119+
unsigned NumClauses,
1120+
unsigned CollapsedNum, EmptyShell) {
1121+
unsigned Size = llvm::alignTo(sizeof(OMPMasterTaskLoopSimdDirective),
1122+
alignof(OMPClause *));
1123+
void *Mem =
1124+
C.Allocate(Size + sizeof(OMPClause *) * NumClauses +
1125+
sizeof(Stmt *) *
1126+
numLoopChildren(CollapsedNum, OMPD_master_taskloop_simd));
1127+
return new (Mem) OMPMasterTaskLoopSimdDirective(CollapsedNum, NumClauses);
1128+
}
1129+
10761130
OMPParallelMasterTaskLoopDirective *OMPParallelMasterTaskLoopDirective::Create(
10771131
const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
10781132
unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt,

clang/lib/AST/StmtPrinter.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,12 @@ void StmtPrinter::VisitOMPMasterTaskLoopDirective(
829829
PrintOMPExecutableDirective(Node);
830830
}
831831

832+
void StmtPrinter::VisitOMPMasterTaskLoopSimdDirective(
833+
OMPMasterTaskLoopSimdDirective *Node) {
834+
Indent() << "#pragma omp master taskloop simd";
835+
PrintOMPExecutableDirective(Node);
836+
}
837+
832838
void StmtPrinter::VisitOMPParallelMasterTaskLoopDirective(
833839
OMPParallelMasterTaskLoopDirective *Node) {
834840
Indent() << "#pragma omp parallel master taskloop";

clang/lib/AST/StmtProfile.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,11 @@ void StmtProfiler::VisitOMPMasterTaskLoopDirective(
927927
VisitOMPLoopDirective(S);
928928
}
929929

930+
void StmtProfiler::VisitOMPMasterTaskLoopSimdDirective(
931+
const OMPMasterTaskLoopSimdDirective *S) {
932+
VisitOMPLoopDirective(S);
933+
}
934+
930935
void StmtProfiler::VisitOMPParallelMasterTaskLoopDirective(
931936
const OMPParallelMasterTaskLoopDirective *S) {
932937
VisitOMPLoopDirective(S);

clang/lib/Basic/OpenMPKinds.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,16 @@ bool clang::isAllowedClauseForDirective(OpenMPDirectiveKind DKind,
656656
#define OPENMP_MASTER_TASKLOOP_CLAUSE(Name) \
657657
case OMPC_##Name: \
658658
return true;
659+
#include "clang/Basic/OpenMPKinds.def"
660+
default:
661+
break;
662+
}
663+
break;
664+
case OMPD_master_taskloop_simd:
665+
switch (CKind) {
666+
#define OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(Name) \
667+
case OMPC_##Name: \
668+
return true;
659669
#include "clang/Basic/OpenMPKinds.def"
660670
default:
661671
break;
@@ -892,7 +902,7 @@ bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) {
892902
return DKind == OMPD_simd || DKind == OMPD_for || DKind == OMPD_for_simd ||
893903
DKind == OMPD_parallel_for || DKind == OMPD_parallel_for_simd ||
894904
DKind == OMPD_taskloop || DKind == OMPD_taskloop_simd ||
895-
DKind == OMPD_master_taskloop ||
905+
DKind == OMPD_master_taskloop || DKind == OMPD_master_taskloop_simd ||
896906
DKind == OMPD_parallel_master_taskloop || DKind == OMPD_distribute ||
897907
DKind == OMPD_target_parallel_for ||
898908
DKind == OMPD_distribute_parallel_for ||
@@ -926,7 +936,7 @@ bool clang::isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind) {
926936

927937
bool clang::isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind) {
928938
return DKind == OMPD_taskloop || DKind == OMPD_taskloop_simd ||
929-
DKind == OMPD_master_taskloop ||
939+
DKind == OMPD_master_taskloop || DKind == OMPD_master_taskloop_simd ||
930940
DKind == OMPD_parallel_master_taskloop;
931941
}
932942

@@ -977,6 +987,7 @@ bool clang::isOpenMPTeamsDirective(OpenMPDirectiveKind DKind) {
977987
bool clang::isOpenMPSimdDirective(OpenMPDirectiveKind DKind) {
978988
return DKind == OMPD_simd || DKind == OMPD_for_simd ||
979989
DKind == OMPD_parallel_for_simd || DKind == OMPD_taskloop_simd ||
990+
DKind == OMPD_master_taskloop_simd ||
980991
DKind == OMPD_distribute_parallel_for_simd ||
981992
DKind == OMPD_distribute_simd || DKind == OMPD_target_simd ||
982993
DKind == OMPD_teams_distribute_simd ||
@@ -1079,6 +1090,7 @@ void clang::getOpenMPCaptureRegions(
10791090
case OMPD_taskloop:
10801091
case OMPD_taskloop_simd:
10811092
case OMPD_master_taskloop:
1093+
case OMPD_master_taskloop_simd:
10821094
CaptureRegions.push_back(OMPD_taskloop);
10831095
break;
10841096
case OMPD_parallel_master_taskloop:

clang/lib/CodeGen/CGOpenMPRuntime.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6706,6 +6706,7 @@ emitNumTeamsForTargetDirective(CodeGenFunction &CGF,
67066706
case OMPD_taskloop:
67076707
case OMPD_taskloop_simd:
67086708
case OMPD_master_taskloop:
6709+
case OMPD_master_taskloop_simd:
67096710
case OMPD_parallel_master_taskloop:
67106711
case OMPD_requires:
67116712
case OMPD_unknown:
@@ -7014,6 +7015,7 @@ emitNumThreadsForTargetDirective(CodeGenFunction &CGF,
70147015
case OMPD_taskloop:
70157016
case OMPD_taskloop_simd:
70167017
case OMPD_master_taskloop:
7018+
case OMPD_master_taskloop_simd:
70177019
case OMPD_parallel_master_taskloop:
70187020
case OMPD_requires:
70197021
case OMPD_unknown:
@@ -8787,6 +8789,7 @@ getNestedDistributeDirective(ASTContext &Ctx, const OMPExecutableDirective &D) {
87878789
case OMPD_taskloop:
87888790
case OMPD_taskloop_simd:
87898791
case OMPD_master_taskloop:
8792+
case OMPD_master_taskloop_simd:
87908793
case OMPD_parallel_master_taskloop:
87918794
case OMPD_requires:
87928795
case OMPD_unknown:
@@ -9546,6 +9549,7 @@ void CGOpenMPRuntime::scanForTargetRegionsFunctions(const Stmt *S,
95469549
case OMPD_taskloop:
95479550
case OMPD_taskloop_simd:
95489551
case OMPD_master_taskloop:
9552+
case OMPD_master_taskloop_simd:
95499553
case OMPD_parallel_master_taskloop:
95509554
case OMPD_requires:
95519555
case OMPD_unknown:
@@ -10163,6 +10167,7 @@ void CGOpenMPRuntime::emitTargetDataStandAloneCall(
1016310167
case OMPD_taskloop:
1016410168
case OMPD_taskloop_simd:
1016510169
case OMPD_master_taskloop:
10170+
case OMPD_master_taskloop_simd:
1016610171
case OMPD_parallel_master_taskloop:
1016710172
case OMPD_target:
1016810173
case OMPD_target_simd:

0 commit comments

Comments
 (0)